DocuMCP is an intelligent MCP server that automates documentation deployment for open-source projects through comprehensive analysis and workflow automation.
Analyze repository structure, dependencies, and documentation needs with configurable depth levels
Recommend the best static site generator (Jekyll, Hugo, Docusaurus, MkDocs, or Eleventy) based on data-driven project analysis
Generate configuration files for the selected SSG with project metadata
Create Diataxis-compliant documentation structure with proper categorization and optional examples
Set up GitHub Pages deployment workflows with automated GitHub Actions, branch and custom domain options
Verify and troubleshoot deployments by checking repository setup and expected URLs
Intelligently populate documentation with project-specific content at various complexity levels
Validate Diataxis documentation for accuracy, completeness, and compliance
Check general content quality including broken links, code syntax, and references
Detect documentation gaps by comparing repository content with existing documentation
Test local deployments before production with configurable ports and timeouts
Supports configuration generation and automated deployment setup for Docusaurus documentation sites with GitHub Pages integration.
Provides configuration and deployment workflow generation for Eleventy-based static documentation sites.
Provides repository analysis and automated workflow generation for GitHub repositories, enabling intelligent documentation deployment setup.
Generates automated CI/CD workflows for documentation deployment, with SSG-specific optimizations and deployment verification.
Automates the setup and deployment of documentation sites to GitHub Pages with intelligent static site generator integration.
Enables intelligent configuration and deployment setup for Hugo static sites as part of documentation deployment workflows.
Provides configuration generation and deployment setup for Jekyll-based documentation sites with GitHub Pages integration.
DocuMCP - Intelligent Documentation Deployment MCP Server
DocuMCP is an intelligent Model Context Protocol (MCP) server that revolutionizes documentation deployment for open-source projects. It provides deep repository analysis, intelligent static site generator recommendations, and automated GitHub Pages deployment workflows.
Features
- 🔍 Repository Analysis: Deep multi-layered analysis of project structure, dependencies, and documentation needs
- 🎯 SSG Recommendations: Data-driven recommendations for Jekyll, Hugo, Docusaurus, MkDocs, or Eleventy
- 📚 Diataxis Framework: Automatic creation of well-structured documentation following proven principles
- 🚀 GitHub Pages Deployment: Automated workflow generation with SSG-specific optimizations
- ✅ Deployment Verification: Comprehensive checks and troubleshooting for successful deployments
Requirements
- Node.js: 20.0.0 or higher
- npm: Latest stable version
Installation
MCP Client Setup
DocuMCP works with various MCP-enabled clients. Here's how to configure it:
Claude Desktop
- Locate Claude Desktop's configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- Linux:
~/.config/claude/claude_desktop_config.json
- macOS:
- Add documcp server configuration:
- Restart Claude Desktop to load the configuration.
VS Code with GitHub Copilot
- Install MCP extension for VS Code
- Configure in VS Code settings.json:
Cursor Editor
- Configure in Cursor settings:
Gemini Code Assist
- Check Gemini documentation for MCP server configuration
- Add similar configuration as above
Troubleshooting
- Ensure
npx
is available in your PATH - For global installations, use the full path:
- Find installation path:
npm list -g documcp
Usage
Once configured with your MCP client, DocuMCP provides eleven comprehensive MCP tools:
1. Analyze Repository
Performs deep analysis of your project to understand its characteristics and documentation needs.
2. Recommend SSG
Provides intelligent recommendations for the best static site generator based on your project.
3. Generate Config
Creates all necessary configuration files for your chosen static site generator.
4. Setup Structure
Creates a Diataxis-compliant documentation structure with proper categorization.
5. Deploy Pages
Sets up GitHub Actions workflows for automated deployment to GitHub Pages.
6. Verify Deployment
Checks your setup and provides troubleshooting guidance for successful deployment.
7. Populate Diataxis Content
Intelligently populates documentation with project-specific content.
8. Validate Diataxis Content
Validates accuracy, completeness, and compliance of documentation.
9. Validate Content
Checks general content quality including links and code syntax.
10. Detect Documentation Gaps
Analyzes repository to identify missing documentation content.
11. Test Local Deployment
Tests documentation build and local server before deployment.
Development
Architecture
DocuMCP follows a modular, stateless architecture:
- TypeScript-based implementation using the official MCP SDK
- Stateless operation for consistency and reliability
- Modular design with clear separation of concerns
- Progressive complexity allowing users to start simple
Documentation Structure (Diataxis)
DocuMCP automatically creates documentation following the Diataxis framework:
- Tutorials: Learning-oriented guides for newcomers
- How-To Guides: Task-oriented recipes for specific goals
- Reference: Information-oriented technical descriptions
- Explanation: Understanding-oriented conceptual discussions
Contributing
We welcome contributions! Please see our Contributing Guide for details.
First Time Contributors
Look for issues labeled "good first issue" to get started with the project. We welcome contributions from developers of all experience levels.
Reporting Issues
Please use our issue templates when reporting bugs or requesting features.
Code of Conduct
This project adheres to the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code.
Security
Please see our Security Policy for reporting vulnerabilities and security-related issues.
License
MIT License - see LICENSE for details.
Acknowledgments
- Built on the Model Context Protocol
- Follows the Diataxis Framework
- Inspired by the need for better documentation in open-source projects
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
DocuMCP is an intelligent Model Context Protocol (MCP) server that revolutionizes documentation deployment for open-source projects. It provides deep repository analysis, intelligent static site generator recommendations, and automated GitHub Pages deployment workflows.
Related MCP Servers
- -securityAlicense-qualitygodoc-mcp is a Model Context Protocol (MCP) server that provides efficient access to Go documentation. It helps LLMs understand Go projects by providing direct access to package documentation without needing to read entire source files.Last updated -83MIT License
- AsecurityFlicenseAqualityAn open-source MCP implementation providing document management functionality. This project aims to replicate Cursor's @Docs functionality.Last updated -82610
- AsecurityAlicenseAqualityA documentation server based on MCP protocol designed for various development frameworks that provides multi-threaded document crawling, local document loading, keyword searching, and document detail retrieval.Last updated -349MIT License
- AsecurityFlicenseAqualityAn MCP server that helps teams create, manage, and access structured project documentation through six core document types, leveraging AI to generate comprehensive project knowledge management.Last updated -52999