gerrit-mcp

a1loy/gerrit-mcp

3.2

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

An MCP (Model Context Protocol) server that provides access to the chosen Gerrit instance.

Gerrit MCP Server

An MCP (Model Context Protocol) server that provides access to the chosen Gerrit instance.

This project implements an SSE-based MCP server that provides tools for:

  1. Quering particular change/review by its number or id
  2. Quering changes for specified project according filters
  3. Quering available projects

Usage

  1. Run on localhost:8080 in debug mode:

DEBUG=true ./gerrit-mcp -port 8080 -addr 127.0.0.1

  1. Run on localhost:8080 with basic auth credentials for gerrit:

GERRIT_USERNAME=john GERRIT_PASSWORD=johnP@ssword ./gerrit-mcp -port 8080 -addr 127.0.0.1 -with-auth=basic

  1. Run with MCP with authentication via Bearer header:

BEARER_TOKEN=your_secret_bearer_value ./gerrit-mcp -port 8080 -addr 127.0.0.1