MCP GitHub Project Manager

MCP GitHub Project Manager

mcp-github-project-manager•bykunwarvivek

An MCP server that turns GitHub Projects v2 into an agentic project-management layer, letting AI agents claim tasks, heartbeat, submit work for review, and track token budgets using GitHub-native storage.

License: MIT•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Provides agent swarm coordination tools so agents can register, checkout tasks by strategy, heartbeat progress, and submit work products for review.
  • •Offers AI generation and planning actions to turn ideas into PRDs, tasks, and materialized GitHub issues, plus capacity and risk planning.
  • •Exposes deterministic GitHub tooling across projects, issues, pull requests, milestones, sprints, labels, branches, releases, workflows, events, status updates, and analytics.
  • •Stores agent state using GitHub-native storage such as a registry file on a branch, project custom fields, and issue comments instead of an external database.

BEST FOR

  • •Teams running multiple AI coding agents that need a shared work queue, task claims, and a review loop to avoid collisions.
  • •Projects wanting AI-generated PRDs and sprint planning that materialize directly into GitHub issues and milestones.
  • •Teams that want project management tooling backed entirely by GitHub without operating a database or Redis.

ABOUT MCP-GITHUB-PROJECT-MANAGER

MCP GitHub Project Manager is cataloged as an MCP server attributed to kunwarvivek. An MCP server that turns GitHub Projects v2 into an agentic project-management layer, letting AI agents claim tasks, heartbeat, submit work for review, and track token budgets using GitHub-native storage. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP GitHub Project Manager are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does it require an external database?

No. State is backed entirely by GitHub-native storage: the agent registry is a file on a dedicated branch, task claims are project fields, and work products are issue comments.

Are the AI features required to use the server?

No. The AI tools are optional; without a provider key, everything else works unchanged.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 29983bfccdb3 · 采集于 2026-11-13 09:29:08 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

MCP GitHub Project Manager

npm version License: MIT MseeP.ai Security Assessment Badge

The task substrate for AI coding agents. An MCP server that turns GitHub Projects v2 into an agentic project-management layer: agents register, self-assign work, heartbeat, submit work products for review, and spend against token budgets — through 21 compound tools exposing 175 actions, backed entirely by GitHub-native storage. No database, no Redis, no external infra.

You bring the agents (Claude Code, Codex, Cursor, Windsurf, Roo, OpenCode, any MCP client). This is the backbone that tells them what to work on and keeps them from colliding.

SurfaceDetail
Tools21 compound tools, 175 actions, action-routed
Resources6 read-only GitHub-backed views
Prompts6 reusable AI templates
TransportMCP v2 over stdio (webhook/SSE optional)
StorageGitHub issues, project fields, comments — no external infra
RuntimeNode >= 22.12.0 · MIT license

Why this exists

  • Agents need a work queue, not a chat window. agent_work / agent_manage give agents atomic task checkout, heartbeats, and a review loop instead of "go figure it out."
  • Budgets must be enforced somewhere the agent cannot skip. Each agent has a token budget with warning thresholds and a hard stop; the server debits itself, and record_usage covers the agent's own runtime spend.
  • AI plans are worthless if they never become issues. ai_generate runs idea → PRD → tasks → materialized GitHub issues, grouped into milestones and sprints.
  • Tool lists are a context tax. 21 tools instead of 175 keeps the schema small; discover_tools expands any domain or action on demand.
  • State should live where the work already is. The agent registry is a file on a dedicated branch (compare-and-swap writes), task claims are project fields, work products are issue comments — no new infrastructure to operate.

Quick start

Requires Node.js >= 22.12.0 (Node 24 recommended).

# 1. Install (global, or use npx / pnpm dlx / docker compose — see below)
npm install -g mcp-github-project-manager

# 2. Configure — pick ONE credential (GITHUB_TOKEN is not required)
export GITHUB_TOKEN="ghp_..."            # a PAT, or
# mcp-github-project-manager auth login --gh   # zero registration: sets up the GitHub CLI login, or
# GITHUB_OAUTH_CLIENT_ID=<id> mcp-github-project-manager auth login   # OAuth device flow, or
# nothing at all if `gh auth login` is already done (needs the `project` scope: `gh auth refresh -h github.com -s project`)
export GITHUB_OWNER="your-org-or-user"
export GITHUB_REPO="your-repo"

