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"
      ]
    }
  }
}

打开服务器页面

Repowise

{
  "mcpServers": {
    "repowise": {
      "command": "uvx",
      "args": [
        "repowise"
      ]
    }
  }
}

打开服务器页面

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,不是估算。

全部匹配的服务器

G

git-mcp

开发

Generic remote server that provides documentation for any GitHub repository or project.

★ 8,529 MCP 服务器
R

Repowise

开发

Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.

★ 8,194 MCP 服务器 需要鉴权
S

SoloMD

文件系统

Read and search a folder of Markdown notes: search, backlinks, tags, tasks, outlines, git history.

★ 1,694 MCP 服务器
G

git-mcp-server

其他

Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more.

★ 245 MCP 服务器
B

basemind

开发

Full AI context and content layer for coding agents over one MCP server — tree-sitter code-map, document RAG, shared memory, multi-agent…

★ 124 MCP 服务器
S

shadowgit-mcp

开发

A Model Context Protocol (MCP) server that provides AI assistants with secure, read-only access to your ShadowGit repositories. This…

★ 50 MCP 服务器
C

code-memory

开发

Local semantic code search with Git history. Works offline, no API key needed.

★ 50 MCP 服务器
A

argot

开发
官方

Read-only context and complete checks against patterns learned from git history. Local; no LLM.

★ 48 MCP 服务器
G

git-courer

其他

Full git MCP server for LLM agents — 17 tools, AST annotator, auto-backups, real plumbing.

★ 46 MCP 服务器
P

project-rag

搜索

A Rust-based Model Context Protocol (MCP) server that provides AI assistants with powerful RAG (Retrieval-Augmented Generation)…

★ 33 MCP 服务器
S

spelungit

其他

An MCP server for searching git history using natural language

★ 29 MCP 服务器
M

metatron

开发

Self-hosted server that captures design patterns, conventions and decisions from git history and developer feedback and serves them to…

★ 27 MCP 服务器
S

Skipper

其他

Git and forge ops: local git via gitoxide, plus GitHub, GitLab, Gitea and Forgejo

★ 24 MCP 服务器
I

instagit

版本控制

MCP server for Instagit — AI-powered Git repository analysis for coding agents

★ 20 MCP 服务器
E

Ekbasis

其他

Foresee what git commands and multi-step changes will do, as calibrated probabilities

★ 18 MCP 服务器
L

Longhand

知识与记忆

Local memory for Claude Code: 13 MCP tools for semantic recall, file replay, and git history.

★ 16 MCP 服务器
N

narumiruna/gitingest-mcp

开发

Convert any Git repository into a text digest of its codebase using gitingest.

★ 12 MCP 服务器
K

komnet

开发

Lets AI coding agents coordinate asynchronously through a private git repository. No server.

★ 8 MCP 服务器
E

e2b-sandbox-mcp

开发

E2B cloud sandboxes: create isolated Linux VMs, clone repos, run commands, manage files and perform git operations without touching the…

★ 4 MCP 服务器
O

opendrs

开发

PR blast radius and 0-1 risk score from git history, so low-risk PRs can be auto-approved.

★ 3 MCP 服务器
T

tamishaks-2/git-context-mcp

版本控制

Structured Git repository analysis: project status, recent activity, code map and risk hotspots.

★ 3 MCP 服务器
L

lgh

版本控制

Local Git hosting for coding agents: serve any directory as an HTTP Git remote with push events, commit statuses, secret and large-file…

★ 1 MCP 服务器