git-mcp
Provides tools for interacting with GitHub repositories, branches, pull requests, and commits
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., "@git-mcpshow my repos"
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.
git-mcp
Standalone MCP server for GitHub. Implements the MCP Platform Spec. Works independently or registered with mcp-gateway.
Quickstart
cp .env.example .env
# Fill in GITHUB_TOKEN, GITHUB_DEFAULT_OWNER
docker compose up --build
curl http://localhost:3002/healthRun locally:
npm install && npm run devRelated MCP server: GitHub Prod MCP
Tools
Tool | Description |
| List repos for an owner or org |
| List branches in a repository |
| Create a branch from a base branch |
| List PRs (open / closed / all) |
| Open a new pull request |
| Recent commits on a branch |
| Add a comment to a pull request |
Environment Variables
Variable | Description |
| Server name (default: |
| Port (default: |
| URL the gateway uses to reach this server |
| Gateway URL — omit to skip auto-registration |
| GitHub personal access token |
| Default org/user when owner not specified |
Testing Standalone
# Health
curl http://localhost:3002/health
# List tools
curl -X POST http://localhost:3002/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}'
curl -X POST http://localhost:3002/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}'Connect directly in VS Code (bypass gateway)
{
"mcp": {
"servers": {
"git": { "type": "http", "url": "http://localhost:3002/mcp" }
}
}
}This server cannot be deployed
Maintenance
Related MCP Connectors
Create, deploy, and operate MCP servers directly from your GitHub repositories.
A MCP server built for developers enabling Git based project management with project and personal…
MCP server for siGit (sigit.si): browse repos, search code, manage PRs/issues, web search.
An MCP server that gives your AI access to the source code and docs of all public github repos
Related MCP Servers
- -licenseNot gradedqualityAmaintenanceMCP Server for the GitHub API, enabling file operations, repository management, search functionality, and more.89,959 npm90,196MIT
- AlicenseCqualityDmaintenanceA production-ready MCP server for GitHub operations, providing tools for repository management, issues, pull requests, and more via both MCP stdio and REST API.27MIT
- AlicenseBqualityDmaintenanceSimple MCP server for GitHub operations, currently supports creating repositories.548 npmMIT
- FlicenseNot gradedqualityDmaintenanceMCP server for GitHub operations, providing tools for repository management, issues, pull requests, and code search.-