T

mcp-github-project-manager

...
Created 12/13/2024bykunwarVivek

Categories

github-projectsmcpmcp-serverproductproduct-managementproduct-roadmapproductivityroadmaptypescript

Language:

TypeScript

Stars:

8

Forks:

4

GitHub Project Manager MCP Server

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.

Overview

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.

Key Features

  • 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)

Installation

# Install dependencies
npm install
# or
pnpm install

# Set up environment variables
cp .env.example .env
# Edit .env with your GitHub token and details

Configuration

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)

Usage

# Start the MCP server
npm start

# Run tests
npm test
npm run test:e2e

See the User Guide for detailed usage instructions.

Architecture

            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.

Current Status

Core Features

FeatureStatusNotes
Project Creation✅ CompleteFull support for v2 projects
Milestone Management✅ CompleteCRUD operations implemented
Sprint Planning✅ CompleteIncluding metrics tracking
Issue Management✅ CompleteWith custom fields support
Resource Versioning🏗️ In ProgressBasic versioning implemented
Webhook Integration📅 PlannedReal-time updates

MCP Implementation

ComponentStatusNotes
Tool Definitions✅ CompleteAll core tools implemented
Resource Management✅ CompleteWith optimistic locking
Response Handling🏗️ In ProgressProgressive responses WIP
Error Handling🏗️ In ProgressComprehensive error mapping
State Management✅ CompleteWith conflict resolution

See docs/mcp/gaps-analysis.md for detailed implementation status.

Documentation

Development

Testing

# Unit tests
npm test

# Integration tests
npm run test:integration

# End-to-end tests
npm run test:e2e

Code Quality

# Lint code
npm run lint

# Type check
npm run type-check

# Format code
npm run format

Contributing

See CONTRIBUTING.md for development guidelines.

            ## License

MIT

Last updated: 3/7/2025

Publisher info

kunwarVivek's avatar
India
5
followers
5
following
21
repos

More MCP servers built with TypeScript

docbase-mcp-server

MCP Server Implementation for DocBase

By f4401
aapi-mcp-server

Advanced API MCP Server

By Asphere-xyz1
DBX-MCP-Server

MCP Server for Dropbox

By amgadabdelhafez1