Skip to content
MCP server

Antigravity Gemini MCP

Lets Gemini drive a local Antigravity IDE through a self-hosted remote MCP server

Antigravity Gemini MCP is an open-source MCP server for ai models and llm tooling. It runs as a hosted remote server, so there is nothing to install locally.

Pricing
Open source
Platforms
Windows, Self-hosted, API
Runs
Remotely
What it can do
Can change data (3 tools)
Version
1.0.0

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add --transport http antigravity-gemini-mcp https://your-domain.com/mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "antigravity-gemini-mcp": {
      "type": "http",
      "url": "https://your-domain.com/mcp"
    }
  }
}

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

https://your-domain.com/mcp

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "antigravity-gemini-mcp": {
      "url": "https://your-domain.com/mcp"
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "antigravity-gemini-mcp": {
      "type": "http",
      "url": "https://your-domain.com/mcp"
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

In chatgpt.com → Plugins → + → Add custom MCP server

https://your-domain.com/mcp

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

ChatGPT setup guide

Add with the CLI

Run in a terminal

codex mcp add antigravity-gemini-mcp --url https://your-domain.com/mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.antigravity-gemini-mcp]
url = "https://your-domain.com/mcp"

Codex setup guide

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://your-domain.com/mcp

Enter a Name (for example "Antigravity Gemini MCP"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "antigravity-gemini-mcp": {
      "type": "http",
      "url": "https://your-domain.com/mcp"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "antigravity-gemini-mcp": {
          "httpUrl": "https://your-domain.com/mcp"
        }
      }
    }

    Or run: gemini mcp add -s user --transport http antigravity-gemini-mcp https://your-domain.com/mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "antigravity-gemini-mcp": {
          "serverUrl": "https://your-domain.com/mcp"
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "antigravity-gemini-mcp": {
          "url": "https://your-domain.com/mcp",
          "transport": "http"
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "antigravity-gemini-mcp": {
          "type": "streamableHttp",
          "url": "https://your-domain.com/mcp"
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "antigravity-gemini-mcp": {
          "url": "https://your-domain.com/mcp"
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "antigravity-gemini-mcp": {
          "url": "https://your-domain.com/mcp"
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "antigravity-gemini-mcp": {
          "url": "https://your-domain.com/mcp"
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "antigravity-gemini-mcp": {
          "url": "https://your-domain.com/mcp"
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Antigravity Gemini MCP

Instead of building its own phone interface, this project exposes a locally running Antigravity IDE as a standard remote MCP server, so the Gemini app becomes the front end. A single conversation can combine web search, handing a coding task to Antigravity, and reviewing the resulting diff.

The host machine runs a Python gateway that bridges requests to Antigravity through its command-line agent interface. Access is secured with OAuth 2.1 and PKCE, with the user's configured token serving as the credential. A public HTTPS endpoint is required, which the README suggests providing with a Cloudflare tunnel.

It suits developers who already run Antigravity on a Windows machine and want to dispatch tasks, check progress, and read project files from a phone without installing another app.

Tools this server provides (9)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 3 of 9 tools change data.

From the server's own tool labels and tool names; not verified by us.

list_projectsName suggests: reads
Lists open Antigravity projects.
list_conversationsName suggests: reads
Lists conversations in a project.
check_server_healthName suggests: reads
Checks the status of the bridge server.
create_and_send_taskName suggests: changes
Creates a new task and sends it to Antigravity.
send_messageName suggests: changes
Sends a message into an existing conversation.
get_task_resultName suggests: reads
Retrieves the output of a task, with offset and length options.
stop_taskName suggests: changes
Stops a running task.
list_filesName suggests: reads
Lists files in a workspace.
read_file_snippetName suggests: reads
Reads a portion of a file.

What it does

Remote MCP server
Exposes a local Antigravity instance as a Streamable HTTP MCP server that clients can connect to.
OAuth 2.1 authentication
Uses PKCE and dynamic client registration, with the auth token entered on an approval page.
Synchronous and asynchronous tasks
Short tasks return results directly, while longer jobs return a conversation ID to poll later.
Multi-window project routing
Routes requests to the correct open workspace using the project path.
Read-only file access
Lists project files and reads snippets from the host machine.

Good for

  • Dispatch a coding task to Antigravity from a phone and check its progress later
  • Combine a web search with a code change in one conversation
  • Review diffs and conversation output produced by Antigravity remotely
  • Read project file snippets on the host without opening the IDE

Pricing

Open source

Free and MIT licensed; self-hosted.

Antigravity Gemini MCP FAQ

Does the host need to stay on?

Yes. Any Windows machine that stays powered on can host it, but it needs a public HTTPS endpoint reachable from the internet.

Are self-signed certificates supported?

No. The Gemini backend rejects self-signed certificates and plain HTTP, so a trusted certificate is required.

Which clients can connect?

Any MCP client that supports remote Streamable HTTP servers can connect, not only Gemini.

Is Antigravity Gemini MCP free?

Yes. Antigravity Gemini MCP is open source, so you can use and self-host it for free.

How do I add Antigravity Gemini MCP to Claude Code?

Run this command in your terminal: claude mcp add --transport http antigravity-gemini-mcp https://your-domain.com/mcp

What are the best alternatives to Antigravity Gemini MCP?

The closest alternatives to Antigravity Gemini MCP are AGY-Nexus MCP, GeminiBastionMCP — Remote MCP Bastion for Web Gemini, Claude & ChatGPT, Antigravity MCP Server, Claude Agy MCP and Proxima.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers