This directory contains configuration examples for integrating the Docs RAG MCP server with various MCP clients.
For most MCP clients, use this simple JSON configuration:
{
"mcpServers": {
"docs-rag": {
"command": "npx",
"args": ["-y", "docs-rag-mcp"],
"cwd": "/path/to/docs-rag"
}
}
}
⚠️ Important:
"mcpServers": (plural), not "mcp":"type": "stdio" (not needed for this implementation)/path/to/docs-rag with absolute path to your docs-rag projectnpm run build)Optional (add to env section if needed):
{
"mcpServers": {
"docs-rag": {
"command": "npx",
"args": ["-y", "docs-rag-mcp"],
"cwd": "/path/to/docs-rag",
"env": {
"QDRANT_URL": "http://localhost:6333",
"OLLAMA_URL": "http://localhost:11434",
"OLLAMA_EMBEDDING_MODEL": "nomic-embed-text"
}
}
}
}
Add to your claude_desktop_config.json:
{
"mcpServers": {
"docs-rag": {
"command": "npx",
"args": ["-y", "docs-rag-mcp"],
"cwd": "/path/to/docs-rag",
"env": {
"QDRANT_URL": "http://localhost:6333",
"OLLAMA_URL": "http://localhost:11434",
"OLLAMA_EMBEDDING_MODEL": "nomic-embed-text"
}
}
}
}
Add to your VS Code settings.json:
{
"mcp": {
"servers": {
"docs-rag": {
"type": "stdio",
"command": "npx",
"args": ["-y", "docs-rag-mcp", "--transport", "stdio"],
"cwd": "/path/to/docs-rag",
"env": {
"QDRANT_URL": "http://localhost:6333",
"OLLAMA_URL": "http://localhost:11434",
"OLLAMA_EMBEDDING_MODEL": "nomic-embed-text"
}
}
}
}
}
Add to your mcp.json:
{
"mcpServers": {
"docs-rag": {
"command": "npx",
"args": ["-y", "docs-rag-mcp"],
"cwd": "/path/to/docs-rag",
"env": {
"QDRANT_URL": "http://localhost:6333",
"OLLAMA_URL": "http://localhost:11434",
"OLLAMA_EMBEDDING_MODEL": "nomic-embed-text"
}
}
}
}
claude mcp add docs-rag -- npx -y docs-rag-mcp --cwd /path/to/docs-rag
Add to your Windsurf MCP configuration:
{
"mcpServers": {
"docs-rag": {
"command": "npx",
"args": ["-y", "docs-rag-mcp"],
"cwd": "/path/to/docs-rag",
"env": {
"QDRANT_URL": "http://localhost:6333",
"OLLAMA_URL": "http://localhost:11434",
"OLLAMA_EMBEDDING_MODEL": "nomic-embed-text"
}
}
}
}
/path/to/docs-rag with the actual absolute path to your docs-rag project.env file in the project directorynpm run build) or that tsx is available for development mode