给你的 cursor 接入数据库 Git MCP 服务

三葉Leaves Author

特别简单,需要有 python 环境

安装

1
pip install mcp-server-git

配置

打开 cursor 的 mcp.json 文件,其中添加如下配置:

1
2
3
4
5
6
"mcpServers": {
"git": {
"command": "python",
"args": ["-m", "mcp_server_git", "--repository", "path/to/git/repo"]
}
}
  • 标题: 给你的 cursor 接入数据库 Git MCP 服务
  • 作者: 三葉Leaves
  • 创建于 : 2025-10-16 00:00:00
  • 更新于 : 2026-03-16 12:05:05
  • 链接: https://blog.oksanye.com/47459e0a8c3c/
  • 版权声明: 本文章采用 CC BY-NC-SA 4.0 进行许可。
评论
目录
给你的 cursor 接入数据库 Git MCP 服务