MCP Connector

Automate Documentation Deployment

DocuMCP is an MCP server that analyzes repositories, recommends static site generators (Jekyll, Hugo, Docusaurus, MkDocs, Eleventy), and automates GitHub Pages

Works with github

Maintainer of this project? Claim this page to edit the listing.


91
Spark score
out of 100
Updated 27 days ago
Version 1.0.0
Models
universal

Add to Favorites

Why it matters

Streamline your open-source project's documentation by intelligently analyzing your repository, recommending the best static site generator, and automating deployment to GitHub Pages.

Outcomes

What it gets done

01

Analyze repository structure and dependencies.

02

Recommend optimal static site generators (Jekyll, Hugo, Docusaurus, MkDocs, Eleventy).

03

Automate GitHub Pages deployment with verification.

04

Generate documentation following the Diataxis framework.

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/vb-documcp | bash

Capabilities

Tools your agent gets

analyze_repository

Deep analysis of repository structure and dependencies

recommend_ssg

Smart SSG recommendations with historical data and user preferences

detect_gaps

Identify missing documentation sections

deploy_pages

Automated GitHub Pages deployment with results tracking

verify_deployment

Comprehensive deployment validation

analyze_deployments

Analytics and insights from deployment history

manage_preferences

Manage user preferences for personalized recommendations

Overview

DocuMCP MCP Server

an MCP server for intelligent documentation deployment I need to analyze my repository structure, get SSG recommendations, and automate GitHub Pages deployment with professional documentation

What it does

Big Job: When I need to deploy professional documentation for my open-source project without manually researching generators or configuring workflows, I hire DocuMCP to analyze my codebase, recommend the optimal static site generator, and automate the entire deployment pipeline.

Small Job: It performs deep repository analysis, provides data-driven recommendations for five SSG options (Jekyll, Hugo, Docusaurus, MkDocs, Eleventy), generates Diataxis-compliant documentation structure (tutorials, how-to guides, reference, explanation), and deploys to GitHub Pages with verification. Features include repository analysis, SSG recommendations, deployment automation with tracking, validation, user preference management, deployment analytics, and memory-enhanced insights.

Install globally and configure for Claude Desktop:

npm install -g documcp
{
  "mcpServers": {
    "documcp": {
      "command": "npx",
      "args": ["documcp"]
    }
  }
}

Then use natural language prompts like Analyze my repository at /path/to/my-project or Deploy my documentation to GitHub Pages. Key tools include analyze_repository for deep repository structure and dependency analysis, recommend_ssg for intelligent SSG recommendations with historical data and user preferences, deploy_site for automated deployment to GitHub Pages or Vercel with outcome tracking, verify_deployment for comprehensive deployment validation, and analyze_deployments for analytics and insights from deployment history.

Source README

DocuMCP - Intelligent Documentation Deployment MCP Server

CI
CodeQL
Coverage
npm version
Ask DeepWiki

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.

TL;DR

DocuMCP analyzes your repository, recommends the perfect static site generator (Jekyll, Hugo, Docusaurus, MkDocs, or Eleventy), creates professional documentation structure following Diataxis principles, and deploys it automatically to GitHub Pages. Just say "analyze my repository and deploy documentation" to get started.

Features

Core Capabilities

  • πŸ” 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

Intelligence & Learning (Phase 2)

  • 🧠 Historical Intelligence: Learns from past deployments to improve recommendations
  • πŸ‘€ User Preferences: Personalized recommendations based on your preferences and patterns
  • πŸ“Š Deployment Analytics: Comprehensive insights into deployment patterns and success rates
  • 🎯 Smart Scoring: Intelligent SSG scoring based on success rates from similar projects
  • πŸ“ˆ Trend Analysis: Identifies deployment trends and provides health scores

