git-mcp
Provides tools for interacting with GitHub repositories, branches, pull requests, and commits
Click on "Install 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 MCP Server Plus
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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- -license-qualityBmaintenanceMCP Server for the GitHub API, enabling file operations, repository management, search functionality, and more.Last updated134,34689,088MIT
- AlicenseBqualityDmaintenanceMCP Server for the GitHub API, providing features for file operations, repository management, and advanced search, with automatic branch creation and comprehensive error handling.Last updated18308MIT
- AlicenseCqualityBmaintenanceA production-ready MCP server for GitHub operations, providing tools for repository management, issues, pull requests, and more via both MCP stdio and REST API.Last updated27MIT
- Alicense-qualityBmaintenanceSimple MCP server for GitHub operations, currently supports creating repositories.Last updated174MIT
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
An MCP server that gives your AI access to the source code and docs of all public github repos
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/abhi-d-git/mcp-server-git'
If you have feedback or need assistance with the MCP directory API, please join our Discord server