- Explore MCP Servers
- github_manager_mcp
Github Manager Mcp
What is Github Manager Mcp
github_manager_mcp is an open-source Model Context Protocol (MCP) server designed to automate GitHub project management for AI assistants and applications, specifically tailored for PRD-driven development workflows.
Use cases
Use cases include developers who want AI agents to manage GitHub project statuses automatically, teams following structured task breakdown methodologies, and those preferring automation over manual project management.
How to use
To use github_manager_mcp, clone the repository and ensure you have Python 3.10+ and a GitHub Personal Access Token with the necessary permissions. Follow the installation instructions to set up the server for automated project management.
Key features
Key features include automated project management, PRD-driven workflow support, task and subtask management, status column management, seamless AI integration, real-time updates, and progress tracking.
Where to use
github_manager_mcp is ideal for software development teams that utilize PRD-driven workflows and seek to enhance their project management processes through AI automation.
Overview
What is Github Manager Mcp
github_manager_mcp is an open-source Model Context Protocol (MCP) server designed to automate GitHub project management for AI assistants and applications, specifically tailored for PRD-driven development workflows.
Use cases
Use cases include developers who want AI agents to manage GitHub project statuses automatically, teams following structured task breakdown methodologies, and those preferring automation over manual project management.
How to use
To use github_manager_mcp, clone the repository and ensure you have Python 3.10+ and a GitHub Personal Access Token with the necessary permissions. Follow the installation instructions to set up the server for automated project management.
Key features
Key features include automated project management, PRD-driven workflow support, task and subtask management, status column management, seamless AI integration, real-time updates, and progress tracking.
Where to use
github_manager_mcp is ideal for software development teams that utilize PRD-driven workflows and seek to enhance their project management processes through AI automation.
Content
GitHub Project Manager MCP Server
An open-source Model Context Protocol (MCP) server that provides automated GitHub project management capabilities for AI assistants and applications, specifically designed to integrate with PRD-driven development workflows.
π Overview
The GitHub Project Manager MCP Server enables AI assistants to automate GitHub Projects v2 management through a structured workflow hierarchy (Project β PRDs β Tasks β Subtasks). This server bridges the gap between AI-driven development workflows and GitHubβs project management ecosystem, allowing AI agents like Claude/Cursor to automatically update project status as work progresses.
β¨ Features
- Automated Project Management: AI agents can create and manage GitHub Projects v2 boards automatically
- PRD-Driven Workflow: Supports hierarchical project structure with PRDs as top-level planning documents
- Task & Subtask Management: Create, update, and track tasks and subtasks within PRDs
- Status Column Management: Support for workflow status columns (Backlog, This Sprint, Up Next, In Progress, Done)
- Seamless AI Integration: Designed specifically for AI agent automation of project management tasks
- Real-time Updates: Automatically update GitHub Projects as development work progresses
- Progress Tracking: Query project health and progress through AI agents
π― Use Case
This MCP server is designed for developers who:
- Use PRD-driven development workflows
- Want AI agents to automatically manage their GitHub project status
- Follow structured task breakdown methodologies (PRD β Tasks β Subtasks)
- Prefer automation over manual project management
- Work with AI assistants like Claude Desktop or Cursor
π οΈ Installation
Prerequisites
- Python 3.10+
- GitHub Personal Access Token with appropriate permissions
- Access to GitHub Projects v2
Quick Start
-
Clone the repository
git clone [email protected]:thepeacefulprogrammer/github_manager_mcp.git cd github_manager_mcp
-
Install dependencies
pip install -r requirements.txt
-
Configure environment
cp .env.example .env # Edit .env and add your GitHub token
-
Run the server
python -m github_project_manager_mcp
π§ Configuration
Environment Variables
Create a .env
file in the root directory:
GITHUB_TOKEN=your_github_personal_access_token GITHUB_API_URL=https://api.github.com MCP_SERVER_PORT=3000 LOG_LEVEL=INFO
GitHub Token Permissions
Your GitHub Personal Access Token should have the following scopes:
project
- Project management accessrepo
- Repository access (for Projects v2)user
- User profile access
π Usage
MCP Client Integration
from mcp import Client
# Connect to the GitHub Project Manager MCP Server
client = Client("http://localhost:3000")
# Example: Create a new project
response = client.call("create_project", {
"name": "Q1 2024 Features",
"description": "Major feature development for Q1",
"repository": "owner/repo-name"
})
# Example: Add a PRD to the project
response = client.call("add_prd_to_project", {
"project_id": "project_123",
"prd_title": "User Authentication System",
"prd_description": "Implement secure user authentication",
"status": "This Sprint"
})
Available MCP Tools
Project Management
create_project
- Create a new GitHub Project v2 boardlist_projects
- List all available projectsget_project_details
- Get detailed project informationarchive_project
- Archive a completed project
PRD Management
add_prd_to_project
- Add a new PRD to a projectlist_prds
- List PRDs within a projectupdate_prd_status
- Update PRD status and detailsmove_prd_to_column
- Move PRD between status columns
Task Management
create_task
- Create a new task under a PRDlist_tasks
- List tasks within a PRD or projectupdate_task
- Update task details and statusmove_task_to_column
- Move task between status columns
Subtask Management
add_subtask
- Add subtask to a tasklist_subtasks
- List subtasks within a taskcomplete_subtask
- Mark subtask as completeget_task_progress
- Get completion status of task and subtasks
ποΈ Architecture
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ β AI Agent ββββββ GitHub Project ββββββ GitHub API β β (Claude/Cursor) β β Manager MCP β β Projects v2 β βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ β βββββββββββββββββββ β PRD Workflow β β Integration β βββββββββββββββββββ
π§ͺ Development
Setting up Development Environment
-
Fork and clone the repository
git fork [email protected]:thepeacefulprogrammer/github_manager_mcp.git cd github_manager_mcp
-
Create virtual environment
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install development dependencies
pip install -r requirements-dev.txt
-
Run tests
pytest tests/
-
Code formatting
black . isort . flake8 .
-
β οΈ Important: Follow Commit Rules
# Read the commit rules first cat COMMIT_RULES.md # NEVER bypass pre-commit hooks git commit -m "your message" # β Correct # git commit --no-verify # β FORBIDDEN
Project Structure
github_manager_mcp/ βββ src/ β βββ github_project_manager_mcp/ β β βββ __init__.py β β βββ server.py # Main MCP server implementation β β βββ github_client.py # GitHub GraphQL API client β β βββ handlers/ # MCP tool handlers β β β βββ project_handlers.py β β β βββ prd_handlers.py β β β βββ task_handlers.py β β β βββ subtask_handlers.py β β βββ models/ # Data models β β βββ utils/ # Utility functions βββ tasks/ # PRD and task files βββ tests/ # Test suite βββ docs/ # Documentation βββ examples/ # Usage examples βββ requirements.txt # Production dependencies βββ requirements-dev.txt # Development dependencies βββ README.md
π€ Contributing
We welcome contributions! Please see our Contributing Guide for details.
Development Workflow
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Make your changes
- Add tests for your changes
- Ensure all tests pass (
pytest
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to your branch (
git push origin feature/amazing-feature
) - Open a Pull Request
π Roadmap
- [x] Create comprehensive PRD for GitHub Project Manager
- [ ] Generate detailed task breakdown from PRD
- [ ] Implement core MCP server infrastructure
- [ ] Develop GitHub GraphQL API integration
- [ ] Create project management handlers
- [ ] Implement PRD management capabilities
- [ ] Add task and subtask management
- [ ] Integrate with AI workflow automation
- [ ] Add comprehensive testing suite
- [ ] Create documentation and examples
π― Vision
Our goal is to create the most seamless integration between AI-driven development workflows and GitHub project management, enabling developers to focus on building great software while AI agents handle the administrative overhead of project tracking and status updates.
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π¬ Community
- GitHub Discussions
π€ Contributing
We welcome contributions! Please see our Contributing Guide for details.
Development Workflow
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Make your changes
- Add tests for your changes
- Ensure all tests pass (
pytest
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to your branch (
git push origin feature/amazing-feature
) - Open a Pull Request
Code Standards
- Follow PEP 8 style guidelines
- Write comprehensive tests for all new features
- Include docstrings for all public methods
- Update documentation for any API changes
π Documentation
π Security
- Never commit GitHub tokens or sensitive information
- Use environment variables for all configuration
- Follow GitHubβs API rate limiting guidelines
- Report security vulnerabilities privately to maintainers
π Acknowledgments
- Model Context Protocol for the MCP specification
- GitHub REST API for comprehensive project management capabilities
- The open-source community for inspiration and contributions
π Support
- π Report Bug
- π‘ Request Feature
- π¬ Discussions
- π§ Email: [[email protected]]
β If this project helps you, please give it a star! β
Made with β€οΈ by The Peaceful Programmer