GitHub Projects MCP Server
Provides full CRUD operations for GitHub Projects V2, including managing projects, items, fields, and views through the GitHub API.
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 list my projects"
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
A Model Context Protocol (MCP) server for GitHub Projects V2. Enables AI assistants to manage GitHub Projects, items, fields, and views through a standardized interface.
Features
Full GitHub Projects V2 Support: Complete CRUD operations for projects, items, fields, and views
Dual Authentication: Support for both Personal Access Tokens (PAT) and GitHub App authentication
User & Organization Projects: Manage projects for both individual users and organizations
17 Specialized Tools: Comprehensive toolset for all project management operations
Type-Safe: Built with TypeScript for complete type safety
Well Tested: 100% unit test coverage
Related MCP server: GitHub Projects MCP Server
Quick Start
Installation
npm install @lexmata/github-projects-mcpConfiguration
Set your GitHub token as an environment variable:
export GITHUB_TOKEN=ghp_your_personal_access_tokenOr configure GitHub App authentication:
export GITHUB_APP_ID=123456
export GITHUB_APP_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----..."
export GITHUB_APP_INSTALLATION_ID=12345678Usage with Claude Desktop
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"github-projects": {
"command": "npx",
"args": ["@lexmata/github-projects-mcp"],
"env": {
"GITHUB_TOKEN": "ghp_your_token_here"
}
}
}
}Running Directly
npx @lexmata/github-projects-mcpAvailable Tools
Project Management
Tool | Description |
| List projects for a user or organization |
| Get detailed project information |
| Create a new project |
| Update project settings |
| Delete a project |
Item Management
Tool | Description |
| List all items in a project |
| Get item details |
| Add a draft issue to project |
| Add existing issue/PR to project |
| Update a field value on an item |
| Remove an item from project |
Field Management
Tool | Description |
| List all fields in a project |
| Create a custom field |
| Update field settings |
| Delete a custom field |
View Management
Tool | Description |
| List all views in a project |
| Get view details |
Documentation
Getting Started - Quick start guide
Authentication - Configure GitHub authentication
Tools Reference - Complete tool documentation
Configuration - All configuration options
Examples - Usage examples
Required GitHub Permissions
For Personal Access Tokens (Classic)
repo- Full control of private repositoriesproject- Full control of projects
For Fine-grained Personal Access Tokens
Repository permissions:
Issues: Read and writePull requests: Read and write
Organization permissions:
Projects: Read and write
For GitHub Apps
Repository permissions:
Issues: Read and writePull requests: Read and write
Organization permissions:
Projects: Read and write
Development
Prerequisites
Node.js 18+
pnpm 9+
Setup
# Clone the repository
git clone https://github.com/Lexmata/github-projects-mcp.git
cd github-projects-mcp
# Install dependencies
pnpm install
# Run tests
pnpm test
# Run tests with coverage
pnpm test:coverage
# Build
pnpm build
# Run in development mode
pnpm devProject Structure
src/
├── index.ts # Entry point
├── server.ts # MCP server setup
├── config.ts # Configuration handling
├── auth/ # Authentication providers
├── graphql/ # GraphQL client and queries
├── tools/ # Tool implementations
└── types/ # TypeScript typesContributing
Contributions are welcome! Please read our Contributing Guide for details on our code of conduct and the process for submitting pull requests.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Related
Model Context Protocol - The protocol specification
MCP SDK - Official MCP SDK
GitHub Projects API - GitHub GraphQL API documentation
Available Tools
17 toolsadd_draft_issueB
Add a new draft issue to a GitHub Project V2
Inputs: projectId (required), title (required), body, assigneeIds.
add_existing_issueB
Add an existing issue or pull request to a GitHub Project V2
Inputs: projectId (required), contentId (required).
create_fieldB
Create a new custom field in a GitHub Project V2
Inputs: projectId (required), name (required), dataType (required), singleSelectOptions.
create_projectC
Create a new GitHub Project V2
Inputs: owner (required), ownerType (required), title (required).
delete_fieldB
Delete a custom field from a GitHub Project V2
Inputs: fieldId (required).
delete_projectB
Delete a GitHub Project V2
Inputs: projectId (required).
get_projectB
Get detailed information about a specific GitHub Project V2
Inputs: owner (required), ownerType (required), projectNumber (required).
get_project_itemB
Get detailed information about a specific item in a GitHub Project V2
Inputs: projectId (required), itemId (required).
get_project_viewB
Get detailed information about a specific view in a GitHub Project V2
Inputs: projectId (required), viewNumber (required).
list_project_fieldsB
List all fields in a GitHub Project V2
Inputs: projectId (required), first, after.
list_project_itemsB
List all items (issues, pull requests, draft issues) in a GitHub Project V2
Inputs: projectId (required), first, after.
list_projectsA
List GitHub Projects V2 for a user or organization
Inputs: owner (required), ownerType (required), first, after.
list_project_viewsB
List all views in a GitHub Project V2
Inputs: projectId (required), first, after.
remove_project_itemB
Remove an item from a GitHub Project V2
Inputs: projectId (required), itemId (required).
update_fieldC
Update a field in a GitHub Project V2
Inputs: fieldId (required), name (required).
update_item_fieldB
Update a field value on an item in a GitHub Project V2
Inputs: projectId (required), itemId (required), fieldId (required), value (required).
update_projectB
Update a GitHub Project V2 (title, description, readme, visibility, or closed status)
Inputs: projectId (required), title, shortDescription, readme, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 17 tools
Each tool targets a distinct resource or action within GitHub Projects V2, with clear boundaries. For example, adding draft issues and adding existing issues are clearly differentiated by description, and all other tools have unique purposes.
All tools follow a consistent verb_noun pattern in snake_case, such as create_project, list_project_items, and update_item_field. The use of 'add' for issues vs 'create' for fields and projects is a minor convention shift but still logically consistent.
17 tools is appropriate for a comprehensive GitHub Projects V2 management server. The tool count covers all major CRUD operations for projects, fields, items, and views without being excessive.
The tool set covers most important workflows: creating, reading, updating, and deleting projects, fields, and items. However, it lacks tools for creating, updating, or deleting views, and there is no dedicated tool to get a specific field by ID (only list). These are minor gaps but do not severely hinder core functionality.
Maintenance
Related MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Operate GitHub from your AI assistant: repos, PRs, issues, Actions. Previews and read-only mode.
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 managing GitHub Project views, priorities, dependencies, and metrics through natural language.1MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to perform GitHub operations such as creating repositories, issues, pull requests, and more through natural language.-
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to programmatically manage GitHub Project V2 boards with 100+ tools for issues, fields, workflows, and automation via MCP.1MIT