ukiuni/mcp-git
If you are the rightful owner of mcp-git 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.
This is a Model Context Protocol (MCP) server that provides tools for executing various Git commands.
The Git Command MCP Server is designed to facilitate the execution of Git commands through a Model Context Protocol (MCP) server. It requires the local installation of the Git command-line tool (git.exe) and is particularly useful for developers who want to automate or integrate Git operations within their applications. The server can be set up by cloning the repository from GitHub or installing it via npm. Once set up, it can be connected to from various MCP clients, allowing for seamless execution of Git commands. The server provides a structured output for each command, including standard output, standard error, and any execution errors. This makes it easier to handle and process the results of Git operations programmatically.
Features
- Supports execution of various Git commands through MCP.
- Provides structured output including STDOUT, STDERR, and ERROR.
- Can be installed via GitHub clone or npm.
- Compatible with multiple MCP clients like Roo Code and GitHub Copilot.
- Licensed under the MIT License.
Usages
usage with roo code
{ "mcpServers": { "mpc-git": { "command": "node", "args": [ "/path_to_mcp-git/mcp-git/dist/index.js" ] } } }
usage with github copilot
{ "mcpServers": { "mpc-git": { "command": "node", "args": [ "/path_to_mcp-git/mcp-git/dist/index.js" ] } } }
usage with claude desktop
{ "mcpServers": { "mpc-git": { "command": "node", "args": [ "/path_to_mcp-git/mcp-git/dist/index.js" ] } } }
usage with cursor
{ "mcpServers": { "mpc-git": { "command": "node", "args": [ "/path_to_mcp-git/mcp-git/dist/index.js" ] } } }