Λογότυπο GitHub Pages Documentation

GitHub Pages Documentation

Κοινότητα
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.

Εκδότηςtosin2013
Αποθετήριοdocumcp
ΓλώσσαTypeScript
Forks
3
Αστέρια
10
Διαθέσιμα εργαλεία
51
Τύπος μεταφοράςstdio
Κατηγορίες
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Συνδέστε εργαλεία σε ροές εργασίας AI

    Το GitHub Pages Documentation παρέχει δυνατότητες MCP που μπορούν να χρησιμοποιηθούν από συμβατές εφαρμογές-πελάτες AI και πράκτορες AI.

  • 51 διαθέσιμα εργαλεία

    Περιηγηθείτε παρακάτω στις ενέργειες που μπορούν να κληθούν, μαζί με τα ονόματα και τις περιγραφές τους, όταν παρέχονται από τον διακομιστή.

  • Ρυθμίσεις έτοιμες για αντιγραφή

    Χρησιμοποιήστε τα αποσπάσματα εγκατάστασης για να ρυθμίσετε αυτόν τον διακομιστή στην εφαρμογή-πελάτη MCP που προτιμάτε.

  • Δείκτες ενδιαφέροντος για τον ανοιχτό κώδικα

    10 αστέρια και 3 διακλαδώσεις στο συνδεδεμένο αποθετήριο.

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

Εγκατάσταση

TypingMind
Προαπαιτούμενα:

Node.js 18+

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

Διαθέσιμα εργαλεία

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

Χρησιμοποιήστε το MCP GitHub Pages Documentation με πολλά μοντέλα AI

Το TypingMind συνδέει τα εργαλεία MCP σε επίπεδο χώρου εργασίας. Έτσι, μόλις συνδεθεί το GitHub Pages Documentation, μπορείτε να το χρησιμοποιείτε με διαφορετικά μοντέλα AI στο TypingMind, αντί να το ρυθμίζετε ξεχωριστά για κάθε μοντέλο. Αυτή η ενσωμάτωση MCP εκτελείται τοπικά στη συσκευή σας μέσω του συνδέσμου MCP του TypingMind.

Οδηγός ρύθμισης για τη χρήση του τοπικού συνδέσμου

Επιλέξτε αυτή τη μέθοδο όταν ο διακομιστής MCP χρειάζεται πρόσβαση σε τοπικά αρχεία, εφαρμογές ή ιδιωτικούς πόρους στον υπολογιστή σας.

1

Ανοίξτε τις ρυθμίσεις MCP

Στο TypingMind, μεταβείτε στις «Ρυθμίσεις», έπειτα στις «Σύνθετες ρυθμίσεις» και στο «Model Context Protocol» και επιλέξτε «Ρύθμιση συνδέσμου».

  1. Ανοίξτε το TypingMind στο πρόγραμμα περιήγησής σας.
  2. Κάντε κλικ στο εικονίδιο «Ρυθμίσεις».
  3. Μεταβείτε στις «Σύνθετες ρυθμίσεις».
  4. Ανοίξτε την ενότητα Model Context Protocol.
  5. Κάντε κλικ στην επιλογή «Ρύθμιση συνδέσμου» και επιλέξτε «Αυτή η συσκευή».
Οθόνη ρύθμισης συνδέσμου MCP του TypingMind με επιλεγμένη την επιλογή «Αυτή η συσκευή»
2

Εκτελέστε την εντολή του συνδέσμου

Επιλέξτε «Αυτή η συσκευή», αντιγράψτε την εντολή από το TypingMind και εκτελέστε την στο Τερματικό. Διατηρήστε τη διεργασία σε λειτουργία όσο χρησιμοποιείτε το MCP.

  1. Αντιγράψτε την εντολή ρύθμισης που εμφανίζεται στο TypingMind.
  2. Ανοίξτε το Τερματικό στο macOS ή το Windows Terminal στα Windows.
  3. Επικολλήστε και εκτελέστε την εντολή.
  4. Εγκρίνετε την εγκατάσταση του πακέτου, αν το Τερματικό σάς ζητήσει επιβεβαίωση για να συνεχίσει.
  5. Διατηρήστε ανοιχτό το παράθυρο του Τερματικού και τη διεργασία σε λειτουργία όσο χρησιμοποιείτε εργαλεία MCP.
3

Προσθέστε το GitHub Pages Documentation ως διακομιστή

Όταν η κατάσταση του συνδέσμου είναι «Έτοιμος», κάντε κλικ στο «Αλλαγή servers» και επικολλήστε τις ρυθμίσεις του διακομιστή MCP.

  1. Περιμένετε μέχρι η κατάσταση του συνδέσμου να εμφανιστεί ως «Έτοιμος».
  2. Κάντε κλικ στο «Αλλαγή servers».
  3. Επικολλήστε τις ρυθμίσεις του διακομιστή MCP GitHub Pages Documentation.
  4. Αποθηκεύστε τη λίστα διακομιστών.
  5. Κάντε ανανέωση αν θέλετε να επιβεβαιώσετε ότι ο σύνδεσμος παραμένει έτοιμος για χρήση.
Ρυθμίσεις MCP του TypingMind με ενεργό διακομιστή και το κουμπί «Αλλαγή servers»
{
  "mcpServers": {
    "github-pages-documentation": {
      "command": "npx",
      "args": [
        "-y",
        "documcp"
      ]
    }
  }
}
4

