A
securityA
licenseA
qualityMCP Server for the GitHub API, enabling file operations, repository management, search functionality, and more.
Last updated -
22,573
67,659
MIT License
模型上下文协议 (MCP) 服务器,通过标准化接口提供增强的 Git 操作。该服务器与 MCP 生态系统集成,为 AI 助手提供 Git 功能。
添加到您的 MCP 设置文件:
GIT_DEFAULT_PATH
:(可选)Git 操作的默认路径GITHUB_PERSONAL_ACCESS_TOKEN
:(可选)用于 GitHub 操作的 GitHub 个人访问令牌init
:初始化一个新的 Git 存储库clone
:克隆存储库status
:获取存储库状态add
:阶段文件commit
:创建提交push
:将提交推送到远程pull
:从远程拉取更改branch_list
:列出所有分支branch_create
:创建一个新分支branch_delete
:删除分支checkout
:切换分支或恢复工作树文件tag_list
:列出标签tag_create
:创建标签tag_delete
:删除标签remote_list
:列出遥控器remote_add
:添加远程remote_remove
:删除远程stash_list
:列出存储stash_save
:将更改保存到存储区stash_pop
:应用和删除存储bulk_action
:按顺序执行多个 Git 操作麻省理工学院
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Git MCP 服务器允许 AI 助手通过模型上下文协议执行增强的 Git 操作,支持核心 Git 功能、分支和标签管理、GitHub 集成等。
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Sheshiyer/git-mcp-v2'
If you have feedback or need assistance with the MCP directory API, please join our Discord server