git
Reads and changes a git repository: status, diffs, log, branches, add, commit, checkout and reset. Early development; tools may change.
- Kind
- MCP server
- Works with
- Any agent
- Source
- MCP Reference Servers @ 51b6382a3e82
- Path
- src/git/README.md
- Jobs
- Git workflow, Context management
- Topics
- Git & pull requests
Credit
- Made by
- modelcontextprotocol
- Original
- github.com/modelcontextprotocol/servers/blob/51b6382a3e827ace…
- License
- Apache-2.0
Listed by Skill Manifest; not made by us.
InstallAdd it as an MCP server.
uvx mcp-server-git --repository path/to/git/repo
Install factsScanned 3 Nov 2026
- Adds
- An MCP server entry (claude mcp add, or .mcp.json)
- Runs scripts
- Yes
- shell block in the text
- Uses the network
- Yes
- downloads Python packages
- downloads npm packages
- Needs secrets
- None found
- Reads outside the project
- ~/Library/Logs/Claude/mcp*.log (README.md)
- /Users/username/Desktop (README.md)
- Calls other skills
- /summary
- /details
- /workspace
- Source revision
- 51b6382a3e82
- Licence
- Apache-2.0
- Last activity
- 25 Nov 2026
- Source changed after the scan
- Yes
- Last push 25 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
- Review
- Reviewed
Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.
# mcp-server-git: A git MCP server
<!-- mcp-name: io.github.modelcontextprotocol/server-git -->
## Overview
A Model Context Protocol server for Git repository interaction and automation. This server provides tools to read, search, and manipulate Git repositories via Large Language Models.
Source: https://github.com/modelcontextprotocol/servers/tree/main/src/git
Requires MCP Python SDK 2.x (`mcp>=2.3,<3`). The server is built on the SDK's high-level `MCPServer`: each tool is a typed Python function, and the SDK derives its input schema from the signature.
Please note that mcp-server-git is currently in early development. The functionality and available tools are subject to change and expansion as we continue to develop and improve the server.
### Tools
1. `git_status`
- Shows the working tree status
- Input:
- `repo_path` (string): Path to Git repository
- Returns: Current status of working directory as text output
2. `git_diff_unstaged`
- Shows changes in working directory not yet staged
- Inputs:
- `repo_path` (string): Path to Git repository
- `context_lines` (number, optional): Number of context lines to show (default: 3)
…