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

# Connect Antigravity IDE to ConnectKey

> Add ConnectKey to Antigravity IDE in mcp_config.json with Streamable HTTP and Google's documented OAuth options, and see which steps remain untested.

Google's public Antigravity MCP docs below describe the IDE menu path, `mcp_config.json` fields, and OAuth options without exercising Antigravity IDE. Public unauthenticated probes on 2026-11-25 confirmed that on the staging MCP host, `/healthz` and `/readyz` returned `200` while `/mcp`, `/.well-known/oauth-protected-resource`, `/.well-known/oauth-authorization-server`, and `/.well-known/openid-configuration` returned `404`, and the production MCP host did not resolve.

1. Add `https://mcp.connectkey.ai/mcp` to your client.
2. Sign in to ConnectKey (Untested: requires sign-in and a serving `/mcp` endpoint).
3. Pick a workspace (Untested: requires sign-in and a serving `/mcp` endpoint).
4. Allow access to that workspace (Untested: requires sign-in and a serving `/mcp` endpoint).

> [!WARNING]
>
> **Not yet verified on staging:** This applies to every step here that needs a signed-in account or a live ConnectKey connection, including setup, workspace consent, tool discovery, calls, and disconnecting or restoring access. No tool is confirmed available in this client.
>
> **Untested (steps 2 to 4 and any `/mcp` connection).** Sign-in, workspace authorization, tool listing and tool calls require sign-in and a serving `/mcp` endpoint and have not been run in Antigravity IDE. This page does not say Antigravity is supported or that `/mcp` accepts connections today.

```text Copy the ConnectKey URL for Antigravity IDE theme={null}
https://mcp.connectkey.ai/mcp
```

## Prerequisites

* Antigravity IDE installed (Google documents version 2.6.0 or later for Client ID Metadata Documents (CIMD) support in the IDE). The Antigravity App, CLI, and IDE share the `mcp_config.json` schema and file paths but have separate setup and sign-in flows; this guide covers the IDE.
* A ConnectKey account.

## Steps

1. Google's documented IDE menu path (not tested in Antigravity IDE): in the IDE, click the three dots (`...`) at the top of the editor's agent side panel and select MCP Servers.
2. Click Manage MCP Servers, then View raw config. This opens `mcp_config.json` (global: `~/.gemini/config/mcp_config.json`; workspace: `.agents/mcp_config.json`).
3. Under `mcpServers` add an entry named `connectkey` with `serverUrl` set to `https://mcp.connectkey.ai/mcp`. Google documents `serverUrl` (`url` also works) for remote Streamable HTTP servers.
4. Save the file and complete sign-in when prompted (Untested: requires sign-in and a serving `/mcp` endpoint). Google documents automatic OAuth 2.0 with PKCE via Client ID Metadata Documents (CIMD, requiring IDE 2.6.0 or later) or Dynamic Client Registration (DCR), and a manual `oauth` object (`clientId` and optional `clientSecret`) when neither is supported. Google documents the browser `Authenticate` flow only for the Antigravity App and documents no interactive sign-in prompt for a custom IDE server, so how ConnectKey sign-in appears in the IDE is untested.

## What to check

* The `connectkey` server appears in the MCP Servers list and its tools are listed (Untested: requires sign-in and a serving `/mcp` endpoint).
* Ask the agent to list the ConnectKey tools it can see (Untested: requires sign-in and a serving `/mcp` endpoint). A list shows the connection only; it is not a tested result.

## If it fails

* Google documents only Streamable HTTP for remote servers in `mcp_config.json`. The older HTTP+SSE transport and the `httpUrl` field are not supported.
* If the server cannot discover or register an OAuth client automatically via CIMD (IDE 2.6.0 or later) or DCR, Google documents an `oauth` object with `clientId` (and optional `clientSecret`) in the server entry and requires `https://antigravity.google/oauth-callback` as a registered redirect URI. ConnectKey has not been tested with that option.
* The MCP Store is the IDE route for listed servers. This guide uses the raw config route instead.
* Probed unauthenticated on 2026-11-25: on the staging MCP host, `/healthz` and `/readyz` returned `200` while `/mcp`, `/.well-known/oauth-protected-resource`, `/.well-known/oauth-authorization-server`, and `/.well-known/openid-configuration` returned `404`, and the production MCP host did not resolve, so connection attempts fail until `/mcp` serves.

## Does an unlisted server need an Antigravity store entry?

Google documents raw configuration for unlisted servers in the IDE. The Agent side panel’s Manage MCP Servers view exposes that configuration without a store listing.

## Which URL field does Antigravity accept for remote servers?

Google documents serverUrl and also accepts url. The remote server entry belongs in the mcpServers section.

## What does Antigravity use to communicate with a remote MCP server?

Google documents Streamable HTTP for remote servers. That describes the IDE transport, not a successful connection to ConnectKey.

## Where does Antigravity distinguish workspace settings from global settings?

The workspace file is .agents/mcp\_config.json. Google documents \~/.gemini/config/mcp\_config.json for global settings.

## What if Antigravity cannot discover or register an OAuth client automatically?

Google documents manual OAuth client settings (clientId and optional clientSecret) as an option when neither discovery through Client ID Metadata Documents nor Dynamic Client Registration is available.

## Would a successful Antigravity App or CLI test verify the IDE?

No. The Antigravity App, CLI and IDE each have their own MCP setup and sign-in experience. ConnectKey has not been tested in the IDE, and a result from the App or CLI would not verify it.

## Evidence

* Status: documented
* Vendor documentation retrieved: 2026-11-25
* Real-client result: None recorded for Antigravity IDE, App, or CLI. Google's public MCP docs describe the IDE menu path, mcp\_config.json schema, and OAuth options without exercising Antigravity IDE. Public unauthenticated probes on 2026-11-25 checked only HTTP responses (staging /healthz and /readyz returned 200; /mcp, /.well-known/oauth-protected-resource, /.well-known/oauth-authorization-server, and /.well-known/openid-configuration returned 404) and hostname resolution (production MCP host did not resolve). No ConnectKey build has been tried in this client.
* [Antigravity IDE MCP configuration](https://antigravity.google/docs/mcp/)


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