Logo von GitHub Pages Documentation

GitHub Pages Documentation

Community
tosin2013

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.

Herausgebertosin2013
Repositorydocumcp
SpracheTypeScript
Forks
3
Sterne
10
Verfügbare Tools
51
Transporttypstdio
Kategorien
LizenzMIT
Links
  • Tools mit KI-Workflows verbinden

    GitHub Pages Documentation stellt MCP-Funktionen bereit, die kompatible KI-Clients und Agenten nutzen können.

  • 51 verfügbare Tools

    Sehen Sie sich unten die aufrufbaren Aktionen an, einschließlich Namen und Beschreibungen, sofern der Server diese bereitstellt.

  • Konfiguration zum Kopieren

    Nutzen Sie die Installationsbeispiele, um diesen Server in Ihrem bevorzugten MCP-Client zu konfigurieren.

  • Open-Source-Kennzahlen

    10 Sterne und 3 Forks im verlinkten Repository.

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):

bash
npm install -g documcp

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

bash
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
json
{
  "mcpServers": {
    "documcp": {
      "command": "npx",
      "args": ["documcp"]
    }
  }
}

Restart Claude Desktop to load the configuration.

Claude Code (CLI)

bash
# 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)

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

VS Code (GitHub Copilot)

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

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:
    json
    {
      "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

bash
# 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

Installation

TypingMind
Voraussetzungen:

Node.js 18+

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

Verfügbare Tools

  • 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

  • verify_deployment

    Verify and troubleshoot GitHub Pages deployment

  • populate_diataxis_content

    Intelligently populate Diataxis documentation with project-specific content

  • update_existing_documentation

    Intelligently analyze and update existing documentation using memory insights and code comparison

  • validate_diataxis_content

    Validate the accuracy, completeness, and compliance of generated Diataxis documentation

  • validate_content

    Validate general content quality: broken links, code syntax, references, and basic accuracy

  • detect_documentation_gaps

    Analyze repository and existing documentation to identify missing content and gaps

  • test_local_deployment

    Test documentation build and local server before deploying to GitHub Pages

  • evaluate_readme_health

    Evaluate README files for community health, accessibility, and onboarding effectiveness

  • readme_best_practices

    Analyze README files against best practices checklist and generate templates for improvement

  • check_documentation_links

    Comprehensive link checking for documentation deployment with external, internal, and anchor link validation

  • generate_readme_template

    Generate standardized README templates for different project types with best practices

  • validate_readme_checklist

    Validate README files against community best practices checklist with detailed scoring

  • analyze_readme

    Comprehensive README analysis with length assessment, structure evaluation, and optimization opportunities

  • optimize_readme

    Optimize README content by restructuring, condensing, and extracting detailed sections to separate documentation

  • memory_recall

    Recall memories about a project or topic

  • memory_intelligent_analysis

    Get intelligent analysis with patterns, predictions, and recommendations

  • memory_enhanced_recommendation

    Get enhanced recommendations using learning and knowledge graph

  • memory_learning_stats

    Get comprehensive learning and knowledge graph statistics

  • memory_knowledge_graph

    Query the knowledge graph for relationships and paths

  • memory_contextual_search

    Perform contextual memory retrieval with intelligent ranking

  • memory_agent_network

    Manage multi-agent memory sharing and collaboration

  • memory_insights

    Get insights and patterns from memory

  • memory_similar

    Find similar projects from memory

  • memory_export

    Export memories to JSON or CSV

  • memory_cleanup

    Clean up old memories

  • memory_pruning

    Intelligent memory pruning and optimization

  • memory_temporal_analysis

    Analyze temporal patterns and trends in memory data

  • memory_visualization

    Generate visual representations of memory data

  • memory_export_advanced

    Advanced memory export with multiple formats and options

  • memory_import_advanced

    Advanced memory import with validation and conflict resolution

  • memory_migration

    Create and execute migration plans between different memory systems

  • memory_optimization_metrics

    Get comprehensive optimization metrics and recommendations

  • setup_playwright_tests

    Generate Playwright E2E test setup for documentation site (containers + CI/CD)

  • manage_preferences

    Manage user preferences for documentation generation and SSG recommendations

  • analyze_deployments

    Analyze deployment patterns and generate insights from historical deployment data

  • read_directory

    List files and directories within allowed roots. Use this to discover files without requiring full absolute paths from the user.

  • sync_code_to_docs

    Automatically synchronize documentation with code changes using AST-based drift detection (Phase 3)

  • change_watcher

    Watch code changes and trigger documentation drift detection in near real-time.

  • generate_contextual_content

    Generate context-aware documentation using AST analysis and knowledge graph insights (Phase 3)

  • simulate_execution

    Simulate code execution using LLM to trace execution paths without running the code. Validates documentation examples by predicting behavior, detecting potential issues (null references, type mismatches, unreachable code), and comparing against expected results. Supports building call graphs for complex execution path analysis.

  • batch_simulate_execution

    Simulate execution of multiple code examples in batch. Useful for validating all examples in a documentation file at once.

  • track_documentation_freshness

    Scan documentation directory for staleness markers and identify files needing updates based on configurable time thresholds (minutes, hours, days)

  • validate_documentation_freshness

    Validate documentation freshness, initialize metadata for files without it, and update timestamps based on code changes

  • manage_sitemap

    Generate, validate, and manage sitemap.xml as the source of truth for documentation links. Sitemap.xml is used for SEO, search engine submission, and deployment tracking.

  • generate_llm_context

    Generate a comprehensive LLM context reference file documenting all tools, memory system, and workflows for easy @ reference

  • cleanup_agent_artifacts

    Detect, classify, and clean up artifacts generated by AI coding agents (e.g., TODO.md, PLAN.md, agent markers, temporary files). Supports scan, clean, and archive operations with configurable patterns.

GitHub Pages Documentation MCP mit mehreren KI-Modellen nutzen

TypingMind bindet MCP-Tools auf Arbeitsbereichsebene ein. Sobald GitHub Pages Documentation verbunden ist, können Sie die Integration mit verschiedenen KI-Modellen in TypingMind verwenden, statt sie für jedes Modell separat einzurichten. Diese MCP-Integration läuft lokal über den TypingMind-MCP-Konnektor auf Ihrem Gerät.

Einrichtungsanleitung für den lokalen Konnektor

Nutzen Sie diese Option, wenn der MCP-Server Zugriff auf lokale Dateien, Apps oder private Ressourcen auf Ihrem Computer benötigt.

1

MCP-Einstellungen öffnen

Gehen Sie in TypingMind zu „Einstellungen“, „Erweiterte Einstellungen“ und dann „Model Context Protocol“ und wählen Sie „Konnektor-Setup“.

  1. Öffnen Sie TypingMind in Ihrem Browser.
  2. Klicken Sie auf das Symbol „Optionen“.
  3. Gehen Sie zu „Erweiterte Einstellungen“.
  4. Öffnen Sie den Abschnitt „Model Context Protocol“.
  5. Klicken Sie auf „Konnektor-Setup“ und wählen Sie „Dieses Gerät“.
Einrichtungsbildschirm des TypingMind-MCP-Konnektors mit ausgewählter Option „Dieses Gerät“
2

Konnektor-Befehl ausführen

Wählen Sie „Dieses Gerät“, kopieren Sie den Befehl aus TypingMind und führen Sie ihn im Terminal aus. Lassen Sie den Prozess laufen, solange Sie MCP verwenden.

  1. Kopieren Sie den in TypingMind angezeigten Einrichtungsbefehl.
  2. Öffnen Sie unter macOS Terminal bzw. unter Windows Windows Terminal.
  3. Fügen Sie den Befehl ein und führen Sie ihn aus.
  4. Bestätigen Sie die Paketinstallation, wenn Sie im Terminal zum Fortfahren aufgefordert werden.
  5. Lassen Sie das Terminalfenster geöffnet und den Prozess darin laufen, solange Sie MCP-Tools verwenden.
3

GitHub Pages Documentation als Server hinzufügen

Wenn der Konnektorstatus „Bereit“ anzeigt, klicken Sie auf „Server ändern“ und fügen Sie die MCP-Server-Konfiguration ein.

  1. Warten Sie, bis der Konnektorstatus „Bereit“ anzeigt.
  2. Klicken Sie auf „Server ändern“.
  3. Fügen Sie die MCP-Server-Konfiguration für GitHub Pages Documentation ein.
  4. Speichern Sie die Serverliste.
  5. Aktualisieren Sie die Ansicht, um bei Bedarf zu prüfen, ob der Konnektor weiterhin bereit ist.
MCP-Einstellungen in TypingMind mit aktivem Server und der Schaltfläche „Server ändern“
{
  "mcpServers": {
    "github-pages-documentation": {
      "command": "npx",
      "args": [
        "-y",
        "documcp"
      ]
    }
  }
}
4

Verbindung modellübergreifend nutzen

Speichern Sie die Serverliste, öffnen Sie „Plugins“ und aktivieren Sie die MCP-Tools von GitHub Pages Documentation. Wählen Sie dann ein beliebiges unterstütztes KI-Modell in TypingMind und verwenden Sie die Tools im Chat oder weisen Sie sie einem KI-Agenten zu.

  1. Öffnen Sie die Seite „Plugins“ in TypingMind.
  2. Aktivieren Sie die MCP-Tools von GitHub Pages Documentation.
  3. Starten Sie einen Chat und wählen Sie das KI-Modell, das Sie verwenden möchten.
  4. Nutzen Sie die MCP-Tools im Chat oder weisen Sie sie einem KI-Agenten zu.
  5. Wechseln Sie bei Bedarf zu einem anderen KI-Modell, ohne die MCP-Verbindung erneut herzustellen.
TypingMind-Chat mit aktivierten MCP-Tools und einem ausgewählten KI-Modell
Können Sie mir mit GitHub Pages Documentation bei dieser Aufgabe helfen?
GitHub Pages Documentation
Gerne. Ich habe es gelesen.
Das habe ich mit GitHub Pages Documentation gefunden.

Häufig gestellte Fragen

Wofür wird der MCP-Server GitHub Pages Documentation verwendet?

GitHub Pages Documentation ist ein MCP-Server, über den kompatible KI-Clients auf externe Tools und Kontext zugreifen können. In TypingMind können Sie diesen MCP-Server einmal hinzufügen und seine Tools in Ihrem KI-Arbeitsbereich verfügbar machen.

Kann ich GitHub Pages Documentation MCP mit mehreren KI-Modellen in TypingMind verwenden?

Ja. TypingMind bindet MCP-Tools auf Arbeitsbereichsebene ein. So können Sie GitHub Pages Documentation mit verschiedenen KI-Modellen wie Claude, ChatGPT, Gemini oder anderen in TypingMind konfigurierten Modellen verwenden, ohne den MCP-Server für jedes Modell separat einzurichten.

Warum GitHub Pages Documentation MCP mit TypingMind nutzen?

TypingMind ist eine der besten Oberflächen für LLM-Chats, da es mehrere KI-Modelle, Prompts, Plugins, KI-Agenten, API-Schlüssel und MCP-Tools in einem Arbeitsbereich vereint. Sobald GitHub Pages Documentation verbunden ist, können Sie die zugehörigen MCP-Tools mit Ihren bevorzugten Modellen nutzen und Ihre Chat-Abläufe in TypingMind übersichtlich organisieren.

Wie verbinde ich GitHub Pages Documentation MCP mit TypingMind?

GitHub Pages Documentation wird über den lokalen MCP-Konnektor von TypingMind angebunden. Das ist die beste Wahl, wenn der MCP-Server auf lokale Dateien, Desktop-Apps, Befehlszeilentools oder private Ressourcen auf Ihrem Computer zugreifen muss.

Welche Tools stellt GitHub Pages Documentation MCP in TypingMind bereit?

GitHub Pages Documentation stellt 51 MCP-Tools bereit, die Sie auf der Plugins-Seite in TypingMind aktivieren und im Chat verwenden oder KI-Agenten zuweisen können.

Muss ich meine API-Schlüssel mit TypingMind teilen, um GitHub Pages Documentation MCP zu verwenden?

Nein. TypingMind arbeitet vorrangig lokal, sodass Sie die Kontrolle über Ihre Modellanbieter, API-Schlüssel, Prompts und MCP-Konfiguration behalten. Falls GitHub Pages Documentation eine Authentifizierung erfordert, fügen Sie beim Erstellen der Verbindung die erforderlichen Header, OAuth-Einstellungen oder die lokale Konfiguration für diesen MCP-Server hinzu.

Ähnliche MCP-Server

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