Git MCP 服务器
根据 mcpnav 现有收录整理的 22 个与 Git 相关的 MCP 服务器。本页官方标记条目:1。简介和 star 数来自收录记录,不编造功能或星数。 22 个 MCP 服务器,按 GitHub star 数排序。
相关分类: 开发
官方服务器
它们能做什么
| 服务器 | 官方 | Stars | 接入方式 | 简介 |
|---|---|---|---|---|
| git-mcp | 8,529 | 本地 | Generic remote server that provides documentation for any GitHub repository or project. | |
| Repowise | 8,194 | 远程 | Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health. | |
| SoloMD | 1,694 | 本地 | Read and search a folder of Markdown notes: search, backlinks, tags, tasks, outlines, git history. | |
| git-mcp-server | 245 | 本地 | Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more. | |
| basemind | 124 | 本地 | Full AI context and content layer for coding agents over one MCP server — tree-sitter code-map, document RAG, shared memory, multi-agent comms, web crawl, git history + blame. 300+ languages, 10+ agent harnesses, pure Rust. | |
| shadowgit-mcp | 50 | 本地 | A Model Context Protocol (MCP) server that provides AI assistants with secure, read-only access to your ShadowGit repositories. This enables powerful debugging and code analysis capabilities by giving AI access to your project's fine-grained git history. | |
| code-memory | 50 | 本地 | Local semantic code search with Git history. Works offline, no API key needed. | |
| argot | 是 | 48 | 本地 | Read-only context and complete checks against patterns learned from git history. Local; no LLM. |
| git-courer | 46 | 本地 | Full git MCP server for LLM agents — 17 tools, AST annotator, auto-backups, real plumbing. | |
| project-rag | 33 | 本地 | A Rust-based Model Context Protocol (MCP) server that provides AI assistants with powerful RAG (Retrieval-Augmented Generation) capabilities for understanding massive codebases. Index codebases with FastEmbed + LanceDB, semantic code and git history searches with hybrid vector + BM25. | |
| spelungit | 29 | 本地 | An MCP server for searching git history using natural language | |
| metatron | 27 | 本地 | Self-hosted server that captures design patterns, conventions and decisions from git history and developer feedback and serves them to coding agents. | |
| Skipper | 24 | 本地 | Git and forge ops: local git via gitoxide, plus GitHub, GitLab, Gitea and Forgejo | |
| instagit | 20 | 本地 | MCP server for Instagit — AI-powered Git repository analysis for coding agents | |
| Ekbasis | 18 | 本地 | Foresee what git commands and multi-step changes will do, as calibrated probabilities | |
| Longhand | 16 | 本地 | Local memory for Claude Code: 13 MCP tools for semantic recall, file replay, and git history. | |
| narumiruna/gitingest-mcp | 12 | 本地 | Convert any Git repository into a text digest of its codebase using gitingest. | |
| komnet | 8 | 本地 | Lets AI coding agents coordinate asynchronously through a private git repository. No server. | |
| e2b-sandbox-mcp | 4 | 本地 | E2B cloud sandboxes: create isolated Linux VMs, clone repos, run commands, manage files and perform git operations without touching the local machine. | |
| opendrs | 3 | 本地 | PR blast radius and 0-1 risk score from git history, so low-risk PRs can be auto-approved. | |
| tamishaks-2/git-context-mcp | 3 | 本地 | Structured Git repository analysis: project status, recent activity, code map and risk hotspots. | |
| lgh | 1 | 本地 | Local Git hosting for coding agents: serve any directory as an HTTP Git remote with push events, commit statuses, secret and large-file detection and backups. |
怎么接入
下面的片段来自各服务器在 Official MCP Registry 中的元数据,与详情页的 Connect 区块相同。可选环境变量不会写入可运行片段。运行前请先核对命令。
argot
{
"mcpServers": {
"argot": {
"command": "npx",
"args": [
"-y",
"@tmonier/argot@0.2.127"
]
}
}
}
git-mcp-server
{
"mcpServers": {
"git-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/git-mcp-server@2.15.3"
]
}
}
}
code-memory
{
"mcpServers": {
"code-memory": {
"command": "uvx",
"args": [
"code-memory"
]
}
}
}
instagit
{
"mcpServers": {
"instagit": {
"command": "npx",
"args": [
"-y",
"instagit@0.1.5"
],
"env": {
"INSTAGIT_API_KEY": "<YOUR_VALUE>"
}
}
}
}
怎么选
官方 1 个,带远程端点 1 个,未列出远程端点 21 个。官方是目录里的来源标记,不是我们另行认定。若有官方服务器,建议从那里开始;再比较本地安装和远程端点,并打开服务器详情页查看生成的连接命令。star 数是我们最近一次抓取的 GitHub star,不是估算。
全部匹配的服务器
git-mcp
Generic remote server that provides documentation for any GitHub repository or project.
Repowise
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
SoloMD
Read and search a folder of Markdown notes: search, backlinks, tags, tasks, outlines, git history.
git-mcp-server
Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more.
basemind
Full AI context and content layer for coding agents over one MCP server — tree-sitter code-map, document RAG, shared memory, multi-agent…
shadowgit-mcp
A Model Context Protocol (MCP) server that provides AI assistants with secure, read-only access to your ShadowGit repositories. This…
code-memory
Local semantic code search with Git history. Works offline, no API key needed.
argot
Read-only context and complete checks against patterns learned from git history. Local; no LLM.
git-courer
Full git MCP server for LLM agents — 17 tools, AST annotator, auto-backups, real plumbing.
project-rag
A Rust-based Model Context Protocol (MCP) server that provides AI assistants with powerful RAG (Retrieval-Augmented Generation)…
spelungit
An MCP server for searching git history using natural language
metatron
Self-hosted server that captures design patterns, conventions and decisions from git history and developer feedback and serves them to…
Skipper
Git and forge ops: local git via gitoxide, plus GitHub, GitLab, Gitea and Forgejo
instagit
MCP server for Instagit — AI-powered Git repository analysis for coding agents
Ekbasis
Foresee what git commands and multi-step changes will do, as calibrated probabilities
Longhand
Local memory for Claude Code: 13 MCP tools for semantic recall, file replay, and git history.
narumiruna/gitingest-mcp
Convert any Git repository into a text digest of its codebase using gitingest.
komnet
Lets AI coding agents coordinate asynchronously through a private git repository. No server.
e2b-sandbox-mcp
E2B cloud sandboxes: create isolated Linux VMs, clone repos, run commands, manage files and perform git operations without touching the…
opendrs
PR blast radius and 0-1 risk score from git history, so low-risk PRs can be auto-approved.
tamishaks-2/git-context-mcp
Structured Git repository analysis: project status, recent activity, code map and risk hotspots.
lgh
Local Git hosting for coding agents: serve any directory as an HTTP Git remote with push events, commit statuses, secret and large-file…