Χρησιμοποιήστε τη σύνδεση με διαφορετικά μοντέλα

Αποθηκεύστε τη λίστα διακομιστών, ανοίξτε τα «Πρόσθετα», ενεργοποιήστε τα εργαλεία MCP του GitHub Pages Documentation και έπειτα επιλέξτε οποιοδήποτε υποστηριζόμενο μοντέλο AI στο TypingMind. Χρησιμοποιήστε τα εργαλεία στη συνομιλία ή αναθέστε τα σε έναν πράκτορα AI.

  1. Ανοίξτε τη σελίδα «Πρόσθετα» στο TypingMind.
  2. Ενεργοποιήστε τα εργαλεία MCP του GitHub Pages Documentation.
  3. Ξεκινήστε μια συνομιλία και επιλέξτε το μοντέλο AI που θέλετε να χρησιμοποιήσετε.
  4. Χρησιμοποιήστε τα εργαλεία MCP στη συνομιλία ή αντιστοιχίστε τα σε έναν πράκτορα AI.
  5. Μεταβείτε σε άλλο μοντέλο AI όποτε χρειάζεται, χωρίς να συνδέσετε ξανά το MCP.
Συνομιλία στο TypingMind με ενεργοποιημένα εργαλεία MCP και επιλεγμένο μοντέλο AI
Θα με βοηθήσετε σε αυτό μέσω GitHub Pages Documentation;
GitHub Pages Documentation
Βεβαίως. Το διάβασα.
Δείτε τι βρήκα μέσω του GitHub Pages Documentation.

Συχνές ερωτήσεις

Σε τι χρησιμεύει ο διακομιστής MCP GitHub Pages Documentation;

Το GitHub Pages Documentation είναι ένας διακομιστής MCP που επιτρέπει σε συμβατές εφαρμογές AI να συνδέονται με εξωτερικά εργαλεία και πληροφορίες πλαισίου. Στο TypingMind, μπορείτε να προσθέσετε αυτόν τον διακομιστή MCP μία φορά και να κάνετε τα εργαλεία του διαθέσιμα στον χώρο εργασίας AI σας.

Μπορώ να χρησιμοποιήσω το GitHub Pages Documentation MCP με πολλά μοντέλα AI στο TypingMind;

Ναι. Το TypingMind συνδέει τα εργαλεία MCP σε επίπεδο χώρου εργασίας, ώστε να μπορείτε να χρησιμοποιείτε το GitHub Pages Documentation με διαφορετικά μοντέλα AI, όπως τα Claude, ChatGPT, Gemini ή άλλα μοντέλα που έχετε ρυθμίσει στο TypingMind, χωρίς να ρυθμίζετε τον διακομιστή MCP ξεχωριστά για κάθε μοντέλο.

Γιατί να χρησιμοποιήσετε τον σύνδεσμο MCP GitHub Pages Documentation με το TypingMind;

Το TypingMind είναι ένα από τα καλύτερα περιβάλλοντα συνομιλίας με μεγάλα γλωσσικά μοντέλα, καθώς συγκεντρώνει πολλά μοντέλα AI, προτροπές, πρόσθετα, πράκτορες AI, κλειδιά API και εργαλεία MCP σε έναν χώρο εργασίας. Συνδέοντας το GitHub Pages Documentation, μπορείτε να χρησιμοποιείτε τα εργαλεία MCP του με τα μοντέλα που προτιμάτε, διατηρώντας οργανωμένη τη ροή εργασίας των συνομιλιών σας στο TypingMind.

Πώς συνδέω το GitHub Pages Documentation MCP στο TypingMind;

Το GitHub Pages Documentation λειτουργεί μέσω του τοπικού συνδέσμου MCP του TypingMind. Αυτή είναι η καλύτερη επιλογή όταν ο διακομιστής MCP χρειάζεται πρόσβαση σε τοπικά αρχεία, εφαρμογές υπολογιστή, εργαλεία γραμμής εντολών ή ιδιωτικούς πόρους στον υπολογιστή σας.

Ποια εργαλεία παρέχει το GitHub Pages Documentation MCP στο TypingMind;

Το GitHub Pages Documentation διαθέτει 51 εργαλεία MCP που μπορείτε να ενεργοποιήσετε από τη σελίδα Πρόσθετα του TypingMind και να χρησιμοποιήσετε σε συνομιλίες ή να αναθέσετε σε πράκτορες AI.

Χρειάζεται να κοινοποιήσω τα κλειδιά API μου στο TypingMind για να χρησιμοποιήσω το GitHub Pages Documentation MCP;

Όχι. Το TypingMind δίνει προτεραιότητα στην τοπική λειτουργία και σας επιτρέπει να διατηρείτε τον έλεγχο των παρόχων μοντέλων, των κλειδιών API, των προτροπών και των ρυθμίσεων MCP σας. Αν το GitHub Pages Documentation απαιτεί έλεγχο ταυτότητας, προσθέστε τις απαιτούμενες κεφαλίδες, τις ρυθμίσεις OAuth ή τις τοπικές ρυθμίσεις για τον συγκεκριμένο διακομιστή MCP κατά τη δημιουργία της σύνδεσης.

Σχετικοί διακομιστές MCP

Προβολή όλων

Στήστε δικό σας χώρο εργασίας AI τώρα

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