Skip to main content
Google Antigravity Google Antigravity is Google’s agentic development platform. Connect it to Trilo via MCP to manage your workspace from within Agent sessions.
Google Antigravity uses serverUrl instead of url in its MCP config — make sure to use the correct field name.

Setup

1

Create a Personal Access Token

In Trilo, go to Profile Settings > API > Create Token. Select the scopes you need (mcp:read, mcp:write) and copy the token.
2

Open MCP config

  1. Open an Agent session and click the ”…” menu at the top of the side panel
  2. Select MCP Servers to open the MCP Store
  3. Click Manage MCP Servers at the top, then View raw config
3

Add the Trilo server

Add the following to your mcp_config.json:
{
  "mcpServers": {
    "trilo": {
      "serverUrl": "https://api.trilo.chat/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_TOKEN_HERE"
      }
    }
  }
}
Replace YOUR_TOKEN_HERE with the PAT you copied.
Use serverUrl (not url) — this is specific to Google Antigravity’s MCP config format.
4

Refresh servers

Save the file and click Refresh in the Manage MCP Servers view.
5

Verify the connection

In your Agent session, ask:
List my Trilo workspaces
If it returns your workspace data, you’re connected.

Options

Append query parameters to the MCP URL for additional control:
ParameterDescriptionExample
workspace_idRestrict to a specific workspacehttps://api.trilo.chat/mcp?workspace_id=abc-123
read_onlyForce read-only modehttps://api.trilo.chat/mcp?read_only=true

Troubleshooting

  • Verify your token starts with trilo_pat_
  • Check the Authorization header uses the Bearer prefix
  • Confirm the token hasn’t been revoked in Profile Settings > API
Click Refresh in the Manage MCP Servers view. Also verify you used serverUrl (not url) in the config.
MCP sessions expire after 30 minutes of inactivity. Refresh the MCP connection or start a new Agent session.