git-mcp-server
If you are the rightful owner of git-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
An MCP server providing tools to interact with Git repositories, enabling LLMs and AI agents to perform Git operations via the MCP standard.
Empower your AI agents and development tools with seamless Git integration! The Git MCP Server acts as a bridge, allowing applications (MCP Clients) that understand the Model Context Protocol (MCP) – like advanced AI assistants (LLMs), IDE extensions, or custom scripts – to interact directly and safely with local Git repositories. Instead of complex scripting or manual CLI, your tools can leverage this server to automate Git workflows, gain repository insights, and integrate Git into AI-driven development. Built on the robust `mcp-ts-template`, this server provides a standardized, secure, and efficient way to expose Git functionality via the MCP standard. It achieves this by securely executing the standard `git` command-line tool installed on the system using Node.js's `child_process` module, ensuring compatibility and leveraging the full power of Git.
Features
Tools
仓库操作工具
git_init
,git_clone
,git_status
分支操作工具
git_branch_list
,git_branch_create
,git_checkout
,git_branch_delete
,git_merge
工作目录操作工具
git_add
,git_reset
,git_commit
,git_diff_unstaged
,git_diff_staged
,git_reset_commit
,git_clean
远程操作工具
git_remote_add
,git_remote_list
,git_fetch
,git_pull
,git_push
高级操作工具
git_tag_create
,git_tag_list
,git_stash_create
,git_stash_list
,git_stash_apply
,git_stash_pop
,git_cherry_pick
,git_rebase
,git_log
,git_show