Gerrit
null - (mirror of https://gerrit.googlesource.com/./gerrit-mcp-server)
What is Gerrit?
Gerrit is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to null - (mirror of https://gerrit.googlesource.com/./gerrit-mcp-server)
null - (mirror of https://gerrit.googlesource.com/./gerrit-mcp-server)
This server falls under the Version Control category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- null - (mirror of https://gerrit.googlesource.com/./gerrit-m
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx gerritConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Gerrit
The Gerrit MCP Server is an official MCP integration for Gerrit Code Review, mirrored from gerrit.googlesource.com, that enables language models to interact with Gerrit repositories by executing REST API calls for change queries, detail retrieval, and review management. It is built in Python, requires Python 3.11+, and supports both persistent HTTP server and on-demand STDIO operation modes for flexible deployment. Engineering teams using Gerrit for code review workflows can use this server to let AI assistants query pending changes, retrieve review details, and help with review management directly from conversational interfaces.
Prerequisites
- Python 3.11+ installed
- curl available in your system PATH
- A running Gerrit instance with REST API access
- An MCP client such as Claude Desktop
- Gerrit credentials (username and HTTP password) for authenticated API access
Clone the repository
Clone the Gerrit MCP Server repository from GitHub (mirror of the official source at gerrit.googlesource.com).
git clone https://github.com/GerritCodeReview/gerrit-mcp-server
cd gerrit-mcp-serverBuild the environment
Run the provided build script from the project root. It creates a Python virtual environment and installs all required dependencies.
./build-gerrit.shCreate and edit the configuration file
Copy the sample configuration file and edit it to point to your Gerrit instance, including your server URL and authentication credentials.
cp gerrit_mcp_server/gerrit_config.sample.json gerrit_mcp_server/gerrit_config.json
# Edit gerrit_config.json with your Gerrit server URL and credentialsStart the MCP server
Use the provided server management script to start the HTTP server. You can also check its status or stop it using the same script.
./server.sh start
# Check status:
./server.sh status
# Stop:
./server.sh stopConfigure Claude Desktop
Add the Gerrit MCP server to your Claude Desktop configuration to connect via STDIO or HTTP, depending on your deployment mode.
{
"mcpServers": {
"gerrit": {
"command": "python",
"args": ["-m", "gerrit_mcp_server"],
"cwd": "/path/to/gerrit-mcp-server"
}
}
}Gerrit Examples
Client configuration
Claude Desktop configuration for the Gerrit MCP server running in STDIO mode from the cloned repository directory.
{
"mcpServers": {
"gerrit": {
"command": "python",
"args": ["-m", "gerrit_mcp_server"],
"cwd": "/path/to/gerrit-mcp-server"
}
}
}Prompts to try
Example prompts for querying Gerrit code reviews and managing changes through the MCP server.
- "List all open changes assigned to me in Gerrit"
- "Show me the details and comments on change 12345 in Gerrit"
- "Query Gerrit for changes in the main branch that need review"
- "What is the current review status of change ID 98765?"Troubleshooting Gerrit
build-gerrit.sh fails with permission denied
Make the script executable with 'chmod +x build-gerrit.sh' and ensure you have write permissions in the project directory for virtual environment creation.
REST API calls return 401 Unauthorized errors
Gerrit uses HTTP Password authentication for REST API access, not your regular login password. Generate an HTTP password in your Gerrit account settings under 'HTTP Credentials' and use that in gerrit_config.json.
Frequently Asked Questions about Gerrit
What is Gerrit?
Gerrit is a Model Context Protocol (MCP) server that null - (mirror of https://gerrit.googlesource.com/./gerrit-mcp-server) It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Gerrit?
Follow the installation instructions on the Gerrit GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Gerrit?
Gerrit works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Gerrit free to use?
Yes, Gerrit is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.
Gerrit Alternatives — Similar Version Control Servers
Looking for alternatives to Gerrit? Here are other popular version control servers you can use with Claude, Cursor, and VS Code.
Ruiyu MA
★ 30.1kConnect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
GitMCP
★ 8.1kTransforms any GitHub repository or GitHub Pages site into a documentation hub for AI assistants using the Model Context Protocol. It allows AI tools to access real-time code and documentation to prevent hallucinations and provide accurate API usage
GitHub Codemunch
★ 1.8kA token-efficient MCP server for exploring GitHub repositories using tree-sitter AST parsing to extract symbol signatures and summaries. It enables users to search and retrieve specific code components while significantly reducing token consumption c
Azure DevOps MCP Server
★ 1.7kThis server provides a convenient API for interacting with Azure DevOps services, enabling AI assistants and other tools to manage work items, code repositories, boards, sprints, and more. Built with the Model Context Protocol, it provides a standard
GitHub Official
★ 1.2kOfficial GitHub integration with comprehensive API coverage
Azure DevOps
★ 367Enables interaction with Azure DevOps through Cursor chat, providing tools to manage builds, pipelines, work items, sprints, and board operations. Supports secure authentication via Personal Access Tokens and allows natural language-driven DevOps tas
Browse More Version Control MCP Servers
Explore all version control servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Gerrit in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Gerrit?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.