Skip to content

Updating visuals

If you see any images containing outdated UI, please bear with us.

We are updating all content as quickly as possible to mirror our new UI.

Connect Antigravity ​

Antigravity connects to WeWeb through an entry in its mcp_config.json file. The server is available at:

https://ai-api.weweb.io/v1/mcp

Add the server ​

Follow along in the guide above, or use these steps:

  1. Click the ... menu in the Agent panel.
  2. Click MCP Servers.
  3. Click Manage MCP Servers.
  4. Click View raw config.
  5. Copy the JSON block below.
  6. In your mcp_config.json file, paste the weweb block inside the mcpServers object.
  7. Confirm your file matches the layout shown in the guide.
  8. Save the file (⌘ + S on Mac, Ctrl + S on Windows).
  9. Restart Antigravity, and on restart you will be prompted to authenticate with WeWeb.
  • MacOS and Linux: ~/.gemini/antigravity/mcp_config.json
  • Windows: %USERPROFILE%\.gemini\antigravity\mcp_config.json
json
{
  "mcpServers": {
    "weweb": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://ai-api.weweb.io/v1/mcp"]
    }
  }
}

INFO

Already running other MCP servers? Place the "weweb" block alongside them, inside the single mcpServers object. Keeping one mcpServers key is what keeps the file valid JSON.

CONTINUE LEARNING

Antigravity can now call WeWeb tools. Each tool is a single action the agent can run, such as creating a page or adding a table.

See all available tools →