Skip to main content
Glama

DocGen MCP Server

by rjadhavJT

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.

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Automates the creation of standardized documentation by extracting information from source files and applying templates, with integration capabilities for GitHub, Google Drive, and Perplexity AI.

  1. Overview
    1. Features
      1. Installation
        1. Prerequisites
        2. Steps
      2. Usage
        1. create_documentation
        2. list_templates
        3. view_document_history
      3. Templates
        1. Contributing
          1. License

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              Provides tools for collecting and documenting code from directories.
              Last updated -
              4
              565
              14
              TypeScript
              MIT License
              • Apple
              • Linux
            • A
              security
              A
              license
              A
              quality
              Provides seamless integration with Smartsheet, enabling automated operations on Smartsheet documents through a standardized interface that bridges AI-powered automation tools with Smartsheet's collaboration platform.
              Last updated -
              12
              9
              Python
              MIT License
              • Linux
              • Apple
            • -
              security
              A
              license
              -
              quality
              Provides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context.
              Last updated -
              15
              TypeScript
              MIT License
              • Apple
            • A
              security
              A
              license
              A
              quality
              Provides up-to-date documentation for 9000+ libraries directly in your AI code editor, enabling accurate code suggestions and eliminating outdated information.
              Last updated -
              1
              738
              92
              JavaScript
              MIT License
              • Apple
              • Linux

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/rjadhavJT/docgen-mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server