Skip to main content
Connect Antigravity to your local documents through MCP or Linkly AI CLI.

Before you start

Install Antigravity and keep Linkly AI Desktop running on the same computer. Add a folder and wait for indexing to finish. On the Agent usage page, enable Allow local access and copy the address from View MCP connection settings. The example uses port 60606; use the address shown in your app.

Connect with local MCP

1

Open the configuration

In the Antigravity IDE agent panel, open … → MCP Servers → Manage MCP Servers → View raw config. In Antigravity App, open Customizations → Installed → MCP Servers and use Copy Config File Path to find the configuration.
Official MCP Store screenshot, with the management button at the top right.

Official MCP Store screenshot, with the management button at the top right.

Source: Google Codelabs. Unmodified. Getting Started with Antigravity IDE · CC BY 4.0
2

Add the server

Add this entry to mcpServers in mcp_config.json, keeping your other server entries. Local HTTP access does not need an API key.
3

Save and refresh

Save the file. In the IDE, return to Manage MCP Servers and refresh. In the App, use More actions (⋮) → Restart next to the server. Confirm that linkly-ai and its tools appear.

Other connection methods

MCP stdio

First install Linkly AI CLI, then use this configuration instead of the HTTP entry. Keep Linkly AI Desktop running. If Antigravity cannot find linkly, use the full path to the installed executable as command.

CLI

After installing the CLI, you can also ask the agent to run these commands directly:

Verify the connection

Ask this in a new conversation. Check that Antigravity calls Linkly AI tools and returns indexed documents. If it cannot connect, check that local access is running, the port matches the desktop app, and both apps run on the same computer.
Linkly AI Skills provide instructions for searching and reading documents. For cloud libraries or access from another computer, see the integration overview.

Official reference

Antigravity MCP