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:
- Quering particular change/review by its number or id
- Quering changes for specified project according filters
- Quering available projects
- Run on localhost:8080 in debug mode:
DEBUG=true ./gerrit-mcp -port 8080 -addr 127.0.0.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
- Run with MCP with authentication via Bearer header:
BEARER_TOKEN=your_secret_bearer_value ./gerrit-mcp -port 8080 -addr 127.0.0.1