← Back to mcp

Git MCP

Read git repositories, view commits, diffs, and history with MCP.

One-Click Configuration

{
  "mcpServers": {
    "git": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-git", "/path/to/repository"]
    }
  }
}

Copy this configuration and paste it into your claude_desktop_config.json or Cursor settings.

Official Git MCP server. Analyze repository history, view diffs, and understand code evolution through git operations.

Security: Read-only access to git metadata. Specify allowed repositories explicitly.

Setup: Replace /path/to/repository with your git repository path.

© 2026 EVERYTHING AI DIRECTORY