- BRANCH DATA
- COMMIT HISTORY
- PROJECT LIST
- HUMAN ACTION
Short answer
How can I check my Gerrit repo state with AI?
Your AI uses Gerrit tools to list projects, check branches, and pull specific change details. This gives you a clear view of your commit history and branch status.
The outcomes
What you'll see in your chat
The AI pulls data from Gerrit to provide these specific results.
BRANCH DATA
Current branch status
The AI identifies existing branches and their details. You'll know exactly which branches are available for your work.
COMMIT HISTORY
Verified change details
Your agent pulls specific change information. This confirms the history of a commit so you don't work on old code.
PROJECT LIST
Repository overview
The AI scans your Gerrit instance to find specific projects. You get a quick list of all available repositories.
HUMAN ACTION
Manual code review
The AI provides the data, but you still handle the actual code review. It does the lookup so you can focus on the logic.
The workflow
What your AI does when the request arrives.
The AI follows a sequence to find and inspect your Gerrit data.
Find projects
The AI identifies the relevant repositories in your Gerrit instance.
list_projectsCheck branches
It looks through the branches in a project to find the right version.
list_branchesGet change info
The agent pulls metadata for a specific change or commit.
get_changeVerify state
The AI compares the requested branch or change against the actual Gerrit data.
get_change
Try it
Copy these to start.
Use these prompts to begin your verification task.
Starting points
Replace the project names and change numbers with your own Gerrit details.
Gerrit Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_1L2um2puyGWUtZ39TYLOCAA2Zurxj3pUPXHkxEEj/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Gerrit capabilities are ready to use.
{
"mcpServers": {
"gerrit-mcp": {
"url": "https://edge.vinkius.com/vk_preview_1L2um2puyGWUtZ39TYLOCAA2Zurxj3pUPXHkxEEj/mcp"
}
}
}List all projects in my Gerrit instance.
What branches are available in the 'platform-core' project?
Get the details for change 9876 to see its current status.
Check the 'main' branch in 'web-ui' to see the latest commit history.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Gerrit once, then ask.
Link your Gerrit account once. Your login stays encrypted on our side, and you can immediately start asking your AI about your code.
Connect Gerrit to your AIFAQ
How this task behaves
- 01
Can the AI merge changes or push code?
No. The AI can only read data from Gerrit. You must handle all merges and pushes yourself.
- 02
Can the AI delete branches or projects?
No. This MCP is read-only. It cannot modify, delete, or create anything in your Gerrit instance.
- 03
How does the AI find the right project?
You can name the project in your prompt, or the AI can use the project list to find it.
- 04
Does the AI have access to my Gerrit credentials?
No. Your credentials are encrypted and managed by Vinkius; the AI only uses them to perform the requested actions.
- 05
Can I use this to see commit messages?
Yes. The AI can pull change details, which includes the commit messages and descriptions.
More questions about Gerrit? See everything the Gerrit Connector can do
Connect Gerrit to Claude, Cursor, ChatGPT & more
