Gemini CLI¶
Gemini CLI supports extensions that bundle MCP servers, slash commands, and skills together.
Install as an extension¶
This installs the MCP server, registers the custom /gca:* slash commands, and makes the workspace skill available.
Custom slash commands¶
Once installed, the following /gca:* commands are available directly in the Gemini CLI chat:
| Command | What it does |
|---|---|
/gca:status | Check GCA API enablement and IAM status |
/gca:admin | Verify your admin permissions |
/gca:metrics | Show usage metrics (defaults to last 28 days) |
/gca:create_index | Create a new code repository index |
/gca:create_group | Create a repository group |
/gca:list_groups | List all repository groups |
/gca:delete_group | Delete a repository group |
/gca:grant_access | Grant a user access to a repository group |
/gca:revoke_access | Revoke a user's access from a repository group |
Manual MCP config¶
If you prefer to configure it manually, add to your Gemini CLI settings.json:
{
"mcpServers": {
"gemini-code-assist-admin": {
"command": "npx",
"args": ["-y", "gemini-code-assist-admin-mcp"]
}
}
}
GEMINI.md¶
The repo includes a GEMINI.md file that provides Gemini CLI with workspace-level context when you open this directory — tool descriptions, architecture notes, and example prompts are automatically surfaced.