# GitMCP

GitMCP — an MCP server that gives an AI client tools for Git repositories, so the agent can reach the repo without files being pasted into the chat.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: docker
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/docker/mcp-registry/blob/98a203ca6e58c67031b8aaed037a26a07ec73ce3/servers/gitmcp/server.yaml
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/gitmcp

## What it does

GitMCP is an MCP server that hands an AI client a set of tools for Git repositories. The agent goes through that server process instead of having project files dropped into the chat window.

The project is published under docker, and the stated scope is single: Git repository work. It does not reach past the repo, so don't count on it for pull request reviews or issue triage.

It is listed for Claude, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed and Gemini CLI. That is a long list, and in every client the server entry lives in that client's own config.

## Requirements
- Needs: Docker

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- hook an agent up to a Git repository
- give a client tools for repository operations
- stop pasting project files into the chat by hand
- keep Git work in one MCP server instead of homegrown wrappers

## Example prompts
- Connect GitMCP and list the repositories you can reach.
- Use GitMCP to check the latest changes in this repo.
- Ask GitMCP for the commit history of `main.py`.

## Similar
- [pp-github-intel](https://affpapa.org/en/nevibecode/skills/pp-github-intel.md) — skill · 110 installs
- [512-frameworks-micronaut-data](https://affpapa.org/en/nevibecode/skills/512-frameworks-micronaut-data.md) — skill · 322 installs
- [implement-spec](https://affpapa.org/en/nevibecode/skills/implement-spec.md) — skill · 283700 installs
- [git-workflow-and-versioning](https://affpapa.org/en/nevibecode/skills/git-workflow-and-versioning.md) — skill · 75700 installs
- [diff-intake](https://affpapa.org/en/nevibecode/skills/diff-intake.md) — skill · 66000 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
