How to set up the Sandcastles MCP in Google Antigravity

MCPUpdated October 8, 2026

Connecting the Sandcastles MCP to Google Antigravity

You can add Sandcastles to Google Antigravity as an MCP server, then sign in with your Sandcastles account. The quickest way is to ask the Antigravity agent to add it for you. It works in the Antigravity app, IDE and CLI.

Before you start

  • You need a Pro, Visionary or Titan plan. The MCP isn't included in the Starter plan.
  • The Sandcastles MCP server URL is https://mcp.sandcastles.ai/. You can also copy it in Sandcastles under Settings > Connectors on the MCP card: hover over the URL and click Copy.
  1. Open a project in Antigravity and paste this prompt into the agent:

    Add an MCP server named sandcastles with serverUrl https://mcp.sandcastles.ai/ to this project's .agents/mcp_config.json.
    
  2. Open Settings > Customizations.

  3. Click Refresh on the MCP servers list.

  4. Click Authenticate next to Sandcastles.

  5. Log in with your Sandcastles account and approve access.

In the Antigravity CLI, type /mcp and choose Authenticate instead of steps 2 to 4.

Option 2: Set it up manually

  1. In the Antigravity IDE, open the … menu in the agent panel.

  2. Click MCP Servers > Manage MCP Servers > View raw config. You can also open ~/.gemini/config/mcp_config.json directly.

  3. Add Sandcastles to the config:

    { "mcpServers": { "sandcastles": { "serverUrl": "https://mcp.sandcastles.ai/" } } }
    

    If the file already has an mcpServers section, add the sandcastles entry inside it instead of creating a second one.

  4. Save the file.

  5. Click Refresh on the MCP servers list.

  6. Click Authenticate next to Sandcastles, then log in with your Sandcastles account and approve access.

Once you're connected, try: "Use Sandcastles to show me the top videos in my watchlist from the last 7 days."

Important notes

  • The field must be serverUrl. Antigravity doesn't accept url.
  • Sign in separately in each part of Antigravity you use (app, IDE and CLI). Sign-ins aren't shared between them.
  • The MCP works in the workspace you last had open in Sandcastles. You can ask the agent to list your workspaces or switch to another one. Switching also changes the workspace you see the next time you open Sandcastles.
  • Analyzing a video uses 1 credit. If the video is already in your workspace, it doesn't use another credit.

Troubleshooting

  • "Your Sandcastles plan doesn't include MCP access." Your account isn't on a Pro, Visionary or Titan plan. Upgrade, then try again.
  • "You don't have enough credits to perform this action." You're out of credits for analyzing new videos. You can buy more in Settings > Subscription > Buy additional credits.

If you have any questions, please reach out to support@sandcastles.ai.

More in MCP

View all