MCP ExplorerExplorer

Docgen Mcp

@rjadhavJTon 12 days ago
1 MIT
FreeCommunity
AI Systems
Documentation Generator MCP Server for automated documentation creation

Overview

What is Docgen Mcp

DocGen MCP is a Documentation Generator MCP Server designed for automated documentation creation from various source files, integrating seamlessly with other MCP servers like Google Drive and GitHub.

Use cases

Use cases include generating technical documentation for software projects, creating presentations from scripts, and maintaining updated reference documents automatically.

How to use

To use DocGen MCP, clone the repository, install dependencies, build the project, and configure it in your MCP settings file. You can then generate documentation using the ‘create_documentation’ tool.

Key features

Key features include information extraction from GitHub and Google Drive, support for multiple source types (scripts, presentations, code, reference documents), template-based document generation, document history tracking, and AI-enhanced content generation via Perplexity integration.

Where to use

DocGen MCP can be used in software development, project management, and any field that requires automated documentation generation from various types of source files.

Content

DocGen MCP Server

Documentation Generator MCP Server for automated documentation creation from source files.

Overview

The DocGen MCP server automates the creation of standardized documentation by extracting information from source files and applying templates. It seamlessly integrates with other MCP servers (Google Drive, GitHub, Perplexity) to provide a comprehensive solution.

Features

  • Extract information from GitHub repositories and Google Drive files
  • Process multiple source types (scripts, presentations, code, reference documents)
  • Template-based document generation
  • Document history tracking
  • AI-enhanced content generation through Perplexity integration

Installation

Prerequisites

  • Node.js 16+
  • npm or yarn
  • Access to Google Drive API (for Google Drive source extraction)
  • Access to GitHub API (for GitHub source extraction)

Steps

  1. Clone the repository:

    git clone https://github.com/rjadhav/docgen-mcp.git
    cd docgen-mcp
    
  2. Install dependencies:

    npm install
    
  3. Build the project:

    npm run build
    
  4. Add to your MCP settings file:

    For Claude Desktop

    Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

    {
      "mcpServers": {
        "docgen-mcp": {
          "command": "node",
          "args": [
            "/path/to/docgen-mcp/build/index.js"
          ],
          "env": {},
          "disabled": false,
          "autoApprove": []
        }
      }
    }

    For VSCode Cline

    Edit the VSCode Claude Dev extension’s MCP settings file:

    {
      "mcpServers": {
        "docgen-mcp": {
          "command": "node",
          "args": [
            "/path/to/docgen-mcp/build/index.js"
          ],
          "env": {},
          "disabled": false,
          "autoApprove": []
        }
      }
    }

Usage

The DocGen MCP server exposes the following tools:

create_documentation

Generate documentation from source files using a template.

list_templates

List available documentation templates.

view_document_history

View history of previously generated documents.

Templates

Templates are stored in the templates directory and use a simple marker system for content generation:

  • {{projectId}} - Replaced with the project identifier
  • {{date}} - Current date
  • {{section:NAME}} - Replaced with generated content for the named section

Custom templates can be added by creating new .template files in the templates directory.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Tools

No tools

Comments