Skip to content

IntegrationsMCP clients

Antigravity

Add Artiwright to Google Antigravity (IDE and CLI) as a local MCP server, or connect a remote one.

Antigravity.md

The Antigravity IDE and the Antigravity CLI share one MCP configuration, so you add Artiwright once.

You need: Node.js 22.13 or newer (prerequisites).

  1. Open the MCP config:

    File Applies to
    ~/.gemini/config/mcp_config.json Every workspace
    .agents/mcp_config.json in a project That project

    In the IDE you can open it from the agent panel: … → MCP Servers → Manage MCP Servers → View raw config.

  2. Add Artiwright under mcpServers:

    {
    "mcpServers": {
    "artiwright": {
    "command": "npx",
    "args": ["-y", "artiwright@latest", "mcp"]
    }
    }
    }
  3. Check it’s connected:

    • IDE: in Settings → Customizations → Installed MCP Servers, choose Refresh. Artiwright is listed with its tools.
    • CLI: start agy and type /mcp. The MCP manager shows each server’s status and its connection log.

New MCP tools ask for your permission the first time the agent uses them.

Ask in plain words:

  • “Make a four-slide product update with a chart of weekly active users.”
  • “Build a hiring-plan workbook with a formula for the cost per quarter.”

Finished files are saved in the workspace you have open, or where you ask. The agent tells you the path.

For an HTTP server, use serverUrl and a header:

{
"mcpServers": {
"artiwright": {
"serverUrl": "https://artiwright.example.com/mcp",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
}
}
}

Antigravity uses serverUrl for remote servers; url and httpUrl aren’t supported.

Artiwright shows as disconnected

Run npx -y artiwright@latest version in a terminal; if it fails, install or update Node.js. In the CLI, /mcp shows the server’s connection log and can reload the config.

You have more than one Node.js installed (nvm, fnm, Volta)

The app may start an older Node.js than your terminal does, and Artiwright then fails or times out. Make Node.js 22 or newer your default (with nvm: nvm alias default 24), then restart the app. If it still starts the old one, give the server a PATH that starts with your Node.js folder (nvm which 24 shows it, without the final /node):

"env": { "PATH": "/Users/you/.nvm/versions/node/v24.21.0/bin:/usr/bin:/bin" }