Git Command MCP Server
@ukiuni
About Git Command MCP Server
mcp server for git command wrapper
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mpc-git": {
"command": "node",
"args": [
"/path_to_mcp-git/mcp-git/dist/index.js"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Git Command MCP Server?
It is an MCP server that provides tools for executing various Git commands. It requires a local installation of Git (git or git.exe) and is designed for use with MCP clients like Roo Code or Claude Desktop.
How to use Git Command MCP Server?
Install via npm i mcp-git or clone the repository, then run npm install. Configure your MCP client with the command node and an argument pointing to the absolute path of dist/index.js. Tools are invoked using a git- prefix (e.g., git-status, git-commit).
Key features of Git Command MCP Server
- Executes Git commands through the Model Context Protocol.
- Tools follow a consistent
git-naming convention. - Returns STDOUT, STDERR, and server-side error messages.
- Requires Git installed locally on the system.
- Supports popular MCP clients like GitHub Copilot and Cursor.
- Open source under the MIT License.
Use cases of Git Command MCP Server
- Automate Git operations via AI assistants (e.g., committing, adding files).
- Integrate version control commands directly into MCP‑powered workflows.
- Run Git status, logs, or diffs without leaving the chat interface.
- Enable AI agents to manage repositories programmatically.
FAQ from Git Command MCP Server
What Git commands are supported?
The server provides tools for many common Git commands, each named with a git- prefix (e.g., git-add, git-commit, git-status). The exact list is not exhaustive in the README but covers standard operations.
What are the runtime requirements?
You need Node.js, npm, and a local Git installation (git or git.exe).
Where can I report issues or get help?
Visit the GitHub repository at http://github.com/ukiuni/mcp-git to open issues or discuss.
How do I connect this server from an MCP client?
Use the JSON configuration:
{
"mcpServers": {
"mpc-git": {
"command": "node",
"args": ["/path_to_mcp-git/mcp-git/dist/index.js"]
}
}
}
How is the tool output structured?
Results are returned as text content containing STDOUT, STDERR, or ERROR sections. If the command succeeds with no output, a success message is provided instead.
More Version Control MCP servers
Code Review Server
crazyrabbitLTCA MCP server for code reviews
MCP Linear
tacticlaunchMCP server that enables AI assistants to interact with Linear project management system through natural language, allowing users to retrieve, create, and update issues, projects, and teams.
Jira MCP
nguyenvanduocitA Go-based MCP (Model Control Protocol) connector for Jira that enables AI assistants like Claude to interact with Atlassian Jira. This tool provides a seamless interface for AI models to perform common Jira operations including issue management, sprint planning, and workflow tra
Bitbucket MCP
MatanYeminiBitbucket MCP - A Model Context Protocol (MCP) server for integrating with Bitbucket Cloud and Server APIs
Git MCP Server
cyanheadsA Git MCP server for AI agents. STDIO & Streamable HTTP.
Comments