GitHub Projects V2
Manage GitHub Projects V2 using the GitHub GraphQL API.
GitHub Projects V2 MCP Server
A Model Context Protocol (MCP) server that provides tools for managing GitHub Projects V2 through Claude and other MCP clients. This server uses the GitHub GraphQL API for interacting with GitHub Projects V2.
Features
- List and view GitHub Projects V2 for users and organizations
- Get project fields and items (issues, PRs, draft issues)
- Create issues and add them to projects
- Create draft issues directly in projects
- Update project item field values
- Delete items from projects
Usage
This server can be used with any MCP client, such as Claude Desktop. Add it to
your MCP client configuration (e.g., claude_desktop_config.json).
Option 1: Using Published Package
Here's an example configuration using uvx as the command runner:
{
"mcpServers": {
"github-projects": {
"command": "uvx",
"args": [
"mcp-github-projects"
],
"env": {
"GITHUB_TOKEN": "your_pat_here"
}
}
}
}
Make sure to replace your_pat_here with your actual GitHub Personal Access
Token.
Option 2: From Source Code
To run the project directly from source code, follow these steps:
Setup
-
Clone the repository:
git clone [email protected]:Arclio/github-projects-mcp.git cd github-projects-mcp -
Create and activate a virtual environment:
uv venv source venv/bin/activate -
Install dependencies:
uv pip install -e . -
Set your GitHub token as an environment variable:
Create a GitHub Personal Access Token and give it the necessary permissions. The required permissions are:
repo,project, andread:org.Add the token to your
.envfile after running this command:cp .env.example .envThen add the following to your
.envfile:export GITHUB_TOKEN=your_personal_access_token
Usage from source code
When using from source code, configure your MCP client as follows:
{
"mcpServers": {
"github-projects": {
"command": "uv",
"args": [
"--directory",
"/path/to/github-projects-mcp",
"run",
"mcp-github-projects"
],
"env": {
"GITHUB_TOKEN": "your_pat_here"
}
}
}
}
Make sure to replace /path/to/github-projects-mcp and your_pat_here with
your actual repository path and GitHub Personal Access Token.
Available Tools
list_projects: List GitHub Projects V2 for a given organization or userget_project_fields: Get fields available in a GitHub Project V2get_project_items: Get items in a GitHub Project V2 (supports filtering by state or custom single-select fields)create_issue: Create a new GitHub issueadd_issue_to_project: Add an existing GitHub issue to a Project V2update_project_item_field: Update a field value for a project itemcreate_draft_issue: Create a draft issue directly in a GitHub Project V2delete_project_item: Delete an item from a GitHub Project V2
See tool documentation in the server code for detailed usage information.
Development
The project is structured as follows:
src/github_projects_mcp/: Main package directoryserver.py: MCP server implementation with tool definitionsgithub_client.py: GraphQL client for GitHub API interactions
To contribute, make sure to:
- Add proper error handling for all GraphQL operations
- Add type annotations for all functions and parameters
- Update documentation when adding new tools or features
相關伺服器
GitHub MCP Server
Integrate with GitHub to access repositories, issues, and pull requests.
CData Bitbucket
A read-only MCP server for Bitbucket, enabling LLMs to query live data using the CData JDBC Driver.
Git MCP Server
An MCP server that allows AI agents to interact with Git repositories, supporting a wide range of operations like clone, commit, branch, and push.
Feather Code
A lightweight MCP server for interacting with GitHub repositories, requiring authentication.
GitHub Explorer MCP
Explore GitHub repositories, including file content, directory structure, and other metadata.
GIT-Pilot
A powerful GitHub automation and management tool providing a comprehensive API wrapper for GitHub operations.
GitHub MCP Server
Interact with the GitHub API to create and manage repositories, including setting descriptions, topics, and website URLs.
GitLab
A GitLab integration server providing access to GitLab's RESTful API tools, built on the fastmcp framework.
Git Commit Message Generator
Generates Conventional Commits style commit messages using LLM providers like DeepSeek and Groq.
Gitea MCP Server
A server for seamless integration with self-hosted Gitea platforms, allowing management of repositories and other resources.