Read, search, and manipulate Git repositories through MCP using a local Python package.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
This server is confirmed live — we successfully called its tools/list endpoint directly (see the verified badge above). We haven't yet sandbox-tested the stdio install command below specifically, which is a separate, ongoing check.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Git.
create_entitiesCreate multiple new entities in the knowledge graph
create_relationsCreate multiple new relations between entities in the knowledge graph. Relations should be in active voice
add_observationsAdd new observations to existing entities in the knowledge graph
delete_entitiesDelete multiple entities and their associated relations from the knowledge graph
delete_observationsDelete specific observations from entities in the knowledge graph
delete_relationsDelete multiple relations from the knowledge graph
The Git MCP server gives an MCP client access to a local Git repository. The repository description identifies its purpose as reading, searching, and manipulating Git repositories. It is intended for workflows where an agent needs to work with repository contents through MCP instead of receiving direct, unrestricted shell access.
The implementation is part of the official MCP servers repository, which contains reference implementations maintained by the MCP steering group. That context matters when evaluating the Git MCP server: the project is presented as an educational example of MCP features and SDK usage, not as a production-ready service.
The Git MCP server runs locally and communicates with an MCP client over the client’s configured process connection. The README documents a Python distribution named mcp-server-git. You can launch it with uvx, or install it with pip and start it as a Python module.
A repository is selected by passing its path with --repository. The client configuration example uses uvx as the command and supplies the package name followed by that option and a repository path. The path must be set for the environment where the MCP process runs; the README does not document remote repository hosting or a Git provider API connection.
The supplied tool inventory lists knowledge-graph operations including create_entities, create_relations, add_observations, delete_entities, delete_observations, delete_relations, read_graph, search_nodes, and open_nodes. These names do not describe Git actions, so verify the installed package and exposed tool set before building an automation around them.
The documented direct launch command is:
For a client configuration, use the uvx executable and provide mcp-server-git, --repository, and the local repository path as arguments. The README also documents a pip-based route:
No API token, OAuth flow, or required environment variable is documented for the Git MCP server. The example is configured for Claude Desktop, and the README notes that uvx entries remain unchanged on Windows.
Based on the project description, use the Git MCP server to support agents that need to:
--repository.The provided tool list should be treated separately from these capabilities until confirmed against the package version you install, because its operations are named for knowledge-graph entities, observations, relations, and nodes.
This Git MCP server is a reference implementation. The repository explicitly advises developers to evaluate security requirements and add safeguards for their own threat model and use case. Access to a local repository should therefore be scoped carefully, especially when an agent can manipulate repository data.
The material does not document hosted Git services, GitHub authentication, branch-management details, commit semantics, or a complete per-tool argument reference. It also does not establish compatibility with MCP clients beyond showing a Claude Desktop configuration example. The repository uses Apache-2.0 for new contributions while existing code is under MIT, so review the included license information when redistributing code.
Factual signals from GitHub, npm, and our automated checks — not a rating.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/git)<a href="https://allmcps.com/mcp/git"><img src="https://allmcps.com/api/badge/git?style=directory" alt="Git on AllMCPs" /></a>