Gerrit MCP Server
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| query_changesC | Searches for CLs matching a given query string. |
| query_changes_by_date_and_filtersA | Searches for Gerrit changes within a specified date range, optionally filtered by project, a substring in the commit message, and change status. This tool provides a flexible way to find changes based on their dates and content. Args:
start_date: The start date for the changes (e.g., "2025-08-18").
end_date: The end date for the changes (e.g., "2025-08-19").
gerrit_base_url: The base URL of the Gerrit instance.
limit: The maximum number of changes to return.
project: Optional project name to filter by. This filter is only
applied if |
| get_change_detailsC | Retrieves a comprehensive summary of a single CL. |
| get_commit_messageB | Gets the commit message of a change from the current patch set. |
| list_change_filesB | Lists all files modified in the most recent patch set of a CL. |
| get_file_diffB | Retrieves the diff for a single, specified file within a CL. |
| list_change_commentsC | list_change_comments is useful for reviewing feedback, reading comments on a change, analyzing comments, and responding to comments. |
| add_reviewerA | Adds a user or a group to a CL as either a reviewer or a CC. |
| set_ready_for_reviewC | Sets a CL as ready for review. |
| set_work_in_progressC | Sets a CL as work-in-progress. |
| revert_changeB | Reverts a single change, creating a new CL. |
| revert_submissionB | Reverts an entire submission, creating one or more new CLs. |
| create_changeC | Creates a new change in Gerrit. |
| set_topicB | Sets the topic of a change. An empty string deletes the topic. |
| changes_submitted_togetherC | Computes and lists all changes that would be submitted together with a given CL. |
| suggest_reviewersC | Suggests reviewers for a change based on a query. |
| abandon_changeC | Abandons a change. |
| get_most_recent_clC | Gets the most recent CL for a user. |
| get_bugs_from_clB | Extracts bug IDs from the commit message of a CL. |
| post_review_commentB | Posts a review comment on a specific line of a file in a CL. |
| post_draft_commentA | Creates a draft review comment on a specific line of a file in a CL. Draft comments are only visible to the author until explicitly published. Use in_reply_to with a parent comment ID to create a threaded reply. |
| list_draft_commentsA | Lists all draft comments on a CL. |
| delete_draft_commentB | Deletes a single draft comment on a CL by its draft ID. |
| delete_draft_commentsB | Deletes ALL draft comments on a CL. |
| publish_draftsA | Publishes all pending draft comments on a CL as a single review. This is equivalent to clicking "Send" in the Gerrit web UI — all draft comments become visible to other reviewers in one batch. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/GerritCodeReview/gerrit-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server