• ACCESS
  • GROUPS
  • BRANCHES
  • HUMAN

How to audit project permissions with your AI

Connect Gerrit to your AI client once. After that, you can ask questions about group access and project rights without clicking through the Gerrit UI.

Ask AI about this page

Short answer

How can I audit Gerrit permissions with my AI?

Your AI pulls group lists and project details to map out who has access to what. You'll get a clear view of your permission structure and any potential gaps.

Audit outcomes

Where your audit data lands.

The AI processes your Gerrit data into these specific views.

ACCESS

Permission maps

The AI identifies which groups hold rights to specific projects. You'll see exactly where access is granted.

GROUPS

Membership lists

The AI pulls current group rosters. You can quickly see who belongs to which organizational unit.

BRANCHES

Branch security

The AI checks access for specific branches. This helps you confirm that sensitive branches are locked down.

HUMAN

Manual fixes

The AI finds the permission gaps. You must go into Gerrit to actually change or remove access.

The workflow

What your AI does when the request arrives.

Your agent uses Gerrit tools to pull the specific data you ask for.

  1. Map groups

    The AI pulls a list of all groups to understand your permission hierarchy.

    list_groups
  2. Check projects

    The AI looks up project configurations to see how they are set up.

    get_project
  3. Scan branches

    The AI checks the branches within a project to verify access levels.

    list_branches
  4. Verify access

    The AI compares group memberships against project rules to find unauthorized access.

    list_groupsget_project

Try it

Copy these to start.

Paste these into your chat to begin.

Starting points

Replace the project or group names with your actual Gerrit identifiers.

Gerrit Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_1L2um2puyGWUtZ39TYLOCAA2Zurxj3pUPXHkxEEj/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Gerrit capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "gerrit-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_1L2um2puyGWUtZ39TYLOCAA2Zurxj3pUPXHkxEEj/mcp"
    }
  }
}
Copy into chat04
  • Which groups have access to the 'core-engine' project?

  • List all members in the 'admin-users' group.

  • Check if the 'master' branch in 'web-service' is protected.

  • Show me all projects that the 'frontend-devs' group can access.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Gerrit once, then ask.

Connect your account once. Your login stays encrypted on our side, and you can start asking questions immediately.

Connect Gerrit to your AI

FAQ

How this task behaves

  • 01

    Can the AI change permissions in Gerrit?

    No. The AI can only read data. You have to make all permission changes yourself in the Gerrit UI.

  • 02

    Can it create new groups?

    No. The tools only allow the AI to list and get existing group and project information.

  • 03

    How does it know which users are in a group?

    It uses the list_groups tool to pull the current membership data from your Gerrit instance.

  • 04

    Can I audit branch-level access?

    Yes. The AI can use list_branches to see what branches exist and check their settings.

  • 05

    Does the AI delete any data?

    No. The AI has no capability to delete projects, groups, or users.

  • More questions about Gerrit? The Connector page answers them. See everything the Gerrit Connector can do

Connect Gerrit to Claude, Cursor, ChatGPT & more