# 3. Run the MCP stdio server
mcp-github-project-manager

Register it with an MCP client:

{
  "mcpServers": {
    "github-project-manager": {
      "command": "npx",
      "args": ["-y", "mcp-github-project-manager"],
      "env": {
        "GITHUB_TOKEN": "ghp_...",
        "GITHUB_OWNER": "your-org-or-user",
        "GITHUB_REPO": "your-repo"
      }
    }
  }
}
# Claude Code CLI
claude mcp add github-project-manager -- npx -y mcp-github-project-manager

# Docker
docker compose up --build

# Docker + OAuth sign-in (token persists in the gpm-data volume at /data)
docker run -it --rm -v gpm-data:/data -e GITHUB_OAUTH_CLIENT_ID=<id> mcp-github-project-manager auth login
docker run -i --rm -v gpm-data:/data -e GITHUB_OAUTH_CLIENT_ID=<id> mcp-github-project-manager

Bind-mounting a host directory at /data requires it to be owned by uid 10001 (the container user). For headless/CI use a GitHub App or PAT instead — see the Deployment Guide.

Install paths: npm install -g mcp-github-project-manager, npx -y mcp-github-project-manager, pnpm dlx mcp-github-project-manager, or docker compose up --build.

A GitHub token (if you use a PAT) needs repo, project, and write:org scopes. Prefer not to create one? Run mcp-github-project-manager auth login --gh (no OAuth app needed; it drives the GitHub CLI login and checks the project scope), or sign in with your own account via the OAuth device flow (GITHUB_OAUTH_CLIENT_ID=<id> mcp-github-project-manager auth login; see OAuth device flow). Full setup options live in the Deployment Guide and the Getting Started tutorial.

Works with any stdio MCP client — Claude Desktop, Claude Code, Codex, Cursor, Windsurf, Roo Code, VS Code + Copilot, OpenCode, and custom harnesses.

The tool surface

Every tool takes an action string that routes to the underlying operation, so clients see 21 schemas instead of 175.

ToolGroupActionsCovers
manage_projectcore38Projects v2: CRUD, close/reopen, fields, views, items, templates, repo/team linking, collaborators
manage_issuescore22Issue CRUD, comments, drafts, advanced search, sub-issues, native blockers, issue types
manage_prscore7Create, list, update, merge, reviews
manage_milestonescore7CRUD, metrics, overdue and upcoming
manage_sprintscore9Create, update, delete (needs confirm: true), plan, add/remove issues, metrics
manage_labelscore2Create and list repository labels
manage_automationcore3Project workflows: list, get, delete
manage_iterationscore5Iteration config, current iteration, items, by-date, assign
manage_status_updatescore3Project status updates: create, list, get
manage_branchescore4Branch protection rules and branch listing
manage_releasescore6Releases: create, list, get, update, delete, latest
manage_workflowscore6GitHub Actions: list, dispatch, run status/logs, cancel
manage_eventsevents3Subscribe, recent events, replay
ai_generateai9PRD generate/enhance/parse, features, next task, complexity, expand, traceability, materialize
ai_analyzeai8Issue enrichment, triage, label suggestion, duplicate and related detection
ai_planai6Capacity, backlog priority, risk, sprint composition, roadmap, visualization
agent_workagents12Register, checkout, release, complete, heartbeat, review, task context
agent_manageagents18Registry, activity, work products, budgets, usage, PM coordination, convergence
systemsystem2Health check (live GitHub rate-limit probe), project field setup
analyticscore5Read-only sprint velocity and burndown, cycle time, throughput, project summary
discover_toolssystemmetaRuntime discovery of tools, actions, and parameters

Call shape — one discriminator, action-specific parameters:

{ "tool": "manage_project", "arguments": { "action": "create", "title": "Q3 Roadmap", "owner": "myorg" } }
{ "tool": "manage_issues", "arguments": { "action": "create", "title": "Add login form", "body": "..." } }
{ "tool": "agent_work", "arguments": { "action": "checkout_task", "agentId": "agent-abc123", "strategy": "highest_priority" } }
{ "tool": "discover_tools", "arguments": { "domain": "sprints" } }

