GitMCP - GitHub MCP Server
@ProCreations-Official
About GitMCP - GitHub MCP Server
A Model Context Protocol (MCP) server that provides GitHub integration for AI assistants like Claude. Now supports Anthropic Integrations for remote connectivity!
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"gitmcp": {
"command": "python",
"args": [
"gitmcp.py"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is GitMCP - GitHub MCP Server?
GitMCP - GitHub MCP Server is a Model Context Protocol (MCP) server that provides comprehensive GitHub integration for AI assistants like Claude, enabling seamless repository management, code browsing, and collaborative workflows.
How to use GitMCP - GitHub MCP Server?
Install Python 3.8+, then pip install fastmcp PyGithub. Download or clone the gitmcp.py script. Obtain a GitHub Personal Access Token with repo, user, and optionally delete_repo scopes. Configure your AI client (Claude Desktop, VS Code, or Cursor) to use python with the script path and GITHUB_TOKEN environment variable. Start the server and interact through your assistant.
Key features of GitMCP - GitHub MCP Server
- Repository management (create, list, delete)
- File and folder operations with batch commits
- Branch management and code search
- Smart forking and cross‑repo pull requests
- Complete fork‑to‑PR contribution workflow
- PR collaboration (reviews, comments, auto‑merge)
- Full GitHub Issues management (create, update, close, labels, assignments, comments)
Use cases of GitMCP - GitHub MCP Server
- Fork a repository, create a feature branch, make changes, and submit a pull request in one command.
- Fix a typo in an open‑source README with the complete workflow handled automatically.
- Review a pull request, submit approval, and request additional reviewers.
- Create and manage issues with labels, assignments, and milestones.
- Search for code across repositories and batch update or delete files.
FAQ from GitMCP - GitHub MCP Server
What is the Model Context Protocol (MCP)?
MCP is an open standard developed by Anthropic that enables AI assistants to connect securely with external data sources and tools, described as "USB‑C for AI applications."
What are the prerequisites for running GitMCP?
Python 3.8+, pip with fastmcp and PyGithub packages, and a GitHub Personal Access Token with at least repo and user scopes.
How do I configure GitMCP with Claude Desktop?
Add an entry to claude_desktop_config.json with the command python, the script path, and the environment variable GITHUB_TOKEN set to your token.
Does GitMCP handle existing forks gracefully?
Yes, the server includes intelligent error handling that avoids "fork already exists" errors and works even if the branch already exists.
Can GitMCP manage GitHub Issues?
Yes, it provides full issue management: create, update, close, comment, label, assign, and search issues with advanced filters.
Frequently asked questions
What is the Model Context Protocol (MCP)?
MCP is an open standard developed by Anthropic that enables AI assistants to connect securely with external data sources and tools, described as "USB‑C for AI applications."
What are the prerequisites for running GitMCP?
Python 3.8+, pip with `fastmcp` and `PyGithub` packages, and a GitHub Personal Access Token with at least `repo` and `user` scopes.
How do I configure GitMCP with Claude Desktop?
Add an entry to `claude_desktop_config.json` with the command `python`, the script path, and the environment variable `GITHUB_TOKEN` set to your token.
Does GitMCP handle existing forks gracefully?
Yes, the server includes intelligent error handling that avoids "fork already exists" errors and works even if the branch already exists.
Can GitMCP manage GitHub Issues?
Yes, it provides full issue management: create, update, close, comment, label, assign, and search issues with advanced filters.
Basic information
More Version Control MCP servers
GitLab MCP Server
yoda-digitalProduction-grade GitLab MCP server with 86 tools — full GitLab control from any AI agent (Claude, Cursor, Zed).
MCP Atlassian
soopersetMCP server for Atlassian tools (Confluence, Jira)
Bitbucket MCP
MatanYeminiBitbucket MCP - A Model Context Protocol (MCP) server for integrating with Bitbucket Cloud and Server APIs

GitLab
modelcontextprotocolModel Context Protocol Servers
mcp-github-trending MCP Server
hetaoBackendMCP server for getting github trending repos & developers
Comments