New: the MailCraft MCP server is live — connect your AI agent in one line. Connect your agent →
AI agents

Antigravity

Antigravity is Google’s agent-first IDE. Register MailCraft as an MCP server and its agents can send and manage email autonomously.

Prerequisites

  • Antigravity installed
  • A MailCraft API key with the scopes you want the agent to have — create one under Settings → API keys.

Setup

  1. 1

    Open the MCP configuration

    In the agent panel open the … menu → MCP Servers → Manage MCP Servers → View raw config, and add:

    mcp_config.json
    {
      "mcpServers": {
        "mailcraft": {
          "serverUrl": "https://mcp.mailcraft.host",
          "headers": {
            "Authorization": "Bearer sk_live_your_api_key"
          }
        }
      }
    }

    Replace sk_live_your_api_key with your key. The agent only gets the tools that key's scopes allow. Antigravity uses "serverUrl" for remote servers (not "url"), the same as Windsurf.

  2. 2

    Restart Antigravity

    Reload the app, or refresh the MCP servers list, to load the configuration.

  3. 3

    Verify the connection

    Ask the agent:

    antigravity
    List all my MailCraft domains

Example prompts

Once connected, try asking Antigravity:

  • Set up a sender for [email protected]
  • Pause the "Onboarding" automation
  • Show me my email metrics for the last 7 days

See every tool the agent can use in the MCP server reference.