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

# Google Antigravity

> Add PostChamp to Google Antigravity. The config key must be serverUrl.

Add PostChamp to Google Antigravity. The config key must be serverUrl. The connection URL is the same for every client:

```text
https://api.postchampai.com/api/v1/mcp
```

> [!NOTE]
>
> Antigravity reads `serverUrl` (or `url`). It does not support `httpUrl`, which Gemini CLI uses, and it needs the Streamable HTTP transport.

## Before you start

* Google Antigravity (the app, the IDE or the CLI).
* A PostChamp account on a plan that includes assistants, with the owner or admin role in the workspace you want to share. See [Authentication](/mcp/authentication.md).

## Connect Google Antigravity

**Step 1**

Open the MCP config. In the app: **Customizations**, **Installed**, **MCP Servers**, then **Copy Config File Path**. In the IDE: **MCP Servers**, **Manage MCP Servers**, **View raw config**. In the CLI: type `/mcp`.

**Step 2**

Add the entry below. The global file is `~/.gemini/config/mcp_config.json`. A single workspace can use `.agents/mcp_config.json`.

**Step 3**

In **Customizations**, **Installed**, **MCP Servers**, choose **Authenticate** next to `postchamp`. Sign in to PostChamp, choose the workspaces to share, approve, and paste the authorization code if Antigravity asks for it.

## Configuration file

Add this to `~/.gemini/config/mcp_config.json`:

```json
{
  "mcpServers": {
    "postchamp": {
      "serverUrl": "https://api.postchampai.com/api/v1/mcp"
    }
  }
}
```

## Check the connection

Ask:

```text
Use PostChamp to list my workspaces.
```

This reads your workspaces, costs nothing and changes nothing. Then try one of these:

* Plan next week: three posts, one on each of my main topics. Show me the plan before you schedule anything.
* Write a LinkedIn post about what I learned from my last client project, in my voice.
* How did my posts do over the last 30 days? What worked best?
* Turn my last post into a carousel and show me the slides.

## Disconnect

* Delete the entry from `mcp_config.json`. Antigravity keeps tokens in `~/.gemini/antigravity/mcp_oauth_tokens.json`.
* In PostChamp, open Settings and choose Assistants to disconnect it, so the sign-in is revoked.

## Troubleshooting

> [accordion] The server shows an error and no tools.
>
> Check the key. Use `serverUrl` (or `url`), never `httpUrl`.

> [accordion] It says it needs authentication.
>
> Choose **Authenticate** next to the server and finish the sign-in.

> [accordion] The browser sign-in says I cannot connect.
>
> Only owners and admins of a workspace can connect an assistant to it, and the plan must include assistants. Sign in with an account that has that role. Check the account in Settings, Members.

## FAQ

> [accordion] Do I need to register an OAuth client?
>
> No. PostChamp supports automatic client registration, and Antigravity handles the sign-in for you.

> [accordion] Where are the sign-in tokens kept?
>
> On your machine, in `~/.gemini/antigravity/mcp_oauth_tokens.json`.

## Related

> [card] [Authentication](/mcp/authentication.md)
>
> How sign-in, consent and revocation work.

> [card] [Tool reference](/mcp/tools/index.md)
>
> Every tool the assistant can call.
