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 💡
awesome-mcp-devtools
A curated list of developer tools, SDKs, libraries, and testing utilities for Model Context Protocol (MCP) server development.
microsandbox/microsandbox
An MCP server providing secure execution environment for untrusted code through microVM isolation with instant startup
Ryuhei-So/mermaid-cli-server
A MCP server that generates PNG images from Mermaid markdown using @mermaid-js/mermaid-cli.
@mmntm/weblate-mcp
A [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server that provides seamless integration with Weblate translation management platform. This server enables AI assistants to interact directly with your Weblate instance for comprehensive translation management.
idsulik/todo-mcp-server
A minimal Todo MCP server providing basic todo functionalities for testing and demonstrating MCP interactions
sonarqube
A Model Context Protocol (MCP) server that integrates with SonarQube Server or Cloud to provide code quality and security analysis, including direct analysis of code snippets.