team.gaijin

go-gerrit-mcp

Gerrit Code Review

Capability-gated Gerrit code review tools with opt-in review notifications pushed into the session

stdioofficialapplication

Package Details

Transportstdio

Environment Variables

GERRIT_URL
Required

Base URL of the Gerrit instance

GERRIT_USERNAME
Required

Account username for HTTP authentication

GERRIT_TOKEN
RequiredSecret

HTTP password or token of the account

GERRIT_MCP_GROUPS
Default:read

Comma-separated capability groups to enable: read, comment, transition

GERRIT_MCP_PROJECTS

Comma-separated Gerrit project allowlist confining every operation

GERRIT_MCP_OWN_CHANGES_ONLY(bool)
Default:true

Refuse trail-leaving operations on changes not owned by the authenticated account

GERRIT_MCP_REVIEW_NOTIFICATIONS(bool)
Default:false

Enable review notifications: poll Gerrit for activity on subscribed changes and push it into the agent's session (requires a client with channel support)

GERRIT_MCP_REVIEW_NOTIFICATIONS_POLL_INTERVAL
Default:60s

Poll cadence for subscribed changes, as a Go duration

GERRIT_MCP_REVIEW_NOTIFICATIONS_INCLUDE_OWN(bool)
Default:false

Keep the authenticated account's own activity in review notifications

GERRIT_MCP_REVIEW_NOTIFICATIONS_EXCLUDE_ACCOUNTS

Comma-separated usernames or numeric account IDs whose activity never becomes a review notification

GERRIT_MCP_REVIEW_NOTIFICATIONS_EXCLUDE_PATTERNS

Comma-separated regular expressions; matching message or comment text never becomes a review notification