ProjectDocHelper

An MCP (Model Context Protocol) server designed to automatically generate project documentation and make it accessible to AI development tools.

Visit Server
Added on 3/28/2025

ProjectDocHelper

ProjectDocHelper Logo

License Python Status Version

English | ็ฎ€ไฝ“ไธญๆ–‡

๐Ÿ“ Introduction

ProjectDocHelper is an MCP (Model Context Protocol) server designed to automatically generate project documentation and make it accessible to AI development tools like Cursor through MCP, thereby improving the accuracy and relevance of AI responses.

โœจ Key Features

  • ๐Ÿš€ Smart Documentation Generation: Automatically generates document sets based on project type
  • ๐Ÿ”„ Multiple Generation Modes: Supports both simple and detailed modes for different needs
  • ๐Ÿ“Š Progress Visualization: Displays progress bar during document generation
  • ๐Ÿ”Œ MCP Service Support: Cursor can access generated documents after service startup
  • ๐Ÿ“‹ Q&A Integration: Supports incorporating user-AI interactions into documentation

๐Ÿ› ๏ธ Tech Stack

  • Python 3.12+
  • argparse: Command-line argument parsing
  • Jinja2: Template engine
  • MCP Protocol: Integration with AI tools like Cursor

๐Ÿš€ Quick Start

Installation

pip install projectdochelper

Basic Usage

# Generate project documentation (simple mode)
projectdochelper generate --mode simple

# Generate project documentation (detailed mode)
projectdochelper generate --mode detailed

# Start MCP server
projectdochelper serve --port 8080

๐Ÿ“š Document Generation

ProjectDocHelper generates different document sets based on project type:

| Project Type | Generated Documents | | ------------ | ------------------- | | Frontend | ProjectRequirements.md, FrontendGuidelines.md, TechStack.md | | Backend | ProjectRequirements.md, BackendStructure.md, TechStack.md | | Full Stack | ProjectRequirements.md, FrontendGuidelines.md, BackendStructure.md, TechStack.md |

๐Ÿ”— Cursor Integration

  1. Start ProjectDocHelper service
  2. Configure MCP service address in Cursor
  3. Start enjoying enhanced AI-assisted development

๐Ÿ“‹ Q&A Integration Feature

ProjectDocHelper intelligently integrates user-AI interactions into relevant documentation:

  • Automatically identifies relevant Q&A content
  • Adds valuable information to corresponding documents
  • Maintains structured and readable documentation

๐Ÿค Contributing

Contributions are welcome! Please check out our Contributing Guide for details.

๐Ÿ“„ License

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

๐Ÿ’ก Note: ProjectDocHelper is under active development. Feedback and suggestions are welcome!