Connect Antigravity
Add the remote MCP server to the Antigravity app, IDE and agy CLI.
Set up with your AI assistant
Paste the prompt into Antigravity. It includes setup steps and a read-only connection check.
Antigravity — App and IDE: sign in with LeadsAgent (recommended)
The Antigravity desktop app and the Antigravity IDE.
- Open the raw MCP config. In the IDE: “…” at the top of the agent panel → MCP Servers → Manage MCP Servers → View raw config. In the app: Settings (Ctrl+, or Cmd+,) → Customizations → Installed MCP Servers.
- Merge this entry. The file is ~/.gemini/config/mcp_config.json (all workspaces), or .agents/mcp_config.json in one project.mcp_config.json
{ "mcpServers": { "leadsagent": { "serverUrl": "https://leadsagent.io/mcp/v1" } } } - Click Refresh, then Authenticate next to leadsagent.
- A browser opens. Sign in with your LeadsAgent account and approve access. Copy the code Antigravity shows, paste it into the settings panel and click Submit.
- The server shows Authed. Ask the agent to check your LeadsAgent account.
Antigravity — App and IDE: use an API key
- On the LeadsAgent setup page, select “Create an API key”. Name it for this app and set its expiry and limits. Copy it once; it starts with la_.
- Open the raw MCP config as above and merge this entry into ~/.gemini/config/mcp_config.json. Antigravity does not document environment references in headers, so the key sits in this user file. Do not put it in .agents/mcp_config.json or any project file.~/.gemini/config/mcp_config.json
{ "mcpServers": { "leadsagent": { "serverUrl": "https://leadsagent.io/mcp/v1", "headers": { "Authorization": "Bearer la_your_key" } } } } - Click Refresh under Installed MCP Servers.
Antigravity — Terminal (agy CLI): sign in with LeadsAgent (recommended)
The agy command in a terminal. agy mcp add writes ~/.gemini/config/mcp_config.json, the file the app and IDE also read.
- Add the server.Terminal
agy mcp add leadsagent https://leadsagent.io/mcp/v1 - Start agy and open the MCP manager. Select leadsagent and choose Authenticate.In agy
/mcp - A browser opens. Sign in with your LeadsAgent account and approve access. Copy the code and paste it at the terminal prompt.
- leadsagent shows Authed in /mcp.
Antigravity — Terminal (agy CLI): use an API key
- On the LeadsAgent setup page, select “Create an API key”. Name it for this app and set its expiry and limits. Copy it once; it starts with la_.
- Add the server with your key. agy saves the key in ~/.gemini/config/mcp_config.json; keep that file private.Terminal
agy mcp add --header "Authorization: Bearer la_your_key" leadsagent https://leadsagent.io/mcp/v1 - Check that leadsagent is listed and enabled.Terminal
agy mcp list
Source: Antigravity docs: MCP · Open in Connectors