rvt-mcp
Provides tools to interact with Autodesk Revit, enabling AI agents to query and manipulate Revit models, including views, elements, parameters, schedules, families, and more.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@rvt-mcpshow me all floors in the project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Install
Client machines should use the setup ZIP from GitHub Releases. It bundles a self-contained MCP server and Revit 2022–2027 plugins — no .NET SDK, NuGet global tool, or source clone.
AI agents: download RvtMcp.Setup-*-win-x64.zip from the latest release and run the installer. Do not clone, build, or dotnet tool install unless the user asked for a developer setup. Protocol: AGENTS.md.
$tag = (Invoke-RestMethod https://api.github.com/repos/bimwright/rvt-mcp/releases/latest).tag_name
$zip = "$env:TEMP\RvtMcp.Setup-$tag-win-x64.zip"
$dir = "$env:TEMP\RvtMcp.Setup-$tag-win-x64"
Invoke-WebRequest "https://github.com/bimwright/rvt-mcp/releases/download/$tag/RvtMcp.Setup-$tag-win-x64.zip" -OutFile $zip
Expand-Archive $zip -DestinationPath $dir -Force
powershell -ExecutionPolicy Bypass -File "$dir\install.ps1" -WhatIf
powershell -ExecutionPolicy Bypass -File "$dir\install.ps1"The installer detects Revit 2022–2027, installs matching plugins, copies the server under %LOCALAPPDATA%\RvtMcp\rvt\server\<version>\, and wires detected MCP clients. Override with -Client codex|opencode|claude|kilo|none.
Do not install v0.5.0 or earlier ZIPs. Do not dotnet tool install -g Bimwright.Rvt.Server (legacy 0.1–0.3). Do not use NuGet instead of this ZIP on a Revit client machine — the tool package has no add-in.
For AutoCAD, use dwg-mcp separately — different product, different install.
Check that it works
Open Revit with a model.
Start the MCP connection from the ribbon (BIMwright / RvtMcp panel).
From the MCP client, list tools, then call
revit_get_current_view_info.
You should get something like:
{ "viewName": "Level 1", "viewType": "FloorPlan", "levelName": "Level 1", "scale": 100 }If that fails, install is not done yet — fix client config / plugin load before anything else.
Uninstall
From the setup ZIP root (or this repo’s scripts/):
# Setup ZIP layout:
powershell -ExecutionPolicy Bypass -File .\uninstall.ps1 -WhatIf
powershell -ExecutionPolicy Bypass -File .\uninstall.ps1 -Yes
# Clone layout:
powershell -ExecutionPolicy Bypass -File .\scripts\uninstall-all.ps1 -WhatIf
powershell -ExecutionPolicy Bypass -File .\scripts\uninstall-all.ps1 -YesRemoves plugins, self-contained server, client entries, discovery files, logs, and ToolBaker cache.
Developer install
git clone https://github.com/bimwright/rvt-mcp.git
cd rvt-mcp
dotnet build src/RvtMcp.sln -c Debug
powershell -ExecutionPolicy Bypass -File .\scripts\install.ps1 -SourceDir . -Client noneClose every Revit first — the build deploys plugin DLLs into %APPDATA%\Autodesk\Revit\Addins\<year>\RvtMcp\. install.ps1 finds Revit 2022–2027, copies the server under %LOCALAPPDATA%\RvtMcp\rvt\server\<version>\, and wires detected MCP clients (-Client codex|opencode|claude|kilo|none, -Years 2024 for one year).
Optional — NuGet server only (does not install Revit plugins). Use this if the add-in is already on the machine (ZIP or a local build) and you want the MCP server on PATH:
dotnet tool uninstall -g Bimwright.Rvt.Server # skip if you never installed the 0.1–0.3 tool
dotnet tool install -g RvtMcp.Server --version 0.6.1Command name: rvt-mcp. Keep using the GitHub Release ZIP for plugins. Bimwright.Rvt.Server is obsolete.
Migrating from Bimwright.Rvt.* (v0.3 and earlier)
v0.4+ renamed packages and folders to RvtMcp.* (repo name and brand stay bimwright).
Close every Revit.
pwsh scripts/uninstall-old.ps1— drops old%APPDATA%\…\Bimwright\plugins and old server root; keeps user bake/journal data and migrates it to%LOCALAPPDATA%\RvtMcp\on first new launch.Install the current GitHub Release ZIP (Client install above). Do not install v0.5.0 or earlier packages. Uninstall the old global tool if present:
dotnet tool uninstall -g Bimwright.Rvt.Server.Point MCP clients at entry name
rvt-mcp(old per-yearbimwright-rvt-r22… entries are removed by the installer).
Related MCP server: Revit MCP Server
What this is
rvt-mcp is a local bridge between an MCP client (Claude, Cursor, Codex, OpenCode, …) and a running Revit session.
Two processes:
Piece | Role |
RvtMcp.Server | .NET 8 MCP server on stdio. No Revit reference — builds anywhere. |
RvtMcp.Plugin | One thin add-in per Revit year (2022–2027). Runs inside Revit, executes on the UI thread. |
Agent → MCP → server → localhost TCP (≤2024) or Named Pipe (≥2025) → plugin → Revit API.
Everything stays on the machine. No cloud relay is required for the gateway itself.
There is no Node/TypeScript sidecar. Server, plugins, handlers, and ToolBaker are C# end to end. Shared command code lives in src/shared/; each year is a small shell project with #if where the API drifted. Details: ARCHITECTURE.md.
Why it exists
People who live in Revit already know what they want automated. The friction was always shipping that idea as software: learn enough C#/Dynamo, fight the API, package an add-in, survive version upgrades — or pay someone else, or buy a fixed tool that only half-matches the office.
Agents change the first half of that loop (describe the task, try it live). They do not remove transactions, units, selection, worksharing, or “did this just trash the model?” That is what this gateway is for: a typed tool surface for common work, plus an escape hatch when you need ad-hoc C# inside Revit, plus an optional path to turn repeated local patterns into personal tools (ToolBaker).
It is not a universal add-in for every firm. Offices differ. The bet is: start from a shared runtime, grow your tools on top.
Scope posture (honest): we do not mint a new MCP tool for every edge case. Prefer typed tools when they exist; for everything else use revit_send_code_to_revit (C# only). Family project management is covered; full Family Editor authoring suites and Revit Viewer hosts are out of scope for now — see docs/roadmap.md.
How a normal session looks
Revit open with a model; plugin connected (ribbon).
MCP client starts
rvt-mcp/ the installed server.Agent uses tools: query view/selection, create grids/rooms, sheets, MEP, export, … Lengths in mm at the tool boundary.
Several writes in one undo step:
revit_batch_execute.Multiple Revits running:
revit_list_available_targetsthenrevit_switch_targetwith a four-digit year (2024, notR24).
When no typed tool fits:
revit_send_code_to_revit # C# body, compiled and run inside the pluginThat tool is on by default (toolset meta). Strip it with --read-only or --disable-toolbaker if you do not want agents compiling code in the model.
ToolBaker (optional)
Default surface includes revit_send_code_to_revit. revit_list_baked_tools / revit_run_baked_tool need --toolsets toolbaker (or --toolsets all).
Adaptive bake (suggest new tools from usage) is off unless you enable it. When on, repeated patterns can show up under revit_list_bake_suggestions; you accept or dismiss explicitly. Nothing ships itself into your ribbon without that step.
Useful flags (also JSON / env — see Configuration):
Goal | What to turn on |
Learn tools from repeated typed calls |
|
Also cluster | plus |
Short-lived disk journal of send_code bodies |
|
Bake compile runs inside Revit via Roslyn — end users do not need Visual Studio. Details and privacy notes: docs/bake.md.
Toast (optional)
Completion toast in Revit is off by default. Turn on with the ribbon Toast button, enableToast in config, or BIMWRIGHT_ENABLE_TOAST=1. Only finished calls are shown (no “in progress” toast). Capture success can show a thumbnail when the file sits under the path allowlist. Ribbon Status also prints toast + bake/privacy flags so you can see what is enabled without guessing.
Architecture (short)
MCP client (stdio)
→ RvtMcp.Server (.NET 8)
→ TCP (Revit 2022–2024) or Named Pipe (2025–2027)
→ Plugin shell (per year)
→ ExternalEvent → Revit API / transactions / undoHandlers return plain DTOs — never live Revit objects on the wire.
Tools
Counts (without counting personal baked tools):
Mode | Tools | Notes |
Default | 40 |
|
| 229 | Full catalog |
| 232 | Adds 3 suggestion-lifecycle tools |
Tool names are MCP-facing as revit_*. Wire names between server and plugin stay unprefixed snake_case.
Default-on toolsets: query, create, view, meta
Off unless you ask: everything else (export, geometry, mep, structural, toolbaker, modify, delete, …).
Example: --toolsets query,view,meta or --toolsets all.--read-only drops every write-capable toolset (including create).
Toolset | What it covers | Default |
| View, selection, filters, stats, parameters, relationships, worksets, groups/assemblies | on |
| Grids, levels, rooms, line/point/surface-based elements, groups | on |
| Create views, sheets layout helpers, capture image, crop/scale | on |
| Batch execute (max 20), multi-Revit targets, project info, purge unused (MVP), message, send_code | on |
| View naming patterns, firm-profile detect, warnings summary | off |
| List/create schedules, fields, formulas, data | off |
| Load/unload, types, instances, audit, export | off |
| Operate/color elements, set parameters, change type, workset assign | off |
| Delete by id | off |
| Tags, text, dimensions, regions, keynotes, checks | off |
| PDF/DWG/IFC/NWC helpers, room data, and related export tools | off |
| Systems, connectors, networks, place terminals/fixtures, etc. | off |
| View filters, overrides, visibility/phase | off |
| list/run baked tools; suggestion tools only if adaptive on | off |
| Sheets, titleblocks, revisions, renumber | off |
| Materials, appearance, assignment, takeoff | off |
| BBox, measure, clash, volume/area, … | off |
| Rooms/areas/spaces, finishes, separators | off |
| Revit/CAD links, coordinate audit, acquire/publish coordinates | off |
| Project/shared parameters | off |
| Saved selections, view templates | off |
| Composite clash/audit/sheet/takeoff-style flows | off |
| Columns, beams, foundations, rebar, loads, … | off |
| Active KEI project DB path, query/write SQLite (WAL-safe), equipment import | off |
Representative tools
Not a full dump of 200+ schemas — just anchors agents and humans use often:
Toolset | Tool | Role |
|
| Active view type, level, scale |
|
| Current selection |
|
| Category + parameter filter (mm) |
|
| Location, bbox, workset, phase, … |
|
| Core layout |
|
| Doors, furniture, … from type id |
|
| Raster capture (path allowlist) |
|
| One |
|
| Multi-Revit |
|
| Load |
|
| Host/link origins, sites, transforms, True North |
|
| Escape hatch (C#) |
|
| Personal accepted tools |
|
| Adaptive only |
|
| Naming outliers |
Golden snapshots in tests pin the exact surface; if counts and code disagree, trust tests/code.
Supported Revit versions
Revit | Plugin TFM | Transport |
2022–2024 | .NET Framework 4.8 | TCP |
2025–2026 | .NET 8 ( | Named Pipe |
2027 | .NET 10 ( | Named Pipe |
Compile matrix covers all six shells. Runtime depth still varies by year — bake and custom C# should be rechecked on the years you care about.
Host: full Revit desktop only. Revit Viewer is not a supported target.
Security and privacy
Transport is local by default (loopback TCP / local named pipe).
Discovery files under
%LOCALAPPDATA%\RvtMcp\include a per-session auth token.Tool arguments are schema-checked before handlers run.
Errors returned to the model are sanitized (path leakage reduced).
send_codecan run arbitrary C# in the Revit process — powerful and risky; disable toolbaker if that is unacceptable.Adaptive bake, body cache, and TTL journals are opt-in and stay under the user profile. Defaults do not write raw send_code bodies to long-lived logs.
More: SECURITY.md, docs/bake.md.
Configuration
Precedence, high wins: CLI → env (BIMWRIGHT_*) → %LOCALAPPDATA%\RvtMcp\rvtmcp.config.json.
Setting | CLI | Env | JSON |
Target year |
|
|
|
Toolsets |
|
|
|
Read-only |
|
|
|
LAN bind (plugin) | — |
|
|
ToolBaker surface |
|
|
|
Adaptive bake |
|
|
|
Cache send_code bodies (bake clusters) |
|
|
|
Persist send_code journal |
|
|
|
Journal TTL |
|
|
|
Completion toast | ribbon Toast |
|
|
After changing server flags, restart the MCP connection so the client picks up the new tool list.
MCP clients
Client | Wiring |
Claude Code | project |
Claude Desktop |
|
OpenCode / Codex / Kilo |
|
Cursor / Cline / VS Code Copilot | documented JSON layouts |
Gemini CLI / Antigravity |
|
Installer auto-detect is usually enough; see AGENTS.md and docs/mcp-config-*.md when hand-editing.
Repo layout
rvt-mcp/
├── src/
│ ├── RvtMcp.sln
│ ├── server/ # MCP server
│ ├── shared/ # Handlers, transport, ToolBaker, toast, …
│ ├── plugin-r22/ … r27/ # One shell per Revit year
├── tests/ # xUnit + golden tool lists
├── scripts/ # install / uninstall / package
├── docs/ # roadmap, bake, testing
├── AGENTS.md
└── ARCHITECTURE.mdDevelopment
dotnet test tests/RvtMcp.Tests/RvtMcp.Tests.csproj
dotnet build src/server/RvtMcp.Server.csproj -c Release
dotnet build src/plugin-r26/RvtMcp.Plugin.R26.csproj -c ReleaseClose Revit before building plugins (DLL lock). Plugin projects deploy into %APPDATA%\Autodesk\Revit\Addins\<year>\RvtMcp\ on a normal Debug/Release build.
pwsh scripts/stage-plugin-zip.ps1 -Config ReleaseContribution norms and snapshot rules: CONTRIBUTING.md.
Maturity
Usable, not sacred. CI builds the six plugin shells and server tests. Runtime coverage is strongest on mid-range years; treat production models carefully and verify on your Revit build. Fresh-machine checklist: docs/testing/fresh-install-checklist.md.
More docs
Doc | Topic |
Agent install protocol | |
Processes, transport, DTO rules | |
Adaptive bake and body privacy | |
Near-term hardening and non-goals | |
KEI SQLite tools ( | |
Release notes |
bimwright
Same house style across AEC hosts:
rvt-mcp — Revit
dwg-mcp — AutoCAD
nwd-mcp — Navisworks
ipt-mcp — Inventor
bim-wiki — Vietnamese-first BIM notes
License
Apache-2.0 — LICENSE.
Revit and Autodesk are trademarks of Autodesk, Inc. bimwright is independent and not affiliated with Autodesk.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
A registry of AI agent tools — MCP servers, APIs, CLIs, SDKs — kept current by automated ingestion.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
MCP server for building and testing AI agents with multi-model experimentation and insights.
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Related MCP Servers
- AlicenseAqualityFmaintenanceAllows AI to interact with Autodesk Revit via the MCP protocol, enabling retrieval of project data and automation of tasks like creating, modifying, and deleting elements.1391454MIT
- AlicenseBqualityNot gradedmaintenanceAllows AI assistants to interact with Autodesk Revit through the MCP protocol, enabling the AI to create, modify, and delete elements in Revit projects.15911-
- AlicenseNot gradedqualityAmaintenanceMCP server for Autodesk Revit (BIM) with 705+ API endpoints. Enables AI agents to create walls, place doors/windows, generate sheets, manage views, and produce construction documents via the Model Context Protocol. Uses named pipes for zero-crash Revit integration.22MIT
- FlicenseNot gradedqualityCmaintenanceNode.js MCP server enabling AI assistants to interact with Autodesk Revit for model operations, data queries, and sketch-to-building generation via LLM.231-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bimwright/rvt-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server