Skip to content

a1loy/gerrit-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published