git-mcp
Put an end to code hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project
MCP server by modelcontextprotocol · ★ 91.3k (shared repo) · updated yesterday
Tools to read, search and manipulate Git repositories (status, diff, log, commit, branches) via LLMs.
Choose your AI client and copy the config.
Add to claude_desktop_config.json — macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Then restart Claude. Setup guide
{
"mcpServers": {
"git": {
"command": "uvx",
"args": [
"mcp-server-git"
]
}
}
}Or add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project). Setup guide
{
"mcpServers": {
"git": {
"command": "uvx",
"args": [
"mcp-server-git"
]
}
}
}Or add to .vscode/mcp.json in your workspace. Setup guide
{
"servers": {
"git": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-server-git"
]
}
}
}Cascade → Actions → Open MCP config file (often ~/.config/devin/mcp_config.json). Setup guide
{
"mcpServers": {
"git": {
"command": "uvx",
"args": [
"mcp-server-git"
]
}
}
}Run in your terminal: Setup guide
claude mcp add git -- uvx mcp-server-gitCLI or add to ~/.codex/config.toml. Setup guide
codex mcp add git -- uvx mcp-server-git[mcp_servers.git]
command = "uvx"
args = ["mcp-server-git"]Cline panel → Configure MCP Servers, or ~/.cline/data/settings/cline_mcp_settings.json. Setup guide
{
"mcpServers": {
"git": {
"command": "uvx",
"args": [
"mcp-server-git"
]
}
}
}Run the server directly:
uvx mcp-server-gitPut an end to code hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project
A Model Context Protocol (MCP) server that helps read GitHub repository structure and important files.
A persistent, Git-versioned map of your whole codebase and database schema that coding agents read before they touch anything. Local-first MCP server + CLI in Go: a governed repository index of code knowledge that gives Claude Code, Codex, Cursor, and opencode long-term context, memory, and code intelligence.
Git-native persistent memory for AI coding agents. Implements Google OKF v0.2 with sub-300µs in-memory BM25 search, embedded MCP server, and progressive disclosure. Slashes token bloat by 80% with zero external databases or dependencies. Built in pure Go.
Model Context Protocol (MCP) server that lets AI assistants read Overleaf projects, parse LaTeX document structure, and push section-level edits back via Git. Compatible with Claude Desktop, Cursor, Windsurf, and any MCP client.
Production-oriented GitLab MCP server with a large tool surface for projects, issues, MRs and CI from any MCP client.