Skip to main content
Google Antigravity’s model list is fixed by Google — it has no custom base URL or bring-your-own-key setting, so AIsa cannot replace its built-in model. Instead, you add AIsa as a remote MCP server, and Antigravity’s agent can call AIsa capabilities — web research, finance, social, SEO, sales, and more — as tools. AIsa MCP endpoint:

Prerequisites

Before you start, make sure you have:

1. Install the agy CLI

Verify the installation:

2. Add AIsa to the MCP config

Open the global MCP config (create it if it does not exist): Add an aisa entry, replacing sk-aisa-... with your real key:
Three details trip up most setups:
  • Use serverUrl, not url. Antigravity ignores url and httpUrl for remote servers.
  • Paste the key itself. Antigravity does not expand environment variables in headers — "Bearer ${AISA_API_KEY}" is sent literally and fails with 401.
  • Use the API key, not browser sign-in. Antigravity’s OAuth flow did not complete against AIsa in our testing; the Authorization header is the reliable path.
Because the file now holds a plaintext key, restrict it to your user:
Create a dedicated key labeled antigravity so you can rotate or revoke it independently. See Authentication.

3. Start a new session and verify

Antigravity loads MCP servers when a session starts, so open a new agy session after editing the config. Confirm the server is registered:
agy mcp list only shows the config, and Antigravity caches tool definitions under ~/.gemini/antigravity-cli/mcp/aisa/ — so seeing the five tools does not prove the key works. Verify with a real request in the next step.

4. Use AIsa capabilities

In an agy session, try:
Antigravity searches the AIsa catalog, reads the matching operation’s schema, then runs it under a max_price_usd cap. Discovery (list_categories, search, get_details) is free; use and batch_use are billed per call.

Quick reference

Troubleshooting

Use AIsa in Grok Build

The same MCP setup in xAI’s Grok CLI.

Authentication

API key creation, rotation, and storage best practices.

Agent Skills

Browse the capabilities AIsa exposes to agents.