Git MCP 服务器
MCP Serverby cyanheads · Added 5mo ago
Claude
189
Install
git clone https://github.com/cyanheads/git-mcp-serverAdd to Claude
claude mcp add git-mcpQuick Setup Config
Copy & paste ready~/Library/Application Support/Claude/claude_desktop_config.json (macOS) %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"git-mcp": {
"command": "npx",
"args": [
"@modelcontextprotocol/git-mcp"
]
}
}
}Paste into your Claude Desktop config file, then restart Claude.
About
一个 MCP(模型上下文协议)服务器,支持 LLM 和 AI 代理与 Git 仓库交互。提供全面的 Git 操作工具,包括克隆、提交、分支、差异、日志、状态、推送、拉取、合并、变基、工作树、标签管理等,均通过 MCP 标准实现。需要在系统路径中安装并可访问 Git。
Tags
ai-mlmcp-servergitai