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.
2 min read Last updated:
Connect Antigravity to ZopNight’s MCP server to query your cloud infrastructure directly from the Antigravity agent.
Setup
- Open Antigravity
- In the chat window, click the three dots (⋯) menu (Additional Options)
- Click Manage MCP Servers
- On the new page, click View Raw Config
- Paste the JSON config below
- Press Ctrl+S (or Cmd+S) to save
- Go back to Manage MCP Servers and click Refresh, or restart Antigravity
Configuration
{ "mcpServers": { "zopnight": { "serverUrl": "MCP_SERVER_URL", "headers": { "Authorization": "Bearer MCP_PAT" } } }}Note
- Replace
MCP_SERVER_URLwith the Server URL shown on your Organisation Settings page, or on the Developer Settings page where you create your token. Copying it from the app means you always get the right host for your environment. - Replace
MCP_PATwith your own personal access token (it startszn_pat_). Paste it plainly, with no angle brackets around it. - Antigravity uses
serverUrl(noturl).
Verify Connection
Once configured, ask the Antigravity agent:
List my organisationsIf configured correctly, it will call the list_organisations tool and show your organisations.