AI Skill Hub 强烈推荐:GitMCP代码助手 是一款优质的MCP工具。已获得 8.1k 颗 GitHub Star,AI 综合评分 8.2 分,在同类工具中表现稳健。如果你正在寻找可靠的MCP工具解决方案,这是一个值得深入了解的选择。
GitMCP代码助手 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
GitMCP代码助手 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/idosal/git-mcp
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"gitmcp----": {
"command": "npx",
"args": ["-y", "git-mcp"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 GitMCP代码助手 执行以下任务... Claude: [自动调用 GitMCP代码助手 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"gitmcp____": {
"command": "npx",
"args": ["-y", "git-mcp"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
<p align="center"> <img width="884" alt="image" src="https://github.com/user-attachments/assets/2bf3e3df-556c-49c6-ab7b-36c279d53bba" /> </p>
<p align="center"> <a href="#-what-is-gitmcp">What is GitMCP</a> • <a href="#-features">Features</a> • <a href="#-getting-started">Getting Started</a> • <a href="#-how-it-works">How It Works</a> • <a href="#-badge">Badge</a> • <a href="#-examples">Examples</a> • <a href="#-faq">FAQ</a> • <a href="#-privacy">Privacy</a> • <a href="#-contributing">Contributing</a> • <a href="#-license">License</a> </p> <div align="center">
<video src="https://github.com/user-attachments/assets/2c3afaf9-6c08-436e-9efd-db8710554430"></video>
Using GitMCP is easy! Simply follow these steps:
1. Clone the repository
git clone https://github.com/idosal/git-mcp.git
cd git-mcp
2. Install dependencies
pnpm install
3. Run locally for development
npm run dev
# or
pnpm dev
1. Install the MCP Inspector tool:
npx @modelcontextprotocol/inspector
2. In the inspector interface: - Set Transport Type to SSE - Enter your GitMCP URL (e.g., http://localhost:5173/docs) - Click "Connect"
Here are some examples of how to use GitMCP with different AI assistants and repositories:
For the GitHub repository https://github.com/microsoft/playwright-mcp, add https://gitmcp.io/microsoft/playwright-mcp as an MCP server to Windsurf.
Prompt to Claude: > "How do I use the Playwright MCP"
Windsurf will pull the relevant documentation from GitMCP to implement the memory feature correctly.
For the GitHub Pages site langchain-ai.github.io/langgraph, add https://langchain-ai.gitmcp.io/langgraph as an MCP server to Cursor.
Prompt to Cursor: > "Add memory to my LangGraph agent"
Cursor will pull the relevant documentation and code from GitMCP to correctly implement the memory feature.
You don't have to pick specific repositories. The generic gitmcp.io/docs endpoint allows AI to pick the GitHub project on the fly!
Prompt to any AI assistant: > "I want to learn about the OpenAI Whisper speech recognition model. Explain how it works."
Claude will pull the data from GitMCP and answer the question.
优质开源项目,解决AI编程关键痛点,8k星高热度验证。MCP标准化设计具良好扩展性,值得深度集成。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
总体来看,GitMCP代码助手 是一款质量优秀的MCP工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | git-mcp |
| 原始描述 | 开源MCP工具:Put an end to code hallucinations! GitMCP is a free, open-source, remote MCP ser。⭐8.1k · TypeScript |
| Topics | MCP协议代码生成AI集成开源幻觉消除 |
| GitHub | https://github.com/idosal/git-mcp |
| License | Apache-2.0 |
| 语言 | TypeScript |
收录时间:2026-05-14 · 更新时间:2026-05-16 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端