Postgate AI
Setup

Connect Exchange to Google Antigravity & Gemini: agentic automation via MCP

In 2026, Google consolidated its developer and agent tooling under the Antigravity brand (desktop app, IDE, Antigravity CLI). Through MCP, Postgate AI becomes the Exchange tool for Antigravity's autonomous agents: 90+ tools for mail, calendar, and contacts, server-side, with each user's own permissions. For organizations, Gemini Enterprise also connects through the same MCP server. Only the consumer Gemini app (mobile/web) doesn't support custom MCP connectors yet.

Requirements
  • Option A: Google Antigravity (desktop app or Antigravity CLI)
  • Option B: Gemini Enterprise (Google Cloud product, admin access)
  • Your personal MCP address from the portal dashboard

Option A: Google Antigravity (desktop & CLI)

  1. 1

    Copy your MCP address from the dashboard

    Sign in to the Postgate AI portal. On the dashboard, under "Connect your AI assistant", you’ll find your personal MCP address (format: https://postgate-ai.com/mcp/your-company) with a copy button.

  2. 2

    Open the MCP configuration

    Antigravity 2.0, the IDE, and the Antigravity CLI share one central file: ~/.gemini/config/mcp_config.json (global) or .agents/mcp_config.json per workspace. In the IDE, open it from the "…" menu at the top of the agent panel → "Manage MCP Servers" → "View raw config".

  3. 3

    Add Postgate AI as a remote server

    Add Postgate AI under mcpServers. Important: Antigravity requires the serverUrl field (not url or httpUrl). Antigravity handles OAuth automatically via Dynamic Client Registration. The first time you connect (in the CLI: run agy, /mcp, Authenticate), the browser opens so you can sign in with your portal account.

    Google Antigravity: mcp_config.json with serverUrl and MCP panel "postfach-ki" (Authed)
    Simplified illustration, not an actual screenshot.
    {
      "mcpServers": {
        "postfach-ki": {
          "serverUrl": "https://postgate-ai.com/mcp/your-company"
        }
      }
    }

    Access control: "Google (Antigravity)" must be enabled under "Allowed AI clients" on the portal dashboard (default: on). Note: As of July 2026, Antigravity’s OAuth for third-party remote MCP servers isn’t stable (you may occasionally see "Unauthorized" despite a successful login, and the CLI and IDE share the same language server). We can help with setup or provide a header-based workaround.

  4. 4

    Option B: Gemini Enterprise (for organizations)

    Gemini Enterprise is a separate, licensed Google Cloud product (not the consumer app). An administrator registers a custom MCP server in the Google Cloud console under integrations and enters your MCP address as the endpoint. Gemini Enterprise only accepts Streamable HTTP, which Postgate AI supports natively. Note: per-user OAuth support is currently limited. We’re happy to check whether your setup is a fit.

    Gemini Enterprise console: custom MCP server form (endpoint, OAuth 2.0)
    Simplified illustration, not an actual screenshot.

If something goes wrong

Antigravity won’t connect

Check that you use serverUrl (not url or httpUrl) and that the MCP address exactly matches the one from your dashboard. "Google (Antigravity)" must be enabled in the portal dashboard. If it stays "Unauthorized" after login, that is a known client-side Antigravity bug with remote MCP OAuth. Contact us and we’ll set up the header-based workaround.

No MCP option in the Gemini app

That’s expected: the consumer app doesn’t offer custom connectors yet. Use Antigravity, Gemini Enterprise, or one of the fully supported assistants: Claude, ChatGPT, Perplexity, or Mistral (Vibe).

Frequently asked questions

Has the Gemini CLI been shut down?
For personal, Pro, and Ultra tiers, yes, since June 18, 2026. The successor is the Antigravity CLI (command agy). Enterprise customers with a Gemini Code Assist / Enterprise license keep the classic Gemini CLI. Postgate AI works with both.
When will MCP arrive in the regular Gemini app?
Google has not announced an official date. As soon as it happens, your existing Postgate AI address will work there unchanged, and we’ll let our customers know.
Does Postgate AI support Streamable HTTP?
Yes. Postgate AI supports Streamable HTTP natively, which is the transport Gemini Enterprise requires. Server-Sent Events (SSE) are not needed for this.