<!-- page:43484 -->
# Connect Google Antigravity CLI to Wikilayer

<!-- block:43485 -->
## Gemini and Antigravity

Antigravity CLI is Google's agent client; Gemini is the model it runs. The [Individual plan](https://antigravity.google/pricing?app=cli) has a free starter quota, so connecting Wikilayer does not require a paid plan.

<!-- block:43486 -->
## Install and sign in

Install the current CLI with Google's [official installer](https://www.antigravity.google/docs/cli/install/):

```sh
curl -fsSL https://antigravity.google/cli/install.sh | bash
```

Start it:

```sh
agy
```

Antigravity opens a browser. Sign in with your Google account, then return to the terminal.

<!-- block:43487 -->
## Add Wikilayer

Open Antigravity's global MCP configuration in a regular terminal:

```sh
mkdir -p ~/.gemini/config
nano ~/.gemini/config/mcp_config.json
```

For a new file, use:

```json
{
  "mcpServers": {
    "wikilayer": {
      "serverUrl": "https://wikilayer.org/mcp"
    }
  }
}
```

If the file already contains MCP servers, add the `wikilayer` entry inside its existing `mcpServers` object instead of replacing the file. Restart `agy` after saving.

<!-- block:43488 -->
## Authorize access

Inside Antigravity, open the MCP manager:

```text
/mcp
```

Select **wikilayer**, then **Authenticate**. Open the URL it gives you, sign in to Wikilayer, and approve access. Copy the authorization code from the browser and paste it back into Antigravity. The server status changes from **Auth Needed** to authenticated.

<!-- block:43489 -->
## What's next

Try [a first question](block:5548) to confirm that Antigravity can see your wikis.

---

## Links here

- [Set up MCP](page:4400)
