---
title: "Git"
url: "https://agentconnectors.dev/tools/git"
updated: "2026-10-14"
source_url: "https://github.com/modelcontextprotocol/servers/blob/main/src/git/README.md"
---

# Git

Reference MCP server for reading and changing a Git repository, including status and staged or unstaged diffs. The README describes the server as early in development.

- Category: [Reference servers](https://agentconnectors.dev/categories/reference)
- Collection: Reference server
- Status: active
- Publisher: Reference. Repository owner is modelcontextprotocol. This is a reference or example server. Archived status is a separate field on the listing. Source: https://github.com/modelcontextprotocol/servers
- Kind: mcp-server
- Listing: https://github.com/modelcontextprotocol/servers/tree/main/src/git
- Repository: https://github.com/modelcontextprotocol/servers
- Homepage: Not listed
- Package: mcp-server-git
- Successor: Not listed
- Source: https://github.com/modelcontextprotocol/servers/blob/main/src/git/README.md
- Page: https://agentconnectors.dev/tools/git
- JSON: https://agentconnectors.dev/api/tools/git.json
- Labels: none.

Paid placements are labelled Featured or Sponsored. An Enriched badge means we applied the owner-supplied description and links after a link check on those URLs. Ownership confirmation is optional. It does not mean functionality testing, a security audit, an endorsement, a ranking, or guaranteed traffic, leads, citations, or revenue.

## Connect it

from vendor docs, not tested by us

Configuration validation checks that these snippets parse and include every environment variable named in the Auth fact. It is not a connection test.

Source: https://github.com/modelcontextprotocol/servers/blob/main/src/git/README.md

path/to/git/repo is the placeholder in the README's uvx example.


### Claude Desktop (local)

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

### Claude Code (local)

```
claude mcp add git -- uvx mcp-server-git --repository path/to/git/repo
```

### Cursor (local)

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

### VS Code (local)

```json
{
  "servers": {
    "git": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-server-git",
        "--repository",
        "path/to/git/repo"
      ]
    }
  }
}
```

Added 2026-10-14.

## Related in Reference servers

- [Memory](https://agentconnectors.dev/tools/memory)
- [Sequential Thinking](https://agentconnectors.dev/tools/sequential-thinking)
- [Time](https://agentconnectors.dev/tools/time)
- [Everything](https://agentconnectors.dev/tools/everything)
- [Fetch](https://agentconnectors.dev/tools/fetch)
- [Filesystem](https://agentconnectors.dev/tools/filesystem)
