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

# Antigravity

> Add Octen to Google Antigravity with the Octen plugin.

For AI agents: [docs.octen.ai/integrations/antigravity.md](https://docs.octen.ai/integrations/antigravity.md)

The plugin connects to the hosted [Octen MCP Server](https://docs.octen.ai/integrations/octen-mcp-server.md) and adds the `octen-search-guide` skill, which tells Antigravity which Octen tool fits a request.

> [card] [Get API Key](https://octen.ai/platform/api-keys)
>
> Create a key from the API Platform.

> [card] [GitHub](https://github.com/Octen-Team/octen-antigravity-plugin)
>
> View the plugin source.

## Install

> [!NOTE]
>
> You'll need an Octen API key first. Create one from the [API Platform](https://octen.ai/platform/api-keys).

Requires Antigravity CLI 1.5.8 or later, or the Antigravity App 2.33.0 or later.

**1. Install the plugin**

```bash theme={null}
agy plugin install https://github.com/Octen-Team/octen-antigravity-plugin
```

**2. Sign in to Octen**

In the CLI, run `/plugin`, expand **octen** under **Installed**, and choose **Sign in**. In the Antigravity App, open **Customizations → Installed** and start the sign-in from the Octen plugin or its MCP server, `octen_octen`.

On the Octen consent page, choose the account and API key the connection uses, then click **Allow**. If Antigravity asks for an authorization code, copy it from the browser page and paste it into Antigravity.

**3. Confirm the install**

```bash theme={null}
agy plugin list
```

`octen` shows as `enabled`, with 1 skill and 1 MCP server.

The plugin exposes every [Octen MCP tool](https://docs.octen.ai/integrations/octen-mcp-server.md#tools).

## Use an API Key Instead

Instead of installing the plugin, add the hosted server to `~/.gemini/config/mcp_config.json`, or to `.agents/mcp_config.json` at a workspace root for that workspace only:

```json theme={null}
{
  "mcpServers": {
    "octen": {
      "serverUrl": "https://mcp.octen.ai/mcp",
      "headers": {
        "x-api-key": "your-api-key"
      }
    }
  }
}
```

Put the key itself in the header: Antigravity does not replace a placeholder such as `${OCTEN_API_KEY}` with the environment variable. This setup does not add the `octen-search-guide` skill.

***

Last modified on November 24, 2026


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