A Model Context Protocol (MCP) server implementation that provides GitHub Projects functionality through standardized tools and resources. This server enables LLM clients to manage GitHub Projects programmatically through the MCP interface.
This server implements the Model Context Protocol to expose GitHub Projects functionality to LLM clients. It provides tools for managing projects, milestones, sprints, and metrics through GitHub's GraphQL API while maintaining state and handling errors according to MCP specifications.
-
Project Management
- Create and manage GitHub Projects (v2)
- Handle project settings and configurations
- Manage project visibility and access
-
Project Resources
- Issues and milestones management
- Sprint planning and tracking
- Custom fields and views
- Resource versioning and locking
-
MCP Implementation
- Full MCP specification compliance
- Standardized tool definitions
- Resource state management
- Progressive response handling
- Comprehensive error handling
-
GitHub Integration
- GraphQL API integration
- Rate limit handling
- Optimistic concurrency
- Webhook support (planned)
# Install dependencies
npm install
# or
pnpm install
# Set up environment variables
cp .env.example .env
# Edit .env with your GitHub token and details
Required environment variables:
GITHUB_TOKEN=your_github_token
GITHUB_OWNER=repository_owner
GITHUB_REPO=repository_name
The GitHub token requires these permissions:
repo
(Full repository access)project
(Project access)write:org
(Organization access)
# Start the MCP server
npm start
# Run tests
npm test
npm run test:e2e
See the User Guide for detailed usage instructions.
The server follows Clean Architecture principles with distinct layers:
- Domain Layer: Core entities and repository interfaces
- Infrastructure Layer: GitHub API integration and implementations
- Service Layer: Business logic coordination
- MCP Layer: Tool definitions and request handling
See ARCHITECTURE.md for detailed architecture documentation.
Feature | Status | Notes |
---|---|---|
Project Creation | β Complete | Full support for v2 projects |
Milestone Management | β Complete | CRUD operations implemented |
Sprint Planning | β Complete | Including metrics tracking |
Issue Management | β Complete | With custom fields support |
Resource Versioning | ποΈ In Progress | Basic versioning implemented |
Webhook Integration | π Planned | Real-time updates |
Component | Status | Notes |
---|---|---|
Tool Definitions | β Complete | All core tools implemented |
Resource Management | β Complete | With optimistic locking |
Response Handling | ποΈ In Progress | Progressive responses WIP |
Error Handling | ποΈ In Progress | Comprehensive error mapping |
State Management | β Complete | With conflict resolution |
See docs/mcp/gaps-analysis.md for detailed implementation status.
- User Guide - Detailed usage instructions
- Architecture - System architecture and design
- Contributing - Development guidelines
- MCP Documentation - MCP-specific details
# Unit tests
npm test
# Integration tests
npm run test:integration
# End-to-end tests
npm run test:e2e
# Lint code
npm run lint
# Type check
npm run type-check
# Format code
npm run format
See CONTRIBUTING.md for development guidelines.