ProjectDocHelper logo

ProjectDocHelper

by Stark1937

ProjectDocHelper is an MCP server that automatically generates project documentation and makes it accessible to AI development tools like Cursor. This improves the accuracy and relevance of AI responses.

View on GitHub

Last updated: N/A

ProjectDocHelper

ProjectDocHelper Logo

ProjectDocHelper Logo

Python

Python

Status

Status

Version

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!