← Back to MCP Servers
Version ControlOfficialBeginner-friendly
Git MCP
Run Git commands through your AI assistant — stage changes, commit, branch, merge, rebase, and inspect history without leaving your chat interface. Wraps common Git operations with safety checks for production repositories.
What is Git MCP?
Git MCP is a Model Context Protocol server published by modelcontextprotocol that lets AI assistants interact with version control services. Once configured, your assistant can call its connected tools in natural language instead of you hand-writing every request against the underlying API.
What Can You Do With It?
- Stage and commit changes
- Create and switch branches
- View commit history and diffs
How to Use This Server
- 1. Choose your AI clientAdd Git MCP to an MCP-compatible assistant (Claude, Cursor, VS Code, or any client listed in the official MCP docs).
- 2. Install the serverFollow the install instructions below. Most servers install with a package manager in a few minutes and need only an API key or a local credential.
- 3. Add it to your configurationWrite the server block into your client's config file exactly as the official docs publish — including any arguments, environment variables, and path fields.
- 4. Start askingRestart your client and describe the task in natural language — the assistant uses the server's tools against your real data and services.
Server Specs
- Publisher
- modelcontextprotocol
- Category
- Version Control
- Difficulty
- Beginner-friendly
- GitHub Stars
- 86,100
- Tags
- GitVersion ControlCLI
Get It Set Up
npx @anthropic/mcp-server-gitSecurity note: MCP servers run with the credentials you give them. Only install servers you trust, review tool lists before enabling them, and use scoped credentials (read-only tokens where possible). Axonix is an independent directory, not the publisher of this server.