DocuMind MCP
Allows searching and retrieving content from Confluence documentation as a knowledge source for the RAG server.
Allows syncing documents from Git repositories as a knowledge source for the RAG server.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@DocuMind MCPsearch documentation for the 401k matching policy"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
DocuMind MCP — Internal Docs RAG Server
DocuMind MCP is a citation-grounded RAG (Retrieval-Augmented Generation) system built natively on the Model Context Protocol (MCP). It exposes your organization's internal knowledge base (engineering runbooks, HR policies, onboarding documentation) directly to any MCP client (Claude Desktop, Claude Code, custom Slack agents) with zero custom integration code.
1. Problem Definition (The Value Proposition)
Before MCP, connecting AI tools to internal data sources suffered from the N×M integration problem: If you have N AI clients (Claude Desktop, internal CLI, Slack bots) and M data sources (Confluence, local markdown, policy wikis), you must write and maintain N×M bespoke integrations. Every client ends up implementing its own authentication, document parsing, retrieval logic, and citation rendering.
With DocuMind MCP:
The knowledge base is exposed once as a unified MCP Server.
Every MCP-speaking client gets access for free, with zero additional integration code.
The server owns retrieval quality, grounding thresholds, and citation metadata exactly once.
Protocol Philosophy: Retrieval as a Primitive, Not a Black Box
Unlike typical "MCP wrappers" that expose a single opaque ask_question tool containing a hidden LLM call, DocuMind MCP exposes retrieval and structured context as primitives:
Tools:
search_docsperforms semantic vector searches and returns structured, similarity-thresholded context snippets with source details.Resources:
docs://cataloganddocs://document/{doc_id}/{section}expose browsable, addressable sections of documents. This separation leaves the final reasoning and citation synthesis to the calling client's LLM—preserving the reasoning transparency that MCP is built for.
Related MCP server: mcp-rag-server
2. Complete System Architecture
┌───────────────────┐ ┌───────────────────┐ ┌───────────────────┐
│ Claude Desktop │ │ Claude Code │ │ Custom Agent │
└─────────┬─────────┘ └─────────┬─────────┘ └─────────┬─────────┘
│ │ │
│ MCP over HTTP (+ SSE handshake), all clients hit same protocol
└──────────────────────┼──────────────────────┘
│
┌───────────▼───────────┐
│ Auth Middleware │
│ - API key validation │
│ - Rate limiting │
└───────────┬───────────┘
│
┌───────────▼───────────┐
│ MCP Server Core │
│ (Tools & Resources) │
└─────────┬───────┬─────┘
│ │
┌─────────────────▼─┐ ┌─▼─────────────────┐
│ Tools: │ │ Resources: │
│ - search_docs │ │ - docs://catalog │
│ - get_doc │ │ - docs://document │
└─────────────────┬─┘ └─┬─────────────────┘
│ │
┌────────────▼───────▼─────┐
│ RAG Retrieval Core │
│ - Local Embeddings │
│ - Similarity filter │
└────────────┬─────────────b
│
┌────────▼────────┐
│ Vector DB │
│ (Qdrant) │
└─────────────────┘3. Data Schema & Models
SQLite (Metadata, Logs & Auth)
api_clients: Stores client credentials (never raw API keys, only SHA-256 hashes), rate limits, and revocation states.documents: Tracks document metadata, connector sources (filesystem,confluence,git), andlast_synced_attimestamps.mcp_request_log: Structured audit log detailing client requests, latency, endpoints called, and summary stats.
Qdrant (document_chunks collection)
Vector: 384 dimensions (
BAAI/bge-small-en-v1.5dense model).Payload:
chunk_id(deterministic UUIDv5),doc_id,doc_title,section,text,source_connector.
4. Getting Started
Local Setup
Initialize virtual environment & install requirements:
python -m venv .venv .venv\Scripts\activate # Windows source .venv/bin/activate # Unix pip install -r requirements.txtRun Server:
python -m uvicorn app.main:app --port 8000On first run, the server automatically initializes SQLite and seeds the in-memory Qdrant instance with sample Confluence documentation. It will print a newly generated default API Key to the console.
Docker Deployment
docker compose up --buildThis spins up both the FastAPI MCP Server and a persistent Qdrant instance running on local port 6333.
5. Integrating with Claude Desktop / Claude Code
To add this server to your Claude client, configure the SSE transport by pointing to the server endpoint with the generated API key:
claude_desktop_config.json
{
"mcpServers": {
"documind-rag": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/inspector",
"http://localhost:8000/mcp/sse?api_key=YOUR_GENERATED_KEY"
]
}
}
}6. Verification and Testing
Unit Tests
To run all tests (authentication, rate-limiting, and retrieval filtering):
python -m pytestSelf-Contained Handshake Test
Run the client script to simulate a complete protocol-level SSE handshake and JSON-RPC query cycle:
python tests/test_client.pyThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseCqualityDmaintenanceA Model Context Protocol server that provides Retrieval-Augmented Generation capabilities using Contextual AI, enabling AI interfaces like Cursor IDE and Claude Desktop to query domain-specific knowledge with context-aware responses and source citations.Last updated121
- Alicense-qualityDmaintenanceAn MCP server that indexes documents and serves relevant context to LLMs via Retrieval Augmented Generation (RAG).Last updated3436MIT
- Alicense-qualityAmaintenanceA RAG knowledge base server that enables AI agents to search, retrieve, and manage technical documentation through the Model Context Protocol.Last updated7GPL 3.0
- Flicense-qualityDmaintenanceA local RAG server using the Model Context Protocol (MCP) to allow AI assistants to query private documents with persistent memory and support for many file formats.Last updated1
Related MCP Connectors
Local-first RAG engine with MCP server for AI agent integration.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pragati243/DocuMind-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server