Documentation Maintenance (v0.5.2+)

  • πŸ“… Freshness Tracking: Monitor documentation staleness with configurable thresholds
  • βœ… Freshness Validation: Initialize and update freshness metadata automatically
  • πŸ—ΊοΈ Sitemap Management: Generate, validate, and manage sitemap.xml for SEO
  • πŸ”— Knowledge Graph Integration: Track freshness history for intelligent recommendations

AI-Powered Semantic Analysis (v0.6.0+)

  • πŸ€– LLM Integration: Optional integration with DeepSeek, OpenAI, Anthropic, or Ollama
  • πŸ” Semantic Code Analysis: Detect behavioral changes beyond syntax using AI
  • πŸ§ͺ Example Validation: Simulate code execution to verify documentation examples
  • 🎯 Intelligent Fallback: Graceful degradation to AST-only analysis when LLM unavailable
  • πŸ”’ Privacy First: Works fully offline with AST analysis, LLM completely optional

Requirements

  • Node.js: 20.0.0 or higher
  • npm: Latest stable version

Installation

Option A - npm global install (recommended):

npm install -g documcp

Option B - build from source (contributors / local dev):

git clone https://github.com/tosin2013/documcp.git
cd documcp
npm install
npm run build

MCP Client Setup

DocuMCP works with any MCP-enabled AI client. Pick the one you use:

Claude Desktop

File location:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/claude/claude_desktop_config.json
{
  "mcpServers": {
    "documcp": {
      "command": "npx",
      "args": ["documcp"]
    }
  }
}

Restart Claude Desktop to load the configuration.

Claude Code (CLI)

# npm global install
claude mcp add documcp -- npx documcp

# local build (replace path as needed)
claude mcp add documcp -- node /path/to/documcp/dist/index.js

Verify with claude mcp list - no restart required.

Cursor

File location: ~/.cursor/mcp.json (or Settings > MCP in the UI)

{
  "mcpServers": {
    "documcp": {
      "command": "npx",
      "args": ["documcp"]
    }
  }
}

VS Code (GitHub Copilot)

Add to settings.json (Cmd/Ctrl + Shift + P β†’ Preferences: Open User Settings (JSON)):

{
  "mcp.servers": {
    "documcp": {
      "command": "npx",
      "args": ["documcp"]
    }
  }
}

Troubleshooting

  • Ensure npx is available in your PATH
  • To find a global install path: npm list -g documcp
  • To use the full path instead of npx:
    {
      "command": "node",
      "args": ["/usr/local/lib/node_modules/documcp/dist/index.js"]
    }
    

Quick Start

Once connected to your AI client, use natural language prompts:

Analyze my repository at /path/to/my-project
Recommend a static site generator based on my analysis
Set up a Diataxis documentation structure using Docusaurus
Deploy my documentation to GitHub Pages

DocuMCP provides 30+ tools including repository analysis, intelligent SSG recommendations, content generation, deployment automation with tracking, validation, user preference management, deployment analytics, and memory-enhanced insights. See the complete documentation for detailed tool reference.

Key Tools

Analysis & Recommendations

  • analyze_repository - Deep repository structure and dependency analysis
  • recommend_ssg - Intelligent SSG recommendations with historical data and user preferences
  • detect_gaps - Identify missing documentation sections

Deployment & Tracking

  • deploy_site - Automated deployment to GitHub Pages or Vercel with outcome tracking (deploy_pages still works as a back-compat alias)
  • verify_deployment - Comprehensive deployment validation
  • analyze_deployments - Analytics and insights from deployment history

User Preferences & Learning

  • manage_preferences - Manage user preferences for personalized recommendations
  • View historical success rates and deployment patterns
  • Get recommendations based on similar projects' success

Development

# Run in development mode
npm run dev

# Run tests
npm test

# Lint code
npm run lint

# Type check
npm run typecheck

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

Security

Please see our Security Policy for reporting vulnerabilities and security-related issues.

FAQ

Common questions

Discussion

Questions & comments Β· 0

Sign In Sign in to leave a comment.