GitHub Pages Documentation

GitHub Pages Documentation

tosin2013

Analyzes your GitHub repository and automatically creates professional documentation sites deployed to GitHub Pages. Recommends the best static site generator and creates structured documentation following industry standards.

Automates GitHub Pages documentation deployment by analyzing repositories, recommending static site generators like Jekyll, Hugo, or MkDocs, generating structured documentation following Diataxis patterns, and creating complete deployment workflows from repository analysis to live site publication.

10414 views3Local (stdio)

What it does

  • Analyze repository structure and documentation needs
  • Recommend optimal static site generators (Jekyll, Hugo, MkDocs, etc.)
  • Generate Diataxis-compliant documentation structure
  • Create GitHub Pages deployment workflows
  • Verify and troubleshoot deployments
  • Populate documentation with project-specific content

Best for

Open source project maintainersDevelopers needing professional documentation sitesTeams wanting automated documentation deploymentProjects migrating to GitHub Pages
10+ analysis and deployment toolsFollows Diataxis documentation frameworkLearns from deployment history

About GitHub Pages Documentation

GitHub Pages Documentation is a community-built MCP server published by tosin2013 that provides AI assistants with tools and capabilities via the Model Context Protocol. Automate GitHub Pages documentation with top static site generators like MkDocs. Generate, structure, and publish your d It is categorized under productivity, developer tools. This server exposes 51 tools that AI clients can invoke during conversations and coding sessions.

How to install

You can install GitHub Pages Documentation in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

License

GitHub Pages Documentation is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

Tools (51)

analyze_repository

Analyze repository structure, dependencies, and documentation needs

recommend_ssg

Recommend the best static site generator based on project analysis and user preferences

generate_config

Generate configuration files for the selected static site generator

setup_structure

Create Diataxis-compliant documentation structure

deploy_pages

Set up GitHub Pages deployment workflow with deployment tracking and preference learning

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

# Clone the repository
git clone https://github.com/tosin2013/documcp.git
cd documcp

# Install dependencies
npm install

# Build the project
npm run build

MCP Client Setup

DocuMCP works with various MCP-enabled clients. Here's how to configure it:

Claude Desktop

  1. 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
  2. Add documcp server configuration:

    {
      "mcpServers": {
        "documcp": {
          "command": "npx",
          "args": ["documcp"]
        }
      }
    }
    
  3. Restart Claude Desktop to load the configuration.

VS Code with GitHub Copilot

  1. Install MCP extension for VS Code
  2. Configure in VS Code settings.json:
    {
      "mcp.servers": {
        "documcp": {
          "command": "npx",
          "args": ["documcp"]
        }
      }
    }
    

Cursor Editor

  1. Configure in Cursor settings:
    {
      "mcpServers": {
        "documcp": {
          "command": "npx",
          "args": ["documcp"]
        }
      }
    }
    

Gemini Code Assist

  1. Check Gemini documentation for MCP server configuration
  2. Add similar configuration as above

Troubleshooting

  • Ensure npx is available in your PATH
  • For global installations, use the full path:
    {
      "command": "node",
      "args": ["/usr/local/lib/node_modules/documcp/dist/index.js"]
    }
    
  • Find installation path: npm list -g documcp

Quick Start

Once configured with your MCP client, just prompt DocuMCP with natural language:

# Complete workflow
"analyze my repository and deploy documentation to GitHub Pages"

# Step by step
"analyze my repository for documentation needs"
"recommend the best static site generator for my project"
"set up documentation structure and deploy 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_pages - Automated GitHub Pages deployment with outcome tracking
  • 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

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

Alternatives

Related Skills

Browse all skills
ui-design-system

UI design system toolkit for Senior UI Designer including design token generation, component documentation, responsive design calculations, and developer handoff tools. Use for creating design systems, maintaining visual consistency, and facilitating design-dev collaboration.

18
api-documenter

Master API documentation with OpenAPI 3.1, AI-powered tools, and modern developer experience practices. Create interactive docs, generate SDKs, and build comprehensive developer portals. Use PROACTIVELY for API documentation or developer portal creation.

4
teams-channel-post-writer

Creates educational Teams channel posts for internal knowledge sharing about Claude Code features, tools, and best practices. Applies when writing posts, announcements, or documentation to teach colleagues effective Claude Code usage, announce new features, share productivity tips, or document lessons learned. Provides templates, writing guidelines, and structured approaches emphasizing concrete examples, underlying principles, and connections to best practices like context engineering. Activates for content involving Teams posts, channel announcements, feature documentation, or tip sharing.

4
openai-knowledge

Use when working with the OpenAI API (Responses API) or OpenAI platform features (tools, streaming, Realtime API, auth, models, rate limits, MCP) and you need authoritative, up-to-date documentation (schemas, examples, limits, edge cases). Prefer the OpenAI Developer Documentation MCP server tools when available; otherwise guide the user to enable `openaiDeveloperDocs`.

4
penpot-uiux-design

Comprehensive guide for creating professional UI/UX designs in Penpot using MCP tools. Use this skill when: (1) Creating new UI/UX designs for web, mobile, or desktop applications, (2) Building design systems with components and tokens, (3) Designing dashboards, forms, navigation, or landing pages, (4) Applying accessibility standards and best practices, (5) Following platform guidelines (iOS, Android, Material Design), (6) Reviewing or improving existing Penpot designs for usability. Triggers: "design a UI", "create interface", "build layout", "design dashboard", "create form", "design landing page", "make it accessible", "design system", "component library".

19
update-docs

This skill should be used when the user asks to "update documentation for my changes", "check docs for this PR", "what docs need updating", "sync docs with code", "scaffold docs for this feature", "document this feature", "review docs completeness", "add docs for this change", "what documentation is affected", "docs impact", or mentions "docs/", "docs/01-app", "docs/02-pages", "MDX", "documentation update", "API reference", ".mdx files". Provides guided workflow for updating Next.js documentation based on code changes.

15