git-mcp
Provides tools for interacting with GitHub repositories, branches, pull requests, and commits
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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" }
}
}
}Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
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 gradedqualityBmaintenanceMCP Server for the GitHub API, enabling file operations, repository management, search functionality, and more.127,455 npm91,952MIT
- 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.5ISC
- FlicenseNot gradedqualityDmaintenanceMCP server for GitHub operations, providing tools for repository management, issues, pull requests, and code search.-