dotsagent.io
Language:English
Dev tools · MCP Steering Group

Set up Git

Works with a local Git repository from the agent: status, diffs, history, branches and commits, on a repo path you choose.

Publisher
MCP Steering Group Official
Run locally
uvx mcp-server-git --repository path/to/git/repo
Transports
stdio
Authentication
None. It acts on the repository path you pass in.
What it can touch
Reads the repository and can stage, commit and create branches.
Licence
MIT (existing) / Apache-2.0 (new contributions)
Source
github.com/modelcontextprotocol/servers/tree/main/src/git
Status
Active

Install

This server runs on your machine as a child process of the client. You need the runtime its command uses, such as Node.js for npx, uv for uvx or Docker, plus any variables listed under Environment.

Claude Code

shell
claude mcp add --scope project git -- uvx mcp-server-git --repository path/to/git/repo

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "git": {
      "command": "uvx",
      "args": [
        "mcp-server-git",
        "--repository",
        "path/to/git/repo"
      ]
    }
  }
}

Codex

~/.codex/config.toml
[mcp_servers.git]
command = "uvx"
args = ["mcp-server-git", "--repository", "path/to/git/repo"]

Config for other clients →

Other servers in dev tools

Sources

  1. github.com/modelcontextprotocol/servers

Independent reference for people who build AI agents. Not affiliated with any vendor named here.

© 2026 DotsAgent · Facts checked October 1, 2026