GitHub Project MCP Server
Manages GitHub Projects V2 alongside issues and labels: creates issues and adds them to projects with custom field values (single-select, number, date, iteration, text) in one call, performs label CRUD with auto-color theming, audits project issues for dangling/detached/incomplete items, rolls up recursive estimates from sub-issues, runs bulk create/update operations, manages project custom fields, transfers issues between repositories, and reports project progress metrics.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
GitHub Project MCP Server
A Model Context Protocol (MCP) server providing complementary tools for GitHub Projects V2 management. Install once, use with Claude Code, Claude Desktop, Cursor, Cline, and other MCP-compatible tools.
Quick Start
1. Install the Package
# Option A: Install globally with pip
pip install git+https://github.com/your-org/ghpro.git
# Option B: Clone and install locally
git clone <repository-url>
cd ghpro
pip install -e .
# Option C: Use uv (no install needed)
# Just configure the tool to run: uv run --directory /path/to/ghpro python -m github_project_mcp2. Create a GitHub Token
Go to GitHub Settings > Developer settings > Personal access tokens
Create a token with these scopes:
repo- Full repository accessproject- Project accesswrite:org- Organization access (for org projects)
3. Configure Your AI Tool
See Integration with AI Tools below.
Related MCP server: GitHub Project MCP Server
Integration with AI Tools
Claude Code (CLI)
After installing the package, add to your MCP settings:
Project-level (.mcp.json in your repo):
{
"mcpServers": {
"github-project": {
"command": "github-project-mcp",
"env": {
"GITHUB_TOKEN": "ghp_your_token"
}
}
}
}Note: Unlike configuration that requires owner/repo as environment variables, this MCP follows the official GitHub MCP pattern. The AI tool infers
ownerandrepofrom your workspace context and passes them per-call. You only need to provide your GitHub token.
With default project number (optional):
{
"mcpServers": {
"github-project": {
"command": "github-project-mcp",
"env": {
"GITHUB_TOKEN": "ghp_your_token",
"DEFAULT_PROJECT_NO": "1"
}
}
}
}Without installing (using uv):
{
"mcpServers": {
"github-project": {
"command": "uv",
"args": ["run", "--directory", "/path/to/ghpro", "python", "-m", "github_project_mcp"],
"env": {
"GITHUB_TOKEN": "ghp_your_token"
}
}
}
}Claude Desktop
Add to config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"github-project": {
"command": "github-project-mcp",
"env": {
"GITHUB_TOKEN": "ghp_your_token"
}
}
}
}Cursor / VS Code with Cline
Add to Cline MCP settings:
{
"mcpServers": {
"github-project": {
"command": "github-project-mcp",
"env": {
"GITHUB_TOKEN": "ghp_your_token"
}
}
}
}Continue.dev (VS Code)
Add to .continue/config.json:
{
"experimental": {
"modelContextProtocolServers": [
{
"transport": {
"type": "stdio",
"command": "github-project-mcp",
"env": {
"GITHUB_TOKEN": "ghp_your_token"
}
}
}
]
}
}Zed Editor
Add to Zed settings:
{
"context_servers": {
"github-project": {
"command": {
"path": "github-project-mcp",
"env": {
"GITHUB_TOKEN": "ghp_your_token"
}
}
}
}
}What This MCP Provides
Tool | Purpose |
| Create issue + add to project + set custom fields in one call |
| Label CRUD with auto-color theming |
| Find dangling, detached, or incomplete issues |
| Recursive estimate roll-up from children |
| Batch create/update operations |
| Custom field management |
| Move issue between repositories |
| Project progress analytics |
Use Official GitHub MCP For:
Basic issue CRUD (
issue_read,issue_write)Sub-issue linking (
sub_issue_write)Issue search (
search_issues)Project field listing (
projects_list.list_project_fields)
Tool Examples
create_task
Create an issue and add it to a project with custom field values:
{
"owner": "your-org",
"repo": "your-repo",
"title": "Implement authentication",
"description": "Add OAuth2 support",
"project_number": 1,
"labels": ["backend", "security"],
"issue_type": "Feature",
"fields": {
"Priority": {"option": "High"},
"Estimate": 8,
"Sprint": {"iteration": "Sprint 3"},
"Due Date": {"date": "2026-02-15"}
}
}Note: The AI tool automatically fills
ownerandrepofrom your workspace context. You don't need to specify them manually. Ifproject_numberis omitted, it usesDEFAULT_PROJECT_NOenv var or discovers the first linked project. Theissue_typeparameter sets the GitHub native issue type (only works for organization repositories with issue types enabled).
create_label
Create labels with auto-color theming:
{"name": "priority:high", "theme": "priority"}Themes: github, priority, type, size, status
audit_issues
Find project health problems:
{
"owner": "your-org",
"repo": "your-repo",
"project_number": 1,
"find_dangling": true,
"find_missing_fields": ["Estimate", "Priority"]
}get_project_metrics
Get project analytics:
{
"owner": "your-org",
"repo": "your-repo",
"project_number": 1
}Configuration
Environment Variables
Variable | Required | Default | Description |
| Yes | - | Personal Access Token |
| No | - | Default project number (fallback if not specified per-call) |
| No |
| For GitHub Enterprise |
| No |
|
|
Per-Call Parameters
All tools accept owner and repo as required parameters. These are automatically filled by your AI tool from the workspace context:
Parameter | Description |
| GitHub username or organization (inferred from workspace) |
| Repository name (inferred from workspace) |
| Optional - uses |
Features
Rate Limiting & Automatic Retry
The client automatically:
Tracks GitHub API rate limits from response headers
Waits when approaching limit exhaustion
Retries with exponential backoff on:
Rate limit errors (403)
Server errors (5xx)
Network errors
Transient errors ("timeout", "try again")
Pagination
All queries use cursor-based pagination for projects with >100 items.
Generic Field Handling
Works with ANY project field configuration:
fields={
"Priority": {"option": "High"}, # SINGLE_SELECT
"Estimate": 5, # NUMBER
"Due Date": {"date": "2026-02-15"}, # DATE
"Sprint": {"iteration": "Sprint 3"}, # ITERATION
"Notes": "Some text", # TEXT
}Development
# Install with dev dependencies
pip install -e ".[dev]"
# Run tests
pytest
# Type checking
mypy src/
# Linting
ruff check src/Project Structure
ghpro/
├── pyproject.toml
├── src/github_project_mcp/
│ ├── __init__.py
│ ├── __main__.py # python -m entry point
│ ├── server.py # MCP server
│ ├── config.py # Pydantic settings
│ ├── client/
│ │ ├── github.py # GraphQL client with retry
│ │ └── queries.py # GraphQL query strings
│ ├── tools/ # 12 tool implementations
│ ├── models/ # Pydantic models
│ └── utils/ # Helpers
└── tests/Troubleshooting
"Command not found: github-project-mcp"
Ensure package is installed:
pip install -e .Check it's in PATH:
which github-project-mcpOr use full path:
python -m github_project_mcp
"Project not found"
Verify
GITHUB_PROJECT_NUMBERorproject_numberparameterCheck
GITHUB_OWNER_TYPEis correct (userororg)
"Field not found"
Use exact field names (case-sensitive)
Use official MCP's
list_project_fieldsto discover field names
"Rate limit exceeded"
The client auto-retries with backoff
Check error details for
retry_aftervalue
License
MIT License - see LICENSE file
Contributing
Contributions welcome! Please open an issue or pull request.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Operate GitHub from your AI assistant: repos, PRs, issues, Actions. Previews and read-only mode.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Task management for people and AI agents, with scoped OAuth access to issues, projects, and docs.
Task management for people and AI agents, with scoped OAuth access to issues, projects, and docs.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables users to interact with GitHub's Projects v2 API through natural language for Agile project management, supporting repository details, issue tracking, and project board management operations.35GPL 2.0
- AlicenseNot gradedqualityDmaintenanceEnables management of GitHub projects and issues using GitHub's GraphQL API. Supports creating/updating issues with images, managing labels and assignees, organizing ProjectsV2 boards, and updating project item statuses.2MIT
- AlicenseNot gradedqualityDmaintenanceEnables managing GitHub Project views, priorities, dependencies, and metrics through natural language.1MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to manage GitHub Projects V2, including items, fields, and views through a standardized interface.178 npm1MIT