Skip to content

Commit 218b220

Browse files
committed
describe review notifications in the registry manifest
The manifest predates the feature: registry UIs rendered the configuration hints without the review-notifications flag family. The description now names the capability, and the environment-variable list carries the enable flag, poll interval, and the three noise filters with their defaults. Reaches the registry with the next released tag via the Registry workflow.
1 parent c287232 commit 218b220

1 file changed

Lines changed: 26 additions & 1 deletion

File tree

server.json

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
33
"name": "team.gaijin/go-gerrit-mcp",
44
"title": "Gerrit Code Review",
5-
"description": "Capability-gated MCP tools for Gerrit code review: search, read diffs, comment, vote, transition",
5+
"description": "Capability-gated MCP tools for Gerrit code review: search, read diffs, comment, vote, transition, and opt-in review notifications pushed into the session",
66
"version": "0.0.0",
77
"repository": {
88
"url": "https://github.com/GaijinEntertainment/go-gerrit-mcp",
@@ -47,6 +47,31 @@
4747
"description": "Refuse trail-leaving operations on changes not owned by the authenticated account",
4848
"format": "boolean",
4949
"default": "true"
50+
},
51+
{
52+
"name": "GERRIT_MCP_REVIEW_NOTIFICATIONS",
53+
"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)",
54+
"format": "boolean",
55+
"default": "false"
56+
},
57+
{
58+
"name": "GERRIT_MCP_REVIEW_NOTIFICATIONS_POLL_INTERVAL",
59+
"description": "Poll cadence for subscribed changes, as a Go duration",
60+
"default": "60s"
61+
},
62+
{
63+
"name": "GERRIT_MCP_REVIEW_NOTIFICATIONS_INCLUDE_OWN",
64+
"description": "Keep the authenticated account's own activity in review notifications",
65+
"format": "boolean",
66+
"default": "false"
67+
},
68+
{
69+
"name": "GERRIT_MCP_REVIEW_NOTIFICATIONS_EXCLUDE_ACCOUNTS",
70+
"description": "Comma-separated usernames or numeric account IDs whose activity never becomes a review notification"
71+
},
72+
{
73+
"name": "GERRIT_MCP_REVIEW_NOTIFICATIONS_EXCLUDE_PATTERNS",
74+
"description": "Comma-separated regular expressions; matching message or comment text never becomes a review notification"
5075
}
5176
]
5277
}

0 commit comments

Comments
 (0)