The best MCP servers for Git and version control — let AI agents read repositories, inspect diffs, manage branches, and open pull requests on GitHub, GitLab, and more.
Browse all Git & Version Control servers →When choosing a Model Context Protocol server for Git & Version Control, select verified or official listings if you need strict API security guarantees. For rapid local dev testing with Claude or Cursor, community-maintained tools offer zero-setup configuration blocks ready to copy-paste.
The official GitHub MCP server is the most widely installed — it covers issues, pull requests, code search, and Actions. This page ranks version-control servers by real usage across the AllMCPs directory.
Yes. GitHub and GitLab MCP servers can create branches, commit files, and open PRs when you grant a token with write scope. Use a fine-grained token limited to the specific repositories the agent should touch.
For hosted platforms like GitHub or GitLab, yes — you supply a token via an environment variable. Local Git servers that operate on a checked-out repo on disk usually need no token at all.