Skip to main content
Glama

DocuMCP

by YannickTM

DocuMCP

🤖具有 RAG 功能的智能代码文档生成 MCP 服务器

DocuMCP 使 Claude 能够使用向量嵌入和语义搜索为您的代码库生成、搜索和管理文档。它提供了用于创建用户指南、技术文档、代码说明和架构图的工具。

✨ 特点

  • 📚 根据你的代码库生成和更新文档
  • 🔍 跨代码、文档和图表的语义搜索
  • 📊 创建和合并架构图
  • 📝 生成用户指南
  • 💾 支持多种矢量数据库(LanceDB、ChromaDB、Qdrant)
  • 🧠 灵活的嵌入提供程序(内置或 Ollama)

🚀 快速入门

通过 NPX 安装(推荐)

使用 DocuMCP 最简单的方法是使用已发布的 npm 包配置 Claude Desktop:

将以下内容添加到您的 Claude Desktop 配置中:

  • MacOS~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows%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 install

2. 搭建 MCP 服务器

cd mcp npm run build cd ..

3.高级配置

将以下内容添加到您的 Claude Desktop 配置中:

  • MacOS~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows%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 start

5. 重启 Claude Desktop

重新启动 Claude Desktop 以加载新配置。

🛠️ 配置选项

矢量数据库提供商

提供者描述配置
LanceDB基于文件的本地数据库(默认)VECTOR_DB_PROVIDER=lance LANCE_PATH=~/lanceDB
ChromaDB带有 Web UI 的简单矢量数据库VECTOR_DB_PROVIDER=chroma CHROMA_URL=http://localhost:8000
卡德兰特生产级矢量数据库VECTOR_DB_PROVIDER=qdrant QDRANT_URL=http://localhost:6333

嵌入提供程序

提供者描述配置
内置使用全 MiniLM-L6-v2 模型(默认)EMBEDDING_PROVIDER=buildin EMBEDDING_MODEL=all-MiniLM-L6-v2 EMBEDDING_DIMENSION=384
奥拉马使用任何 Ollama 型号EMBEDDING_PROVIDER=ollama EMBEDDING_MODEL=bge-m3:latest EMBEDDING_DIMENSION=1024 OLLAMA_URL=http://localhost:11434

🔧 可用工具

DocuMCP 为 Claude 提供了以下工具:

  • 📁文件操作read_filewrite_filecreate_directoryread_directory
  • 🔎搜索工具search_codebasesearch_documentationsearch_diagramsearch_user_guide
  • 📚文档generate_documentationgenerate_user_guideexplain_code
  • 📊图表generate_diagrammerge_diagram
  • 🗃️索引index_fileindex_directory
  • 🔀合并merge_documentation

📋 要求

  • Node.js 20.11.24+
  • 克劳德桌面
  • (可选)用于运行外部矢量数据库的 Docker

🤝 贡献

欢迎贡献代码!欢迎提交 Pull 请求。


用❤️制作

-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

MCP 服务器使 Claude 能够使用向量嵌入和语义搜索来生成、搜索和管理代码库文档,提供用于创建用户指南、技术文档、代码说明和架构图的工具。

  1. ✨ 特点
    1. 🚀 快速入门
      1. 通过 NPX 安装(推荐)
      2. 替代安装方法
    2. 🚀 手动启动
      1. 克隆并安装
      2. 搭建 MCP 服务器
      3. 3.高级配置
      4. 4.启动所需服务(如果使用外部提供商)
      5. 重启 Claude Desktop
    3. 🛠️ 配置选项
      1. 矢量数据库提供商
      2. 嵌入提供程序
    4. 🔧 可用工具
      1. 📋 要求
        1. 🤝 贡献

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            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. Uses Ollama or OpenAI to generate embeddings. Docker files included
            Last updated -
            59
            20
            TypeScript
            MIT License
            • Apple
            • Linux
          • A
            security
            A
            license
            A
            quality
            An MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.
            Last updated -
            7
            180
            45
            TypeScript
            MIT License
          • A
            security
            A
            license
            A
            quality
            An MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.
            Last updated -
            7
            18
            4
            TypeScript
            MIT License
            • Apple
            • Linux
          • -
            security
            A
            license
            -
            quality
            An 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.
            Last updated -
            179
            Python
            MIT License
            • Apple
            • Linux

          View all related MCP servers

          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