Skip to main content
Glama

DocuMCP

by YannickTM

DocuMCP

🤖 A comprehensive MCP system for intelligent code documentation generation with RAG capabilities and multi-agent orchestration

DocuMCP consists of two complementary MCP servers:

  1. DocuMCP Server: Core documentation generation with vector embeddings and semantic search
  2. DocuMCP Manager: Agent orchestration for parallel documentation workflows using multiple Claude Code sub-agents

Together, they enable Claude to generate, search, and manage documentation for your codebase at any scale, from single files to entire enterprise applications.

✨ Features

Core Documentation Features

  • 📚 Generate and update documentation based on your codebase
  • 🔍 Semantic search across code, documentation, and diagrams
  • 📊 Create and merge architectural diagrams
  • 📝 Generate user guides
  • 💾 Support for multiple vector databases (LanceDB, ChromaDB, Qdrant)
  • 🧠 Flexible embedding providers (built-in or Ollama)

Multi-Agent Orchestration (Manager Server)

  • 🤖 Spawn multiple Claude Code sub-agents for parallel processing
  • 📊 Monitor agent status and retrieve results
  • 🔄 Shared vector database across all agents
  • ⚡ Scale documentation generation for large codebases
  • 💰 Track costs and performance metrics

🚀 Quick Start

The easiest way to use DocuMCP is to configure Claude Desktop with the published npm package:

Add the following to your Claude Desktop configuration:

  • MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json
For Core DocuMCP Server:
{ "mcpServers": { "docu-mcp": { "command": "npx", "args": ["-y", "@myjungle/docu-mcp-server"] } } }
For DocuMCP Manager (Agent Orchestration):
{ "mcpServers": { "docu-mcp-manager": { "command": "npx", "args": ["-y", "@myjungle/docu-mcp-manager"] } } }

Restart Claude Desktop and both servers will be available.

Alternative Installation Methods

Using Smithery CLI

Install the server via 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

🚀 Manual Start

1. Clone and Install

git clone https://github.com/YannickTM/docu-mcp cd docu-mcp npm install

2. Build the Servers

# Build DocuMCP Server cd mcp npm run build cd .. # Build DocuMCP Manager cd manager npm run build cd ..

3. Advanced Configuration

Add the following to your Claude Desktop configuration:

  • MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json
Configuration for Both Servers:
{ "mcpServers": { "docu-mcp": { "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"] }, "docu-mcp-manager": { "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", "SUB_AGENT_MODEL": "claude-3-7-sonnet-latest" }, "args": ["/absolute/path/to/DocuMCP/manager/dist/index.js"] } } }

Important: Both servers should use the same vector database configuration to enable shared access.

4. Start Required Services (if using external providers)

For Qdrant:
cd qdrant npm run start
For ChromaDB:
cd chromadb npm run start

5. Restart Claude Desktop

Restart Claude Desktop to load the new configuration.

🛠️ Configuration Options

Vector Database Providers

ProviderDescriptionConfiguration
LanceDBFile-based local database (default)VECTOR_DB_PROVIDER=lanceLANCE_PATH=~/lanceDB
ChromaDBSimple vector database with web UIVECTOR_DB_PROVIDER=chromaCHROMA_URL=http://localhost:8000
QdrantProduction-grade vector databaseVECTOR_DB_PROVIDER=qdrantQDRANT_URL=http://localhost:6333

Embedding Providers

ProviderDescriptionConfiguration
Built-inUses all-MiniLM-L6-v2 model (default)EMBEDDING_PROVIDER=buildinEMBEDDING_MODEL=all-MiniLM-L6-v2EMBEDDING_DIMENSION=384
OllamaUse any Ollama modelEMBEDDING_PROVIDER=ollamaEMBEDDING_MODEL=bge-m3:latestEMBEDDING_DIMENSION=1024OLLAMA_URL=http://localhost:11434

🔧 Available Tools

DocuMCP Server Tools

  • 📁 File Operations: read_file, write_file, create_directory, read_directory
  • 🔎 Search Tools: search_codebase, search_documentation, search_diagram, search_user_guide
  • 📚 Documentation: generate_documentation, generate_user_guide, explain_code
  • 📊 Diagrams: generate_diagram, merge_diagram
  • 🗃️ Indexing: index_file, index_directory
  • 🔀 Merging: merge_documentation

DocuMCP Manager Tools (includes all above plus):

  • 🤖 Agent Orchestration:
    • spawn_agent: Create Claude Code sub-agents for documentation tasks
    • manage_agent: Monitor, control, and retrieve results from agents

📋 Requirements

  • Node.js 20.11.24+
  • Claude Desktop
  • (Optional) Docker for running external vector databases

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.


Made with ❤️

-
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.

Claude がベクトル埋め込みとセマンティック検索を使用してコードベースのドキュメントを生成、検索、管理できるようにする MCP サーバー。ユーザー ガイド、技術ドキュメント、コードの説明、アーキテクチャ図を作成するためのツールを提供します。

  1. ✨ 特徴
    1. 🚀 クイックスタート
      1. NPX 経由のインストール (推奨)
      2. 代替インストール方法
    2. 🚀 手動スタート
      1. 1. クローンとインストール
      2. 2. MCPサーバーを構築する
      3. 3. 詳細設定
      4. 4. 必要なサービスを開始する(外部プロバイダーを使用している場合)
      5. 5. Claude Desktopを再起動します
    3. 🛠️ 設定オプション
      1. ベクターデータベースプロバイダー
      2. 埋め込みプロバイダー
    4. 🔧 利用可能なツール
      1. 📋 要件
        1. 🤝 貢献する

          Related MCP Servers

          • A
            security
            A
            license
            A
            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 -
            15
            247
            Python
            MIT License
            • Apple
            • Linux
          • -
            security
            F
            license
            -
            quality
            An 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.
            Last updated -
            Python
          • -
            security
            A
            license
            -
            quality
            A 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.
            Last updated -
            Python
            MIT License
            • Apple
          • -
            security
            A
            license
            -
            quality
            An MCP server that automatically manages and organizes project documentation using the document reference pattern, keeping CLAUDE.md files clean and under 500 lines while maintaining full context for AI assistants.
            Last updated -
            Python
            MIT License

          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