Antigravity
Google Antigravity is an agentic development environment that can connect to CARTO through a remote MCP server.
Before you start: Copy your MCP Server URL from CARTO Workspace under Workspace > Settings > MCP Server
Connect the MCP Server
Antigravity supports remote MCP servers through its MCP configuration.
Open Manage MCP Servers > View raw config and add CARTO to the mcpServers configuration:
{
"mcpServers": {
"carto": {
"serverUrl": "https://<region>.api.carto.com/mcp/<account_id>",
"headers": { "Authorization": "Bearer YOUR_CARTO_TOKEN" }
}
}
}Replace <region> and <account_id> with the values from your CARTO MCP Server URL.
Use a CARTO API Access Token in the header for the read-and-discovery subset.
For the full surface, set up OAuth with a manual client ID and secret — CARTO doesn't support dynamic client registration for non-Claude clients (see Connecting with OAuth).
Skills and the CLI
Because Antigravity is a full IDE with a terminal, you can also use the CARTO CLI for scripting, automation, and administration.
Antigravity supports the SKILL.md format used by CARTO Agent Skills. You can add CARTO skills by placing the skill folders in your skills directory:
Workspace:
.agents/skills/Global:
~/.gemini/config/skills/
The exact skills directory can vary by Antigravity version, so confirm the current path in your installed version before adding skills.
The CARTO CLI and Agent Skills are complementary to the MCP connection: MCP gives the agent access to CARTO tools, while the CLI and skills can provide additional instructions and workflows for working with CARTO from the development environment.
Last updated
Was this helpful?
