GitHub Projects MCP Server
Provides tools for interacting with GitHub Projects and Issues via GitHub's GraphQL API, enabling creation and listing of projects, management of project items and fields, issue creation/update/listing, label management, and parent-child issue hierarchies including sub-issues.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GitHub Projects MCP Server create a bug issue in acme/web-app titled 'Login fails on Safari'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GitHub Projects MCP Server
An MCP (Model Context Protocol) server that provides tools for interacting with GitHub Projects via GraphQL API. This repo is managed by the Model Context Protocol (MCP) and is designed to work seamlessly with Claude Desktop. Written by ProRanked.
Features
Project Management
Create new projects for repositories or organizations
List projects for repositories and organizations
Get detailed project information including fields
List items in a project
Create new project items from issues/PRs
Update project item field values
Issue Management
Create new issues with automatic type detection and labeling
Smart detection of issue types: Epic, Feature, Bug, Task, Story, Documentation
Create parent-child relationships between issues (Epic > Feature > Story/Task)
Update existing issues (title, body, state, labels, assignees, milestone)
List issues with filtering options (state, labels, assignee)
Get detailed issue information including comments and project associations
View complete issue hierarchy (parents and children)
Ensure standard issue type labels exist in repositories
Related MCP server: mcp-github-pm
Setup
Clone this repository
Install dependencies:
npm installBuild the project:
npm run buildConfigure your GitHub token in Claude Desktop settings (see Integration section below)
Usage
Running the server
The server is designed to be run through Claude Desktop's MCP integration.
For local development with a .env file:
npm run devNote: The production server (npm start) requires the GITHUB_TOKEN environment variable to be set externally.
Available Tools
Project Tools
create_project
Create a new GitHub project.
Parameters:
owner(required): Repository owner or organization nametitle(required): Project titlerepo(optional): Repository name (omit for organization project)
list_projects
List GitHub projects for a repository or organization.
Parameters:
owner(required): Repository owner or organization namerepo(optional): Repository name (omit for organization projects)projectsType(optional): "repository" or "organization" (default: "repository")
get_project
Get detailed information about a specific project.
Parameters:
projectNumber(required): Project numberowner(required): Repository owner or organization namerepo(optional): Repository name (omit for organization projects)
list_project_items
List items in a GitHub project.
Parameters:
projectId(required): Project node IDfirst(optional): Number of items to return (default: 20)
create_project_item
Add an existing issue or pull request to a project.
Parameters:
projectId(required): Project node IDcontentId(required): Issue or PR node ID
update_project_item_field
Update a field value for a project item.
Parameters:
projectId(required): Project node IDitemId(required): Project item node IDfieldId(required): Field node IDvalue(required): New value for the field
Issue Tools
create_issue
Create a new issue in a repository with automatic type detection.
Parameters:
owner(required): Repository owner (automatically converted to lowercase)repo(required): Repository nametitle(required): Issue titlebody(optional): Issue body/descriptionlabels(optional): Array of label names to assignassignees(optional): Array of usernames to assignmilestone(optional): Milestone number to assignparentIssueNumber(optional): Parent issue number to link this issue to
Automatic Type Detection: The tool analyzes the title and body to automatically add appropriate labels:
Epic: Large initiatives, milestones, parent tasks
Feature: New functionality, enhancements, implementations
Bug: Errors, fixes, crashes, broken functionality
Task: General tasks, chores, refactoring, updates
Story: User stories, "as a user" scenarios
Documentation: Docs, README, guides
update_issue
Update an existing issue.
Parameters:
owner(required): Repository ownerrepo(required): Repository nameissueNumber(required): Issue numbertitle(optional): New titlebody(optional): New bodystate(optional): "open" or "closed"labels(optional): Replace all labels with this arrayassignees(optional): Replace all assignees with this arraymilestone(optional): New milestone number (or null to remove)
list_issues
List issues in a repository.
Parameters:
owner(required): Repository ownerrepo(required): Repository namestate(optional): "open", "closed", or "all" (default: "open")labels(optional): Array of labels to filter byassignee(optional): Filter by assignee usernamefirst(optional): Number of issues to return (default: 20)
get_issue
Get detailed information about a specific issue.
Parameters:
owner(required): Repository ownerrepo(required): Repository nameissueNumber(required): Issue number
ensure_labels
Ensure standard issue type labels exist in the repository.
Parameters:
owner(required): Repository ownerrepo(required): Repository namelabels(optional): Array of label definitions with:name(required): Label namecolor(required): Hex color without #description(optional): Label description
If no labels are provided, creates default issue type labels (epic, feature, bug, task, story, documentation).
link_issues
Create parent-child relationships between issues.
Parameters:
owner(required): Repository ownerrepo(required): Repository nameparentIssueNumber(required): Parent issue number (e.g., Epic or Feature)childIssueNumber(required): Child issue number to linklinkType(optional): Relationship type - "tracks" (default), "blocks", or "related"
set_parent
Set or update the parent of an issue (simpler alternative to link_issues).
Parameters:
owner(required): Repository ownerrepo(required): Repository nameissueNumber(required): Issue number to set parent forparentIssueNumber(required): Parent issue number (e.g., Epic or Feature)
get_issue_hierarchy
Get the complete hierarchy of an issue showing all parents and children.
Parameters:
owner(required): Repository ownerrepo(required): Repository nameissueNumber(required): Issue number to get hierarchy for
add_sub_issue
Add a native sub-issue relationship using GitHub beta API (creates parent-child relationship visible in GitHub's UI).
Parameters:
owner(required): Repository ownerrepo(required): Repository nameparentIssueNumber(required): Parent issue numberchildIssueNumber(required): Child issue number to add as sub-issue
Note: This uses GitHub's beta API. If not available, it falls back to task list approach.
Integration with Claude Desktop
Add to your Claude Desktop configuration file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"github-projects": {
"command": "node",
"args": ["/path/to/github-projects-mcp/dist/index.js"],
"env": {
"GITHUB_TOKEN": "your_github_personal_access_token"
}
}
}
}Required GitHub Token Permissions:
repo- For accessing repository projectsread:org- For accessing organization projectsproject- For full project access (read/write)
Create your token at: https://github.com/settings/tokens
Example Usage
Project Examples
Create a new project:
Tool: create_project Arguments: { "owner": "octocat", "repo": "hello-world", "title": "My New Project" }List all projects in a repository:
Tool: list_projects Arguments: { "owner": "octocat", "repo": "hello-world" }Get project details:
Tool: get_project Arguments: { "owner": "octocat", "repo": "hello-world", "projectNumber": 1 }
Issue Examples
Ensure issue type labels exist:
Tool: ensure_labels Arguments: { "owner": "octocat", "repo": "hello-world" }Create a new issue (auto-detects as bug):
Tool: create_issue Arguments: { "owner": "octocat", "repo": "hello-world", "title": "Bug: Application crashes on startup", "body": "When I try to start the application, it crashes with error XYZ.", "labels": ["high-priority"], "assignees": ["octocat"] }Create an epic:
Tool: create_issue Arguments: { "owner": "octocat", "repo": "hello-world", "title": "Epic: Implement user authentication system", "body": "This epic covers the implementation of a complete authentication system including login, registration, and password recovery." }Create a feature under an epic:
Tool: create_issue Arguments: { "owner": "octocat", "repo": "hello-world", "title": "Feature: Implement login functionality", "body": "Implement secure login with JWT tokens", "parentIssueNumber": 100 }Link existing issues:
Tool: link_issues Arguments: { "owner": "octocat", "repo": "hello-world", "parentIssueNumber": 100, "childIssueNumber": 101, "linkType": "tracks" }Set parent for an issue (simpler syntax):
Tool: set_parent Arguments: { "owner": "octocat", "repo": "hello-world", "issueNumber": 101, "parentIssueNumber": 100 }View issue hierarchy:
Tool: get_issue_hierarchy
Arguments: {
"owner": "octocat",
"repo": "hello-world",
"issueNumber": 100
}Add native sub-issue relationship (beta):
Tool: add_sub_issue
Arguments: {
"owner": "octocat",
"repo": "hello-world",
"parentIssueNumber": 100,
"childIssueNumber": 101
}Update an issue:
Tool: update_issue
Arguments: {
"owner": "octocat",
"repo": "hello-world",
"issueNumber": 42,
"state": "closed",
"labels": ["bug", "fixed"]
}List open issues with a specific label:
Tool: list_issues
Arguments: {
"owner": "octocat",
"repo": "hello-world",
"state": "open",
"labels": ["bug"]
}Add an issue to a project:
Tool: create_project_item
Arguments: {
"projectId": "PVT_kwDOBgKK184AAAAA",
"contentId": "I_kwDOBgKK185BBBBB"
}Development
The server is built with:
TypeScript for type safety
@modelcontextprotocol/sdk for MCP server implementation
@octokit/graphql for GitHub GraphQL API access
dotenv for environment configuration
Author
Created by ProRanked
License
MIT License - see LICENSE file for details
Available Tools
15 toolsadd_sub_issueC
Add a sub-issue relationship using GitHub beta API (creates native parent-child relationship)
Inputs: repo (required), owner (required), childIssueNumber (required), parentIssueNumber (required).
create_issueC
Create a new issue in a repository
Inputs: repo (required), owner (required), title (required), body, +4 more.
create_projectB
Create a new GitHub project for a repository or organization
Inputs: owner (required), title (required), repo.
create_project_itemC
Create a new item in a GitHub project
Inputs: contentId (required), projectId (required).
ensure_labelsC
Ensure standard issue type labels exist in the repository
Inputs: repo (required), owner (required), labels.
get_issueC
Get details of a specific issue
Inputs: repo (required), owner (required), issueNumber (required).
get_issue_hierarchyC
Get the full hierarchy of an issue (parents and children)
Inputs: repo (required), owner (required), issueNumber (required).
get_projectC
Get details of a specific GitHub project
Inputs: owner (required), projectNumber (required), repo.
link_issuesC
Create parent-child relationship between issues (Epic > Feature > Story/Task)
Inputs: repo (required), owner (required), childIssueNumber (required), parentIssueNumber (required), +1 more.
list_issuesC
List issues in a repository
Inputs: repo (required), owner (required), first, state, +2 more.
list_project_itemsC
List items in a GitHub project
Inputs: projectId (required), first.
list_projectsB
List GitHub projects for a repository or organization
Inputs: owner (required), repo, projectsType.
set_parentB
Set or update the parent of an issue (simpler alternative to link_issues)
Inputs: repo (required), owner (required), issueNumber (required), parentIssueNumber (required).
update_issueC
Update an existing issue
Inputs: repo (required), owner (required), issueNumber (required), body, +5 more.
update_project_item_fieldC
Update a field value for a project item
Inputs: value (required), itemId (required), fieldId (required), projectId (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
The project and issue CRUD tools are clearly distinct, but the hierarchy group is ambiguous: link_issues, set_parent, and add_sub_issue all create parent-child relationships, and the descriptions themselves admit one is a 'simpler alternative' to another and one uses a 'beta API'. An agent must guess which relationship mechanism to use, which is a real source of misselection.
Every tool follows a consistent snake_case verb_noun pattern (list_projects, get_project, create_project_item, update_issue, link_issues, add_sub_issue). The only mild deviation is 'ensure_labels', but it still reads as verb_object and parses cleanly alongside the rest.
15 tools is a reasonable size for a GitHub Projects plus issue-hierarchy server. However, three near-duplicate hierarchy-creation tools inflate the count slightly beyond what the domain requires.
Read/create/update coverage is solid for projects, items, and issues, but there is no update_project, delete_project, or delete_project_item, and no way to remove an item or a hierarchy link once created. These are notable gaps that could leave agents stuck when cleanup or correction is needed.
Maintenance
Related MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Project board for ChatGPT, Claude and coding agents, with scoped MCP access to projects and tasks.
Manage repositories, users, releases, and automate GitHub workflows
Track issues, projects and dependencies with your agent in a workspace you control.
Related MCP Servers
- 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
- AlicenseBqualityDmaintenanceEnables GitHub project management from Claude, supporting issue creation, milestones, labels, changelog generation, and repository stats.85 npm1MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to manage GitHub Projects V2, including items, fields, and views through a standardized interface.178 npm1MIT
- FlicenseNot gradedqualityDmaintenanceEnables managing GitHub Projects v2 boards through Claude Code and Codex, including project and item administration, field updates, sprint boards, epic rollups, and desired-state planning.-