Revit MCP setup guide

Connect Gemini to Revit

To connect Gemini to Revit, install the VI MCP add-in and add its server, https://api.vi-mcp.cloud/mcp, with your VI MCP key to Google Antigravity, the app where Gemini works as an agent. Gemini then reads and changes your live model in Revit 2022, 2023, 2024, 2025, 2026, 2027 when you ask. Antigravity is free with a personal Google Account, and Gemini CLI takes the same server with one command.

Updated November 2026

Animation: in Revit, MCP Setup and COPY JSON copy the VI MCP key; in Antigravity, Customizations, Installed, MCP Servers and Copy Config File Path open mcp_config.json, where a revit-vi-mcp entry with serverUrl https://api.vi-mcp.cloud/mcp and the key after Bearer is saved; then Gemini is asked to say hello to Revit, the VI MCP tool is allowed and Gemini answers from the open Revit model
The MCP Setup window is the real one, with a made-up key. Antigravity is a sketch with Google’s labels.

Before you start

  • Windows 10 or newer and Revit 2022, 2023, 2024, 2025, 2026, 2027
  • Your Revit project open
  • Google Antigravity with a personal Google Account
  • Or Gemini CLI with Code Assist Standard or Enterprise, or a paid API key

Which Gemini works?

Where VI MCP
Google Antigravity (app or CLI) ✓ Yes, with a personal Google Account
Gemini CLI ✓ Yes, with Code Assist Standard or Enterprise, or a paid API key
Gemini app (gemini.google.com) — No: custom apps sign in with OAuth, VI MCP with a key

Since 18 June 2026, Gemini CLI no longer serves Google AI Pro, Ultra or the free Gemini Code Assist; Google moved them to Antigravity CLI. Antigravity’s free quota refreshes weekly, and Google AI Pro and Ultra raise it. Custom apps in the Gemini app also need the US: see Google’s requirements.

  1. 1

    Install VI MCP and connect Revit

    Install VI MCP and open Revit with your project. First time only: click Connect on the VI MCP tab, sign in with Autodesk and wait for the green dot.

    Get it on Autodesk Marketplace
  2. 2

    Copy your key

    On the VI MCP tab, click MCP Setup, then COPY JSON. Paste it into Notepad and copy only the key: the text after Bearer, from revit_live_ up to the closing quote.

    The VI MCP MCP Setup window in Revit with marks: 1, the COPY JSON button; 2, Valid until 19 December 2026 under Your key
    COPY JSON (1). The key works until the date shown (2).
  3. 3

    Add VI MCP to Antigravity

    Download Antigravity, install it and sign in with your Google Account. Click Customizations in the sidebar, then Installed, and under MCP Servers click Copy Config File Path. Open that file in Notepad, paste this in, put your key in place of YOUR_KEY and save:

    {
      "mcpServers": {
        "revit-vi-mcp": {
          "serverUrl": "https://api.vi-mcp.cloud/mcp",
          "headers": {
            "Authorization": "Bearer YOUR_KEY"
          }
        }
      }
    }

    If the file already lists servers, add only the "revit-vi-mcp" entry inside "mcpServers". Then restart Antigravity: revit-vi-mcp appears under MCP Servers. The format is in Antigravity’s MCP guide.

  4. 4

    Say hello to Revit

    Keep Revit open and connected. Start a new conversation in Antigravity and send:

    Say hello to Revit using VI MCP.

    Allow the VI MCP tool when Antigravity asks. Gemini replies with your Revit version, project and view: you are ready.

Gemini CLI

Connect Gemini CLI to Revit

With Gemini Code Assist Standard or Enterprise, or a paid Gemini API key, run this once in PowerShell, with your key in place of YOUR_KEY:

gemini mcp add -s user --transport http --header "Authorization: Bearer YOUR_KEY" revit-vi-mcp https://api.vi-mcp.cloud/mcp

gemini mcp list then shows revit-vi-mcp as Connected. In Antigravity CLI, use the same entry as in step 3 and type /mcp to see the server.

Keep your key to yourself

The key sits in plain text in mcp_config.json, or in Gemini CLI’s settings. Anyone who has it can read and change your models while your Revit is connected, so do not share or commit that file. If it leaks, click Regenerate in MCP Setup: you get a new key and every other key of your account stops working.

A key lasts 30 days, and MCP Setup shows the date. After you sign in again or regenerate it, put the new key in place of the old one.

Troubleshooting

If Gemini cannot reach Revit

revit-vi-mcp is not under MCP Servers
Check that the entry sits inside "mcpServers" and that no comma or quote is missing, then restart Antigravity.
VI MCP answers that the key is not valid
Check the key after Bearer and one space. If your key changed, put in the new one. Keep Revit open with the green dot in the VI MCP Connection window.

FAQ

Gemini and Revit: questions

Can I use the Gemini app at gemini.google.com with Revit?
Not today. Its custom apps work only in the US, with a personal Google Account, and connect through OAuth sign-in, while VI MCP connects with a key. Use Google Antigravity, which runs Gemini and accepts the key.
Is Gemini in Antigravity free?
Yes, with a personal Google Account and a quota that refreshes weekly; Google AI Pro and Ultra raise the limits. VI MCP has its own free 30-day trial, then costs from $2.99/month.
Why does Antigravity ask before every VI MCP action?
Antigravity runs MCP tools in Ask mode until you allow them; the rule mcp(revit-vi-mcp/*) in its permissions allows every VI MCP tool. In Gemini CLI, choose Always allow this server. A destructive action still runs as a dry run first and reports how many elements it would change.
What can Gemini do in Revit with VI MCP?
The same as any assistant connected to VI MCP: find, create, change and document elements in your live model with 300+ Revit tools.
Does Gemini CLI still work?
Only with Gemini Code Assist Standard or Enterprise, or a paid Gemini API key. Since 18 June 2026, Google AI Pro, Ultra and free Gemini Code Assist users have Antigravity CLI instead.