revit-bridge / revit-bridge setup guide

Connect your AI coding agent to Revit

Set up revit-bridge for Claude Code, Codex or an MCP client. Install Skills and the Revit add-in, connect the server and verify your first task.

Connect Claude Code to Revit

revit-bridge connects an AI client to the open Revit model through an MCP server and the Windows revit-bridge-addin. Install and enable the add-in for your Revit year, install the Claude Code plugin or configure Skills and an MCP server for your client, then run uvx revit-bridge check and verify the document. Skills provide working instructions; the live connection also requires the MCP server and Revit add-in.

  1. Install and enable the Revit add-in on the Windows computer running Revit, then open a test model.
  2. Configure the AI client: use the plugin commands for Claude Code; install Skills and register MCP separately for Codex.
  3. Check the connection result: verify the document, Revit environment and capabilities, then make a read-only query.
  4. Test changes against acceptance criteria. For the browser interface in the videos, also see revit-bridge-web.

Source: framework installation instructions at the checked revision.

Choose the components for your task

Use Skills for a task brief, standalone C# add-in development, testing, release preparation or journal analysis. Add the MCP bridge when the agent needs the open model or must verify code inside Revit. Add revit-api-docs when it needs an exact API definition. These are separate components; installing Skills does not connect Revit.

Prerequisites: Python 3.11+ and uv. The current bridge README lists Revit 2020, 2021 and 2023–2026. Install the matching revit-bridge-addin on the Windows machine running Revit, open your test model and enable the bridge with Add-Ins > Revit Bridge in add-in v0.6.0. Dry runs and compiled add-in tests require add-in 0.5.0 or later. The default listener is 127.0.0.1:18080.

The development Skills cover a different version range from the live bridge. Confirm the exact Revit release in the upstream README before choosing an add-in build.

Install the Revit add-in on Windows

For a first local connection, use Windows x64 and PowerShell 5.1 or later. Save your work and close the Revit year you are installing for. Run this in PowerShell, replacing 2026 with your installed, supported Revit year:

& ([scriptblock]::Create((irm https://raw.githubusercontent.com/revitbridge/revit-bridge-addin/main/installer/install.ps1))) -RevitVersion 2026

This downloads and runs the upstream installer. It selects the year's release package and verifies its checksum. Read the completion message before reopening Revit: an open target session prevents installation. A fresh install uses local mode; an update preserves the existing connection mode.

Start that Revit year. Current releases are unsigned: if you trust the downloaded add-in, choose Load Once or Always Load in Revit's loading prompt; Do Not Load leaves it unavailable. With v0.6.0, open a test model and click Add-Ins > Revit Bridge to turn the bridge on. Hold Shift while clicking that button to open its settings panel. Enable the bridge after each Revit start unless you have enabled automatic startup in that panel, then configure your agent below.

Match the instructions to your installed build: as checked on November 28, 2026, the latest release is v0.6.0. The single Revit Bridge button is now released; see the v0.6.0 instructions. If you still have v0.5.0 installed, use its Revit MCP Switch and Settings buttons, documented in the v0.5.0 instructions. Running the installer from main downloads a release package by default, not a build of the main branch.

Instructions checked against the upstream installation guide, release-tagged source and installer source on November 28, 2026; no new Revit installation test was performed for this update.

Install for your coding agent

Claude Code: plugin, MCP server and Skills

Run these commands inside Claude Code. The plugin includes the Skills, MCP configuration and confirmation hook. Reload plugins or open a new conversation after installation.

/plugin marketplace add revitbridge/revit-bridge
/plugin install revit-bridge@revit-bridge

Codex and agents reading .agents/skills

Run this in your project directory, then start a new conversation. This installs Skills; configure the MCP server separately if you want the live connection.

uvx revit-bridge skills install --to .agents/skills

For a standalone add-in project without the bridge, install the four phase Skills:

uvx revit-bridge skills install --profile addin --to .agents/skills

MCP connection

In an MCP client, register a stdio server with command uvx and argument revit-bridge. Claude Desktop uses this configuration:

{
  "mcpServers": {
    "revit-bridge": {
      "command": "uvx",
      "args": ["revit-bridge"]
    }
  }
}

Run the server where it can reach the Revit add-in listener. If your agent runs in WSL, a container or on another computer, its 127.0.0.1 is a different endpoint; follow the repository's connection configuration. Install revit-api-docs separately if API retrieval is needed.

Verify the connected model

Run this read-only check after setup, before requesting a model change.

uvx revit-bridge check
  1. Expect status: connected: this means the add-in answered. CLI exit code 0 also establishes a response, not completion of a modeling task.
  2. Match document to the intended test model. Resolve document_error before relying on a model read.
  3. Check the Revit version and runtime in environment. capability: supported means the capability query answered; also check the particular features you need.
  4. Ask the agent for get_project_snapshot or query(kind="selection") and verify the returned model facts. Seeing an MCP tool list alone does not establish a connection to the intended Revit document.

If the connection succeeds but the document is wrong, check whether several Revit years are open. The default local port is 18080; only one listener can use it at a time. Configure separate ports for concurrent connections. Connection troubleshooting · Source for the check fields

A first task you can verify

Use a test model. In Codex, invoke $revit-task-brief and describe the desired result. For example:

Use revit-bridge to inspect the open Revit model and list its wall types.
Do not modify the model yet. Help me write a testable brief for an add-in
that changes one selected wall type's thickness. Identify units, affected
elements, cancellation behavior and checks needed to verify the result.
  1. Read model facts before assuming a family, type or parameter exists.
  2. Use the coding Skills and consult API documentation when an interface is uncertain.
  3. Use check_code for compilation diagnostics, then dry_run_code to inspect changes that are rolled back.
  4. Build the add-in and use test_addin_command for a real Revit test. Report what passed and what remains unverified.
  5. Follow the bridge's confirmation flow before retaining changes in the model.

If connection fails, check that Revit is open, the correct add-in is installed and the listener is switched on. If a tool is missing, check the installed server and add-in versions against the README.

Check the connection and verify the returned model title and version:

uvx revit-bridge check

Connection fields and troubleshooting steps · Full code verification workflow

Evidence and reference

The published evaluation tested two tasks in one Revit 2026 model. The full configuration completed 38/38 valid runs. This is evidence for that setup, not a success guarantee for other tasks. Read the test method and limitations.