DocGen MCP Server
The DocGen MCP Server automates the creation of standardized documentation from various sources using customizable templates.
Capabilities include:
Generate documentation from source files (URLs/paths) using specified templates
Extract information from GitHub repositories and Google Drive files
Process various source types (scripts, presentations, code, reference documents)
List available documentation templates with optional category filtering
Track and view document generation history
Enhance content generation with AI through Perplexity integration
Extracts information from GitHub repositories for documentation generation
Extracts files from Google Drive for processing into documentation
Enhances documentation content generation with AI capabilities from Perplexity
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@DocGen MCP Server create documentation for my latest GitHub repo using the API template"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
Related MCP server: RAG Documentation MCP Server
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
Clone the repository:
git clone https://github.com/rjadhav/docgen-mcp.git cd docgen-mcpInstall dependencies:
npm installBuild the project:
npm run buildAdd 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.
Available Tools
3 toolscreate_documentationC
Create documentation from source files using a template
Inputs: project_id (required), sources (required), template_type (required), output_path.
list_templatesC
List available documentation templates
Inputs: category.
view_document_historyB
View history of previously generated documents
Inputs: limit, project_id.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: create_documentation generates new docs, list_templates shows available templates, and view_document_history accesses past outputs. There is no overlap or ambiguity between these functions.
All tools follow a consistent verb_noun pattern (create_documentation, list_templates, view_document_history) with snake_case throughout. The naming is predictable and readable.
With only 3 tools, the set feels thin for a documentation generation server. While it covers core operations, more tools might be expected for tasks like updating templates, deleting documents, or customizing generation parameters.
The tools cover creation, template listing, and history viewing, but there are notable gaps: no update or delete operations for documents or templates, and no way to customize generation beyond templates. This could limit agent workflows.
Related MCP Connectors
Generate and review codebase docs. 77 tools; scoped, credit-approved repository reviews.
Convert, create and edit Word, PowerPoint, Excel and PDF documents from any AI agent.
Versioned documentation registry and semantic search for AI tools and coding assistants.
Generate architecture docs, implementation plans, and dev tickets from your project requirements.
Related MCP Servers
- AlicenseBqualityNot gradedmaintenanceProvides tools for collecting and documenting code from directories.469 npm15MIT
- AlicenseAqualityDmaintenanceProvides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context.71MIT
- AlicenseNot gradedqualityDmaintenanceAutomates the creation of application user manuals by capturing screenshots and generating documentation, supporting any web application through configurable workflows and MCP integration with AI assistants.MIT
- AlicenseNot gradedqualityDmaintenanceA sophisticated server that enables AI assistants to automatically analyze codebases and generate comprehensive, professional documentation.2MIT