Skip to main content Skip to content

Connect to Antigravity

Configure Antigravity to talk to ZopNight's MCP server with a Personal Access Token so the agent can query your cloud infrastructure directly.

1 min read Last updated: 

Connect Antigravity to ZopNight’s MCP server to query your cloud infrastructure directly from the Antigravity agent.

Setup

  1. Open Antigravity
  2. In the chat window, click the three dots (⋯) menu (Additional Options)
  3. Click Manage MCP Servers
  4. On the new page, click View Raw Config
  5. Paste the JSON config below
  6. Press Ctrl+S (or Cmd+S) to save
  7. Go back to Manage MCP Servers and click Refresh, or restart Antigravity

Configuration

Terminal window
{
"mcpServers": {
"zopnight": {
"serverUrl": "<server-url>",
"headers": {
"Authorization": "Bearer <your-token>"
}
}
}
}

Note

  • Replace <server-url> with the Server URL copied from your Organisation Settings page or from the Developer Settings page while creating your PAT token.
  • Replace <your-token> with your Personal Access Token (starts with zn_pat...).
  • Antigravity uses serverUrl (not url).

Verify Connection

Once configured, ask the Antigravity agent:

Terminal window
List my organisations

If configured correctly, it will call the list_organisations tool and show your organisations.

Multi-cloud automation· Production-ready in 30 min· SOC 2 · ISO 27001 · zero-trust· 30% average cloud cost cut· 4 platforms · 1 console· Multi-cloud automation· Production-ready in 30 min· SOC 2 · ISO 27001 · zero-trust· 30% average cloud cost cut· 4 platforms · 1 console·