DocuMCP
DocuMCP
🤖具有 RAG 功能的智能代码文档生成 MCP 服务器
DocuMCP 使 Claude 能够使用向量嵌入和语义搜索为您的代码库生成、搜索和管理文档。它提供了用于创建用户指南、技术文档、代码说明和架构图的工具。
✨ 特点
📚 根据你的代码库生成和更新文档
🔍 跨代码、文档和图表的语义搜索
📊 创建和合并架构图
📝 生成用户指南
💾 支持多种矢量数据库(LanceDB、ChromaDB、Qdrant)
🧠 灵活的嵌入提供程序(内置或 Ollama)
Related MCP server: Claude AI Documentation Assistant
🚀 快速入门
通过 NPX 安装(推荐)
使用 DocuMCP 最简单的方法是使用已发布的 npm 包配置 Claude Desktop:
将以下内容添加到您的 Claude Desktop 配置中:
MacOS :
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows :
%APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"docu-mcp": {
"command": "npx",
"args": ["@myjungle/docu-mcp-server"]
}
}
}就这样!重启 Claude Desktop,DocuMCP 即可使用。
替代安装方法
使用 Smithery CLI
通过 Smithery CLI 安装服务器:
# Install Smithery CLI if you don't have it
npm install -g @smithery/cli
# Then install the Docu MCP server
npx -y @smithery/cli@latest install @YannickTM/docu-mcp --client claude🚀 手动启动
1. 克隆并安装
git clone https://github.com/YannickTM/docu-mcp
cd docu-mcp
npm install2. 搭建 MCP 服务器
cd mcp
npm run build
cd ..3.高级配置
将以下内容添加到您的 Claude Desktop 配置中:
MacOS :
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows :
%APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"docuassistant": {
"command": "node",
"env": {
"VECTOR_DB_PROVIDER": "qdrant",
"QDRANT_URL": "http://localhost:6333",
"EMBEDDING_PROVIDER": "ollama",
"EMBEDDING_MODEL": "bge-m3:latest",
"EMBEDDING_DIMENSION": "1024",
"OLLAMA_URL": "http://localhost:11434"
},
"args": ["/absolute/path/to/DocuMCP/mcp/dist/index.js"]
}
}
}4.启动所需服务(如果使用外部提供商)
对于 Qdrant:
cd qdrant
npm run start对于 ChromaDB:
cd chromadb
npm run start5. 重启 Claude Desktop
重新启动 Claude Desktop 以加载新配置。
🛠️ 配置选项
矢量数据库提供商
提供者 | 描述 | 配置 |
LanceDB | 基于文件的本地数据库(默认) |
|
ChromaDB | 带有 Web UI 的简单矢量数据库 |
|
卡德兰特 | 生产级矢量数据库 |
|
嵌入提供程序
提供者 | 描述 | 配置 |
内置 | 使用全 MiniLM-L6-v2 模型(默认) |
|
奥拉马 | 使用任何 Ollama 型号 |
|
🔧 可用工具
DocuMCP 为 Claude 提供了以下工具:
📁文件操作:
read_file、write_file、create_directory、read_directory🔎搜索工具:
search_codebase、search_documentation、search_diagram、search_user_guide📚文档:
generate_documentation、generate_user_guide、explain_code📊图表:
generate_diagram、merge_diagram🗃️索引:
index_file、index_directory🔀合并:
merge_documentation
📋 要求
Node.js 20.11.24+
克劳德桌面
(可选)用于运行外部矢量数据库的 Docker
🤝 贡献
欢迎贡献代码!欢迎提交 Pull 请求。
用❤️制作
This server cannot be installed
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
- AlicenseAqualityBmaintenanceAn MCP server that implements Claude Code-like functionality, allowing the AI to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions.15304MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server that integrates with Claude to provide smart documentation search capabilities across multiple AI/ML libraries, allowing users to retrieve and process technical information through natural language queries.
- AlicenseNot gradedqualityDmaintenanceA Claude Desktop MCP server that provides knowledge base search and chat functionality for Volcengine knowledge bases, allowing users to search and chat with their external knowledge repositories.1MIT
- FlicenseBqualityDmaintenanceA BM25-based MCP server that enables document search and retrieval across structured domains of knowledge content, allowing Claude to search and reference documentation when answering questions.41
Related MCP Connectors
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
An MCP server that gives your AI access to the source code and docs of all public github repos
MCP server giving Claude AI access to 22+ NYC public-record databases for real estate due diligence
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/YannickTM/docu-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server