> ## Documentation Index
> Fetch the complete documentation index at: https://docs.levios.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Antigravity

> Add levios as a remote MCP server in Google Antigravity.

<Note>
  Available tools and activation support depend on your current connection. After
  connecting, ask the agent to check the available operations before creating an
  automation.
</Note>

## Add the server

Antigravity reads MCP servers from `mcp_config.json`. Choose one location:

* Use `.agents/mcp_config.json` inside a workspace to make levios available only
  in that workspace.
* Use `~/.gemini/config/mcp_config.json` to make levios available everywhere.

Add this remote server entry:

```json theme={null}
{
  "mcpServers": {
    "levios": {
      "serverUrl": "https://levios.app/api/mcp"
    }
  }
}
```

Antigravity requires `serverUrl` for remote connections. It does not read `url`
or `httpUrl` for a remote server, so an entry copied from another client will
not load.

## Authorize the connection

Antigravity performs dynamic client registration against levios, so the entry
above needs no client ID or client secret. Complete the levios sign-in in the
browser window that opens, review the permissions and Instagram accounts, then
approve the request. Antigravity stores and refreshes the resulting token.

See [the Antigravity MCP guide](https://antigravity.google/docs/mcp) for the
current field names and authentication behavior.

## Verify access

Ask Antigravity to list your levios accounts or automations. The result must
contain only accounts included in the grant. Tools that need permissions you did
not approve will not appear.

If the server has no tools, open **Settings > MCP** in levios and check its
status, permissions, and account access. Revoke the connection and start again
if you need to choose a different permission set.

Do not add a `headers` block with an API key or bearer token. The browser
authorization flow supplies the credential.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.