← Back to Plugins
MCP Server MCP

Gerrit Code Review

github By github 👁 3 views ▲ 0 votes

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

Homepage Verified source GitHub

Install

oci:ghcr.io/gaijinentertainment/go-gerrit-mcp:1.1.3

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "oci",
      "identifier": "ghcr.io/gaijinentertainment/go-gerrit-mcp:1.1.3",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Base URL of the Gerrit instance",
          "isRequired": true,
          "name": "GERRIT_URL"
        },
        {
          "description": "Account username for HTTP authentication",
          "isRequired": true,
          "name": "GERRIT_USERNAME"
        },
        {
          "description": "HTTP password or token of the account",
          "isRequired": true,
          "isSecret": true,
          "name": "GERRIT_TOKEN"
        },
        {
          "description": "Comma-separated capability groups to enable: read, comment, transition",
          "default": "read",
          "name": "GERRIT_MCP_GROUPS"
        },
        {
          "description": "Comma-separated Gerrit project allowlist confining every operation",
          "name": "GERRIT_MCP_PROJECTS"
        },
        {
          "description": "Refuse trail-leaving operations on changes not owned by the authenticated account",
          "format": "boolean",
          "default": "true",
          "name": "GERRIT_MCP_OWN_CHANGES_ONLY"
        },
        {
          "description": "Enable review notifications: poll Gerrit for activity on subscribed changes and push it into the agent's session (requires a client with channel support)",
          "format": "boolean",
          "default": "false",
          "name": "GERRIT_MCP_REVIEW_NOTIFICATIONS"
        },
        {
          "description": "Poll cadence for subscribed changes, as a Go duration",
          "default": "60s",
          "name": "GERRIT_MCP_REVIEW_NOTIFICATIONS_POLL_INTERVAL"
        },
        {
          "description": "Keep the authenticated account's own activity in review notifications",
          "format": "boolean",
          "default": "false",
          "name": "GERRIT_MCP_REVIEW_NOTIFICATIONS_INCLUDE_OWN"
        },
        {
          "description": "Comma-separated usernames or numeric account IDs whose activity never becomes a review notification",
          "name": "GERRIT_MCP_REVIEW_NOTIFICATIONS_EXCLUDE_ACCOUNTS"
        },
        {
          "description": "Comma-separated regular expressions; matching message or comment text never becomes a review notification",
          "name": "GERRIT_MCP_REVIEW_NOTIFICATIONS_EXCLUDE_PATTERNS"
        }
      ]
    }
  ]
}
mcp model-context-protocol oci

Comments

Sign in to leave a comment

Loading comments...