CursorPool
← 返回 MCP 列表
Git 本地仓库 MCP

Git 本地仓库 MCP

在本地仓库执行 diff、log、blame 与提交查询,辅助代码追溯。

ModelContextProtocol·880 次安装·1 个月前
↓ 添加到 Cursor

安装命令

终端
npx -y @modelcontextprotocol/server-git

在 Cursor 中配置(mcp.json)

{
  "mcpServers": {
    "git": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-git"
      ]
    }
  }
}