Git MCP
A MCP tool to using git, built with FastMCP.
Usage
You set up your repos folder on your own disk.
Run from source code
REPO_DIR=<your repo dir>
Start server.py
uv run server.py
This will start a MCP server on your machine.
Run from Docker
In your repos folder, run:
docker run --rm -t -v $(pwd):/repos -p 8000:8000 -e REPO_DIR=/repos svtter/git-mcp
Config
Config your MCP application
{
"mcpServers": {
"git": {
"url": "http://<your_host>:8000/sse"
}
}
}
For example,
{
"mcpServers": {
"git": {
"url": "http://localhost:8000/sse"
}
}
}
Recommend MCP Servers 💡
GXtract
GXtract MCP Server for VS Code, forks and other editors; provides tools for interacting with GroundX
unleash-mcp
A Model Context Protocol (MCP) server implementation that integrates with Unleash Feature Toggle system.
random-number-mcp
Production-ready MCP server that provides LLMs with essential random generation abilities, built entirely on Python's standard library.
mcp-matlab-executor
MCP tool enabling secure execution of MATLAB code with user approval prompts
mcp-language-server
An MCP server that runs and exposes a language server to LLMs, providing semantic tools like get definition, references, rename, and diagnostics to MCP enabled clients.
@octomind/octomind-mcp
An MCP server for octomind tools, resources and prompts