Atlas / MCP servers / rahulretnan / Ragdocs

RagdocsSAFE

mcp/rahulretnan/ragdocs-3
Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
14 6r · 5w · 3d
Transport
stdio
License
NOASSERTION
Stars
64
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://smithery.ai/server/@rahulretnan/mcp-ragdocs)

An MCP server implementation that provides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context.

Table of Contents

  • Features
  • Quick Start
  • Docker Compose Setup
  • Web Interface
  • Configuration
  • Cline Configuration
  • Claude Desktop Configuration
  • Acknowledgments
  • Troubleshooting

Features

Tools

  1. search_documentation
  • Search through the documentation using vector search
  • Returns relevant chunks of documentation with source information
  1. list_sources
  • List all available documentation sources
  • Provides metadata about each source
  1. extract_urls
  • Extract URLs from text and check if they're already in the documentation
  • Useful for preventing duplicate documentation
  1. remove_documentation
  • Remove documentation from a specific source
  • Cleans up outdated or irrelevant documentation
  1. list_queue
  • List all items in the processing queue
  • Shows status of pending documentation processing
  1. run_queue
  • Process all items in the queue
  • Automatically adds new documentation to the vector store
  1. clear_queue
  • Clear all items from the processing queue
  • Useful for resetting the system
  1. add_documentation
  2. Add new documentation directly to the system by providing a URL
  3. Automatically fetches, processes, and indexes the content
  4. Supports various web page formats and extracts relevant content
  5. Chunks content intelligently for optimal retrieval
  6. Required parameter: url (must include protocol, e.g.,
Read from source at commit 2cfd305d7880OBSERVED · 2026-10-07
Advertisement
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add mcp-ragdocs --env OPENAI_API_KEY=${OPENAI_API_KEY} --env QDRANT_API_KEY=${QDRANT_API_KEY} -- npx -y @rahulretnan/[email protected]
claude-desktop
{
  "mcpServers": {
    "mcp-ragdocs": {
      "command": "npx",
      "args": [
        "-y",
        "@rahulretnan/[email protected]"
      ],
      "env": {
        "OPENAI_API_KEY": "${OPENAI_API_KEY}",
        "QDRANT_API_KEY": "${QDRANT_API_KEY}"
      }
    }
  }
}
03

Exposed tools (14)

6 read · 5 write · 3 destructive. Blast radius: 3 tools can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
add_documentationwriteAdd new documentation to the system by providing a URL. The tool will fetch the content, process it into chunks, and store it in the vector database for future searches. Supports various web page formats and automatically extracts relevant content.
add_repositorywriteAdd a local code repository to the documentation system. This tool indexes all files in the repository according to the specified configuration, processes them into searchable chunks, and stores them in the vector database for future searches.
clear_queuedestructiveClear all URLs from the queue
extract_urlsreadExtract all URLs from a given web page
get_indexing_statusreadGet the current status of repository indexing operations. This tool provides detailed information about ongoing or completed indexing processes, including progress percentage, file counts, and timing information.
list_queuereadList all URLs currently in the documentation processing queue
list_repositoriesreadList all local repositories currently indexed in the system. Returns details about each repository including path, include/exclude patterns, and watch mode status.
list_sourcesreadList all documentation sources currently stored in the system. Returns a comprehensive list of all indexed documentation including source URLs, titles, and last update times. Use this to understand what documentation is available for searching or to verify if specific sources have been indexed.
remove_documentationdestructiveRemove one or more documentation sources by their URLs
remove_repositorydestructiveRemove a repository from the system by its name. This removes both the repository configuration and all indexed documents from the vector database.
run_queuewriteProcess URLs from the queue one at a time until complete
search_documentationreadSearch through stored documentation using natural language queries. Use this tool to find relevant information across all stored documentation sources. Returns matching excerpts with context, ranked by relevance. Useful for finding specific information, code examples, or related documentation.
update_repositorywriteUpdate an existing repository index. This re-processes all files in the repository according to the current configuration and updates the vector database.
watch_repositorywriteStart or stop watching a repository for changes. When watching is enabled, the system automatically detects file changes and updates the index accordingly.
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
declared (5 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (3)

MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
clear_queue, remove_documentation, remove_repository
Why it matters. 3 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
src/utils/repository-watcher.ts:164
return crypto.createHash('md5').update(content).digest('hex');
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
axios, cors, express, file-type, glob, net, ollama, @types/cors
Why it matters. 12 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha 2cfd305d7880full audit observations/trust-audit/mcp-server/rahulretnan__ragdocs-3.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-072cfd305d7880SAFEB89first audit
06

Questions

What tools does Ragdocs expose?

14 in total: 6 read-only, 5 that write, and 3 that can delete or overwrite (clear_queue, remove_documentation, remove_repository). Every one is listed on this page with its risk.

Is Ragdocs safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 3 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does Ragdocs need?

It reads OPENAI_API_KEY and QDRANT_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Ragdocs run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as @rahulretnan/mcp-ragdocs at 1.0.0.

How current is this page?

The grade is for one exact copy of the source (2cfd305d7880), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement