DocGen Documentation Generator
STDIOAutomates documentation creation from source files using templates and AI integration.
Automates documentation creation from source files using templates and AI integration.
Documentation Generator MCP Server for automated documentation creation from source files.
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.
Clone the repository:
git clone https://github.com/rjadhav/docgen-mcp.git cd docgen-mcp
Install dependencies:
npm install
Build the project:
npm run build
Add to your MCP settings file:
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": [] } } }
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": [] } } }
The DocGen MCP server exposes the following tools:
Generate documentation from source files using a template.
List available documentation templates.
View history of previously generated documents.
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 sectionCustom templates can be added by creating new .template
files in the templates directory.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.