gerrit-mcp-server

robertonoguera-instructure/gerrit-mcp-server

3.1

If you are the rightful owner of gerrit-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Gerrit MCP Server is a Ruby-based implementation of the Model Context Protocol server designed for integration with Gerrit Code Review.

Gerrit MCP Server (Ruby)

A Ruby implementation of the Model Context Protocol (MCP) server for Gerrit Code Review.

Features

  • List Change Files: Get all files modified in a change
  • Get File Content: Retrieve the content of specific files
  • Get File Diff: Get diff for individual files with context options
  • Get Unified Diff: Get patch-style unified diff for entire change
  • Get Commit Message: Retrieve commit message for a change revision
  • Find Related Changes: Discover changes related to the current one
  • Post Reviews: Review patchsets by change id and post feedback directly to gerrit

Installation

  1. Clone the repository:

git clone cd gerrit-mcp-server

  1. instqll dependencies: bundle install

  2. Add the url, username and password to .env file

  3. run the server: bin/gerrit-mcp-server

For docker install just prepare the .env file and do a docker-compose up -d

Add the mcp server to Claude

claude mcp add --transport http <server_name> : eg: claude mcp add --transport http gerrit http://gerrit-mcp-server.inseng.test:3000

Once installed you can just ask claude "what can I do with the gerrit mcp server"