Basic information
About Git MCP Server
Create a local git repo easily with Git MCP: manage repositories, handle tags, and refresh repos without shell access.
Git is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by kjozsa. Supported transport: stdio. Runtime: Python. License: MIT. The repository has 3 GitHub stars. Source code is hosted on github.com. Related topics: community, developer-tools, git, git-automation, mcp-server.
Setup
{
"mcpServers": {
"git-mcp": {
"command": "uvx",
"args": [
"git-mcp"
],
"env": {
"GIT_REPOS_PATH": "/path/to/your/git/repositories"
}
}
}
}
{
"mcpServers": {
"git-mcp": {
"command": "uvx",
"args": [
"git-mcp"
],
"env": {
"GIT_REPOS_PATH": "/path/to/your/git/repositories"
}
}
}
}
{
"servers": {
"git-mcp": {
"command": "uvx",
"args": [
"git-mcp"
],
"env": {
"GIT_REPOS_PATH": "/path/to/your/git/repositories"
}
}
}
}
Git MCP Server — by kjozsa config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"git-mcp": {
"command": "uvx",
"args": [
"git-mcp"
],
"env": {
"GIT_REPOS_PATH": "/path/to/your/git/repositories"
}
}
}
}
Git MCP Server — by kjozsa tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Git?
A Model Context Protocol (MCP) server that provides tools for LLMs to read, search, and manipulate Git repositories. It enables automated repository interaction and version control operations through a standard MCP interface.
How to use Git?
Install with uvx mcp-server-git (no explicit install needed) or via pip install mcp-server-git. Add the server configuration to your MCP client (Claude Desktop, VS Code, Zed, or Zencoder) specifying the repository path with --repository. Run directly with python -m mcp_server_git if installed via pip.
Key features of Git
- Show working tree status with
git_status - View unstaged, staged, or branch/commit diffs
- Stage and commit changes with
git_addandgit_commit - Create and switch branches with
git_create_branchandgit_checkout - List branches with flexible filtering via
git_branch - View commit logs with optional date range filtering
Use cases of Git
- Allow LLM agents to automatically stage and commit code changes
- Enable code review by comparing branches or commits
- Automate repository workflows like branch creation and checkout
- Provide commit history analysis for debugging or reporting
- Let non-technical users interact with git via natural language
Frequently asked questions
1 What does this server do vs using git directly?
It wraps Git operations into MCP tools that LLMs can call programmatically, allowing automated repository interaction without manual command-line input.
2 What are the runtime requirements?
Python and either uv (recommended) or pip. For Docker usage, Docker must be installed, and directories are mounted as bind mounts for repository access.
3 How do I install it?
Use uvx mcp-server-git (no explicit install) or pip install mcp-server-git. For Docker, build with docker build -t mcp/git . from the source directory.
4 How can I debug the server?
Run the MCP inspector: npx @modelcontextprotocol/inspector uvx mcp-server-git. Or check Claude logs with tail -f ~/Library/Logs/Claude/mcp*.log.
5 Is this stable?
The server is currently in early development; tools and functionality are subject to change and expansion.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In