Git (official) MCP server
Tools to read, search, and manipulate Git repositories.
Repository: modelcontextprotocol/servers/git
Website: https://modelcontextprotocol.io
Official reference server, part of the modelcontextprotocol/servers repository (★91272 for the whole repository)
Language: n/a
Last updated: 2026-10-13
mcpreference-server
Website: https://modelcontextprotocol.io
Official reference server, part of the modelcontextprotocol/servers repository (★91272 for the whole repository)
Language: n/a
Last updated: 2026-10-13
mcpreference-server
How to install Git (official) MCP in Claude Desktop, Cursor and VS Code
Install
Taken from the official documentation (modelcontextprotocol/servers git README). Check it for required API keys before use.
Claude Code
Terminal (claude CLI)
claude mcp add --transport stdio git -- uvx mcp-server-git --repository path/to/git/repoClaude Desktop
claude_desktop_config.json
{
"mcpServers": {
"git": {
"command": "uvx",
"args": [
"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"
]
}
}
}VS Code
.vscode/mcp.json
{
"servers": {
"git": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-server-git",
"--repository",
"path/to/git/repo"
]
}
}
}Add to config generator – combine it with other servers, or get the Windsurf format.
Featured in: Best MCP servers for Claude Desktop · Best MCP servers for Cursor · Best MCP servers for coding · Best MCP servers for research · Best MCP servers for Claude Code
Maintain this project? Get it featured for free during launch →
Compare with Time (official) →
Related Official Reference MCP servers
Time (official) by modelcontextprotocol · Official
Time and timezone conversion capabilities.
Official Reference
Time and timezone conversion capabilities.
Official Reference
Sequential Thinking (official) by modelcontextprotocol · Official
Dynamic and reflective problem-solving through thought sequences.
Official Reference
Dynamic and reflective problem-solving through thought sequences.
Official Reference
Memory (official) by modelcontextprotocol · Official
Knowledge graph-based persistent memory system.
Official Reference
Knowledge graph-based persistent memory system.
Official Reference
Filesystem (official) by modelcontextprotocol · Official
Secure file operations with configurable access controls.
Official Reference
Secure file operations with configurable access controls.
Official Reference
Fetch (official) by modelcontextprotocol · Official
Web content fetching and conversion for efficient LLM usage.
Official Reference
Web content fetching and conversion for efficient LLM usage.
Official Reference
Everything (official) by modelcontextprotocol · Official
Reference / test server with prompts, resources, and tools.
Official Reference
Reference / test server with prompts, resources, and tools.
Official Reference
Weekly MCP digest – new and trending MCP servers in your inbox.