Quick Start¶
Prerequisites¶
- Node.js 18+ — for the MCP server itself
gcloudCLI — authenticated with an account that has appropriate GCA admin roles- An AI assistant that supports MCP (Claude Code, Gemini CLI, Cursor, etc.)
Available on npm
gemini-code-assist-admin-mcp is published on npmjs.com — no git clone needed.
Option 1 — Interactive setup (recommended)¶
Run the interactive installer. It auto-detects which AI clients are installed and patches their config:
You'll see a menu like:
? Where would you like to add the MCP server? (Use arrow keys)
❯ Claude Code (claude_desktop_config.json)
Gemini CLI (settings.json)
Antigravity / agy
Manual (show config snippet)
Option 2 — Global install¶
If you prefer a persistent install with the short gca-admin alias:
Option 2 — Client-specific guides¶
Pick your client:
Verify it's working¶
Once installed, ask your assistant:
"Is Gemini Code Assist enabled in my current GCP project?"
The assistant should call check_gca_status and return the API enablement status.
Authentication¶
The MCP server inherits your local gcloud credentials. Make sure you're authenticated:
Service Accounts
For CI/CD or automated pipelines, set the GOOGLE_APPLICATION_CREDENTIALS environment variable to a service account key file with the required IAM roles.