discover_tools takes an optional domain (projects, issues, pull_requests, milestones, sprints, labels, automation, iterations, events, status_updates, analytics, ai_generation, ai_analysis, ai_planning, agents, system) or a free-text query. It stays exposed even when tool groups are filtered.

Cross-cutting contract: create actions accept an optional idempotencyKey (a retry within 24 h replays the first result instead of duplicating it); list actions that page return an additive nextCursor to pass back as cursor; every tool advertises _meta.schemaVersion. See docs/TOOLS.md.

Alongside the tools the server exposes 6 read-only resources (github://config, github://projects, github://sprints/current, github://milestones, github://agents, github://tools) and 6 prompts (review-prd, explain-task-complexity, suggest-issue-labels, analyze-sprint-risk, generate-release-notes, triage-issue).

Full parameter reference: docs/TOOLS.md.

What it can do

AI generation (ai_generate) — generate a PRD from an idea, enhance an existing one, parse a PRD into tasks, add a feature with impact analysis, recommend the next task, analyze complexity and risk, expand a task into subtasks, build a traceability matrix, and materialize tasks into real GitHub issues.

AI analysis (ai_analyze) — enrich one or many issues, triage (single or bulk), suggest labels, detect duplicates, find related issues.

AI planning (ai_plan) — calculate sprint capacity, prioritize a backlog, assess risk, suggest sprint composition, generate a roadmap or visualization. Given a projectId the roadmap is planned from that project's own issues; with autoCreate the milestones are created and assigned to them.

Agent swarm (agent_work / agent_manage) — agents register with role, runtime, and capabilities; claim tasks by priority, age, skills, or deadline; heartbeat with progress and blockers; submit work products (branch, PR, files, test results) for review; approve, reject, or decompose. PM-side actions add budgets, usage accounting, stale-agent reclaim, workload rebalancing, smart assignment, and one-call project convergence.

Deterministic GitHub surface — projects, issues, pull requests, milestones, sprints, labels, branches, releases, workflows, project automations, events, status updates, and analytics, all with plain action routing and no model in the loop.

The AI tools are optional. Without a provider key, everything else works unchanged.

The agent loop, end to end

{ "tool": "agent_work", "arguments": { "action": "register", "name": "claude-eng-1", "role": "engineer", "runtime": "claude-code", "capabilities": ["typescript", "testing"] } }
{ "tool": "agent_work", "arguments": { "action": "checkout_task", "agentId": "agent-abc123", "strategy": "highest_priority" } }
{ "tool": "agent_work", "arguments": { "action": "get_task_context", "issueNumber": 42 } }
{ "tool": "agent_work", "arguments": { "action": "heartbeat", "agentId": "agent-abc123", "status": "working", "taskId": "issue-42", "progress": 60, "currentBranch": "feat/42-add-login-form" } }
{ "tool": "agent_manage", "arguments": { "action": "submit_work_product", "agentId": "agent-abc123", "taskId": "issue-42", "issueNumber": 42, "branch": "feat/42-add-login-form", "prNumber": 99, "summary": "Added login form with validation" } }
{ "tool": "agent_work", "arguments": { "action": "complete_task", "agentId": "agent-abc123", "taskId": "issue-42", "summary": "Implemented and tested" } }

A runnable version of this loop (worker + reviewer, every id threaded from the previous response, non-zero exit on any failure) lives in examples/basic/agent-loop.ts; --plan prints the call sequence with symbolic references.

Checkout strategies: highest_priority, oldest_first, skills_match, milestone_deadline, ai. Budgets are set with agent_manage and action: "set_budget"; reset periods are daily, weekly, monthly, or never.

Where the state lives — no external database:

DataGitHub-native storage
Agent registryregistry.json on the agent-registry branch (Contents API, sha compare-and-swap)
Task claimsProject custom fields (agent_claimed_by, agent_status, agent_pr_number, …)
Work productsStructured issue comments
Budgets and heartbeatsAgent records in the registry

Configuration

VariableRequiredPurpose
GITHUB_TOKENno*GitHub PAT (repo, project, write:org) — one of several credential options
GITHUB_OWNERyesOwner (user or org) of the target repository
GITHUB_REPOyesTarget repository name
GITHUB_APP_ID, GITHUB_APP_PRIVATE_KEY, GITHUB_APP_INSTALLATION_IDnoGitHub App installation auth; highest-priority credential when all three are set (a partial set falls through to the next tier)
GITHUB_OAUTH_CLIENT_ID (+ optional GITHUB_OAUTH_CLIENT_SECRET, GITHUB_OAUTH_SCOPES, GITHUB_OAUTH_TOKEN_FILE)noOAuth device flow for auth login
ANTHROPIC_API_KEY, OPENAI_API_KEY, GOOGLE_API_KEY, PERPLEXITY_API_KEYnoUnlocks the ai_* tools
AI_{MAIN,PRD,RESEARCH,FALLBACK}_{PROVIDER,MODEL,API_KEY,BASE_URL}noPer-role provider, model, key, endpoint
MCP_TOOL_GROUPSnoExpose only some groups: core, ai, agents, events, system (default all)
SECRETS_DIRnoRead secrets from files named after the variable (Docker/k8s convention)
WEBHOOK_SECRET, WEBHOOK_PORT, SSE_ENABLEDnoWebhook/SSE transport; signature validation fails closed
WEBHOOK_HOST, EVENTS_AUTH_TOKEN, WEBHOOK_TRUSTED_PROXIESnoHTTP hardening: binds 127.0.0.1 by default; /events/* needs the bearer token (or OAuth 2.1 settings below); X-Forwarded-For trusted only from listed proxies
SYNC_ENABLED, CACHE_DIRECTORY, MAX_CACHE_ENTRIESnoBidirectional sync and cache tuning
RATE_LIMIT_FLOORnoRemaining GraphQL points below which requests back off proactively (default 100)
AUDIT_LOG_ENABLED, AUDIT_LOG_PATHnoAppend-only, redacted JSONL record of every state-changing tool call (.mcp-audit/mutations.jsonl)
OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_SERVICE_NAMEnoOpt-in OpenTelemetry tracing (tool.<name> spans)
AI_SESSION_TOKEN_LIMITnoPer-operation token budget for AI task generation (distinct from per-agent budgets)
LOG_LEVEL, LOG_FORMATnodebug|info|warn|error, text or json

* Credential chain (first hit wins, re-resolved per tool call): GitHub App installation → --token CLI flag → $SECRETS_DIR/GITHUB_TOKEN file → GITHUB_TOKEN env var → stored OAuth token from auth login → gh auth token. GITHUB_TOKEN is just one option; if you are already logged in with gh, you need no token configuration at all. The gh token is re-read every 60 s (and on a 401); pin an account with GH_CLI_USER. Disable the fallback with GH_CLI_TOKEN_FALLBACK=false. CLI flags override env vars everywhere.

The /events/* HTTP endpoints require a bearer token (EVENTS_AUTH_TOKEN) or OAuth 2.1 resource-server settings (OAUTH_ISSUER + OAUTH_AUDIENCE); with neither configured they answer 503 (set EVENTS_ALLOW_UNAUTHENTICATED=true for trusted dev only). See Inbound HTTP authentication.

Narrow the exposed surface with group filters (group names, not tool names):

MCP_TOOL_GROUPS=core        # project management only
MCP_TOOL_GROUPS=core,ai     # add the AI tools
MCP_TOOL_GROUPS=all         # default — everything

AI providers: anthropic, openai, google, google-vertex (Gemini via Google ADC — GOOGLE_VERTEX_PROJECT), perplexity, and openai-compatible (OpenRouter, Together, Groq, Ollama, LM Studio, Azure OpenAI, …). There are no default models — you configure the models you use, per role, so you can run OpenRouter for cheap daily work and a frontier model for PRD generation.

Full list: docs/CONFIGURATION.md.

Running it

Every script is package-manager agnostic — npm run X and pnpm run X are identical, and both lockfiles are committed.

TaskCommand
Build (tsc → fix-imports.js → chmod)npm run build
Typecheck (src + examples, src + tests)npm run typecheck
Lintnpm run lint
Formatnpm run format
Unit testsnpm test
Dev (watch)npm run dev
Coveragenpm run test:coverage
E2E, mocked GitHub/AInpm run test:e2e:tools
E2E, live API (uses rate limit)E2E_REAL_API=true npm run test:e2e:tools:real
AI suitesnpm run test:ai
Inspect the servernpm run inspect

Point an MCP client at a local build with {"command": "node", "args": ["build/index.js"]}.

Deployment and MCP-client setup: docs/deployment.md. When something misbehaves: docs/TROUBLESHOOTING.md.

Architecture at a glance

Four layers, dependencies pointing inward:

  1. Domain (src/domain/) — types, Zod schemas, errors, and rich entities (entities/) that carry their own invariants and state-transition logic. Orchestration and I/O live in services.
  2. Services (src/services/) — business logic; ProjectManagementService orchestrates per-feature services, src/services/ai/ holds the AI SDK providers.
  3. Infrastructure (src/infrastructure/) — github/ (Octokit GraphQL/REST), tools/ (tool definitions, registry, validators, compound/), plus cache, persistence, resilience, events, secrets, logger, MCP resources and prompts.
  4. MCP (src/index.ts) — boots McpServer (MCP v2) over stdio; every tool is registered with registerTool and shares one dispatchTool carrying the shutdown gate, in-flight tracking, and result formatting.

src/container.ts wires the components index.ts owns with tsyringe DI; src/env.ts and src/cli.ts resolve configuration (CLI flags beat env vars). Tool executors self-construct through one shared factory (createGitHubFactory()), a documented exception to container resolution. Authentication is resolved once by resolveGitHubAuth() (GitHub App outranks the PAT) and all GitHub traffic goes through one GitHubRequestExecutor with retry and proactive rate-limit budgeting. AI providers plug in behind AIServiceFactory: it returns a model per role, wraps it in usage-reporting middleware, and the shared dispatcher debits the calling agent's budget once per tool call (a hard-stop budget gates AI tools with BudgetExhausted).

A tool that runs and fails returns { content, isError: true } with a stable code in _meta.error so the model can recover; a JSON-RPC error is reserved for an unknown tool or protocol faults.

Design details: docs/architecture.md.

Contributing

Task tracking uses bd (beads) — bd ready, bd show <id>, bd update <id> --claim, bd close <id>. Code traversal and audits use GitNexus: run impact analysis before editing a symbol and change analysis before committing. Refresh the index with node .gitnexus/run.cjs analyze --index-only when that runner exists in your checkout; otherwise bootstrap the CLI with npx/bunx/pnpm dlx gitnexus@latest analyze. Per-task recipes live in .agents/skills/gitnexus-*/SKILL.md.

The quality gate, in order: npm run build → npm run typecheck → npm run lint → npm test.

Traps that bite contributors:

  • Source imports omit .js. The postbuild step adds the extension. Never ship raw tsc output — always run the full build.
  • isolatedModules is on. A type re-exported as a value is a compile error; use export type / import type, including for decorated constructor parameters.
  • Vitest rejects foreign test-runner CLI flags. --testPathPattern fails with CACError: Unknown option; filter with a positional pattern and exclude with --exclude='**/e2e/**'.
  • Mocks must use function, not an arrow, wherever the code under test calls new. A beforeEach with an implicit return is treated as a teardown callback — use a block body.

Start with CONTRIBUTING.md and docs/contributing/index.md.

License

MIT — see CHANGELOG.md for the release history.

Documentation

GuideWhat it covers
Tool Reference21 compound tools, 175 actions, per-action parameters
ConfigurationEvery environment variable and per-role AI setup
DeploymentInstall paths, Docker, MCP client configuration
ArchitectureLayers, patterns, data flow, agent orchestration
User GuideDay-to-day usage
TutorialsStep-by-step walkthroughs
TroubleshootingCommon failures and fixes
ContributingDevelopment workflow and standards

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP GitHub Project Manager from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-github-project-manager)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools