← All gatewaysRevit · rvt-mcp

rvt-mcp changelog

Query and edit BIM elements, views, schedules, sheets and families, with clash checks and reports.

v2.5.3

· GitHub release

Security hardening, parameter unit conversion fixes, inline view-image capture, startup crash fixes, and public docs standardization.

  • Catalog counts: --toolsets all 257, adaptive bake 260, bare defaults 63, and --read-only 105.
Parameter units and project unit inspection
  • Fix #80: revit_set_element_parameter_values, revit_set_type_parameter_values, and revit_set_parameter_value_by_guid now classify Revit parameter ForgeTypeId specs via a shared resolver (ParameterSpecResolver + UnitUtils.GetValidUnits fallback) into six canonical kinds (length, area, volume, angle, dimensionless, unmapped_physical). Length-family MEP and structural specs (PipeSize, DuctSize, PipeInsulationThickness, DuctInsulationThickness, CableTraySize, ConduitSize, BarDiameter, WireDiameter, SectionDimension, Roughness, Displacement, etc.) now default to millimeters on plain double inputs instead of falling back to Revit internal feet.
  • Unify plain double defaults across all parameter writers (mm for length-family, m2 for area, m3 for volume, deg for angle), extend inline unit overrides to both Metric and Imperial tokens, and add clear guidance for compound feet-inches strings and decimal commas.
  • Support explicit valueType="display" (Revit native Parameter.SetValueString using project units/locale) and valueType="internal" (raw Revit internal double, no conversion) across all three generic parameter setters; reject plain doubles on unmapped physical specs (Slope, Flow, Pressure, etc.) and reject conflicting unit overrides when valueType is display or internal.
  • Add canonical metric readback (canonicalValue / canonicalUnit) alongside rawValue and displayValue in revit_get_element_parameters and revit_get_type_parameters, and return specId/specKind on parameter-write results.
  • Route revit_create_view_filter, revit_workflow_data_roundtrip, revit_get_titleblock_parameters, revit_set_titleblock_parameters, revit_list_family_types_in_family, revit_get_schedule_definition, revit_apply_schedule_filter_sort, and revit_create_schedule through the shared ParameterSpecResolver.
  • Migration note for revit_workflow_data_roundtrip: CSV/JSON files exported by v2.5.2 stored MEP length columns (PipeSize, DuctSize, etc.) in raw Revit feet without unit metadata. Re-export data before importing after this upgrade (or run with dryRun: true first).
  • Expose project display units on inspection: revit_health reports display_unit_system (Metric/Imperial), and revit_get_document_state adds a units block with display_unit_system and per-spec FormatOptions.
Query, filtering, view capture, and UI
  • Return revit_capture_view_image inline as an MCP ImageContentBlock alongside JSON metadata when include_image=true (default) and the encoded payload fits the transport cap, with CaptureOutputPath allowlist/symlink validation, bounded streaming reads, SHA-256 verification, and ImageFileType.JPEGMedium for JPEG captures. From #85; thanks @loranasaad.
  • Fix #77 (#79): revit_ai_element_filter resolves category names against top-level categories first, fixes empty-value and unknown-parameter bypasses, and adds viewSpecific.
  • Improve update-notice layout and trigger a 30-minute cooldown update check when opening History or Reports (#76).
Security, transport, and reliability hardening
  • Enforce ExportPathPolicy across export, import, shared-parameter, family, and workflow path handlers (rejecting UNC, device, wildcard, ADS, symlink/junction traversal, and writes to protected directories) (#92).
  • Fail closed on corrupt rvtmcp.config.json (read-only with send_code and ToolBaker disabled, reporting CONFIG_CORRUPT in revit_health) (#92).
  • Harden ToolBaker startup gates, baked-tool path confinement, and compiler policy (LINQ-to-Objects only); enforce --toolsets / --read-only / --disable-* across revit_batch_execute sub-commands (TOOL_DISABLED) and reject list_baked_tools when ToolBaker is disabled (TOOLBAKER_DISABLED) (#92).
  • Harden CSV parsing per RFC 4180 in revit_workflow_data_roundtrip with category/instance validation and 64 MiB cap, plus spreadsheet formula neutralization in exported CSVs (#92).
  • Restrict Revit 2025-2027 Named Pipe connections to the same Windows user and elevation level (CurrentUserOnly), isolate IPC mutexes to Local\, cancel queued requests on client disconnect, and bound NDJSON wire line reads (BoundedLineReader) (#81, #92).
  • Remove the --http transport mode so rvt-mcp runs over stdio only, dropping Microsoft.NET.Sdk.Web and ModelContextProtocol.AspNetCore from RvtMcp.Server (#93).
  • Reject unknown arguments on write and safety-scoped tool calls before dispatch (ToolArgumentGuard) and unload revit_send_code_to_revit dynamic assemblies via collectible AssemblyLoadContext (#81).
  • Fix #90 (#91): skip bulk failure text formatting at startup and scope the Revit failure message catalog cache by build and language to prevent add-in startup crashes.
  • Add configurable failureElementIndexLimit with receipt truncation diagnostics (#89).
  • Standardize multilingual READMEs and public docs to BW-DOC-001 (#82), update SECURITY.md for Private Vulnerability Reporting (#87), and publish the live security hardening verification record in docs/testing/2026-12-05-security-hardening-live.md (#94).
Credits
Distribution

Setup includes the self-contained Windows x64 gateway and Revit 2022-2027 plugins. NuGet (RvtMcp.Server) contains the gateway only and requires .NET 10. The Claude Desktop MCPB is unsigned and requires the exact Setup gateway SHA-256 (5d362270bc073de976067dc9e84d9da4674e3366b3c3fa53c486c8e728a80b44), including executable overrides. All three packages include SHA-256 sidecars.

Validation
  • CI run 47557182344 on master (bf47ce0): changes, public-tree, tests-xunit (4525/4525), installer-powershell, installer-pwsh, plugin-R22 to plugin-R27, server-nuget, client-setup-zip, and ci-ok all passed.
  • Additional local UI and contract suites: RvtMcp.Reports.Tests (30/30), RvtMcp.Settings.Tests (28/28), RvtMcp.Toast.Tests --position-layout, check-readme-contract.ps1 / readme-contract.Tests.ps1 (19/19), check-public-tree.Tests.ps1, and test_verify_package.py (11/11).
  • Packaged Setup ZIP verification (verify-package.py) on 2.5.3+bf47ce05eeae0a764fa3a0e856cf18f6a4f2a99c: checksum sidecar and 14-file manifest integrity passed; disposable smoke checks passed for default (63 tools) and --toolsets all (257 tools).
  • MCPB catalog capture and validation on 2.5.3+bf47ce05eeae0a764fa3a0e856cf18f6a4f2a99c: template suite 23/23 passed, 260 tools (--toolsets all --enable-adaptive-bake), schema SDK 1.27.1 PASS, @anthropic-ai/mcpb@2.1.2 validate and pack PASS.
  • Live Revit verification: security hardening live matrix (docs/testing/2026-12-05-security-hardening-live.md) across TCP and Named Pipe hosts, plus live inline capture verification on Revit 2022 and Revit 2027.

Source commit: bf47ce05eeae0a764fa3a0e856cf18f6a4f2a99c.

v2.5.2

· GitHub release

This release begins an ongoing MCP gateway upgrade focused on cleaner server instructions, tool discovery, and client compatibility.

  • Catalog counts: --toolsets all 257, adaptive bake 260, and bare defaults 63.
Server instructions and tool discovery
  • Keep ServerInstructions under 2,048 UTF-8 bytes, with product keywords first, target and health guidance that accounts for filtered toolsets, survey before edits and read-back after, reporting when available, a corrected 24-toolset index, and a closing Safety & permissions: block.
  • Mark startup and reporting tools ( evit_health, evit_list_available_targets, evit_switch_target, evit_report_task_result) with _meta["anthropic/alwaysLoad"]: true and _meta["antigravity/alwaysLoad"]: true across both stdio and HTTP transports (preserving imwright/rvt-mcp/runtime on evit_health, omitting evit_switch_target under --read-only, and never setting them on evit_send_code_to_revit or evit_get_report_history).
  • Add survey and read-back guidance to 65 tools that can modify existing elements, including evit_set_project_info. Move subagent, document and timeout details into the relevant tool descriptions. Keep the evit_send_code_to_revit description within its 599-byte budget; document script shapes, globals, imports and rollback scope on code.
Targeting
  • Fix #71: when an MCP client runs rvt-mcp inside its Windows AppContainer sandbox (for example Codex Desktop), the gateway cannot see or reach Revit, and it used to report only count: 0 or NO_TARGET. It now detects the sandbox and, when no Revit is discovered, returns the new error code CLIENT_SANDBOXED instead of NO_TARGET (the command is not sent). evit_list_available_targets keeps its normal result and adds a sandbox block with guidance, and evit_health reports the sandbox block whenever the sandbox is detected. The message explains that the sandbox protects the user's computer, that only a person can let this one server run outside it (a per-server exception first), and that agents must not try to bypass it. Outside a sandbox nothing changes.
Send code and baked tools
  • Fix #68: evit_send_code_to_revit and baked-tool compiles failed with Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.13.0.0' when another add-in, such as pyRevit 7, had already loaded an older Roslyn. In Revit 2025–2027 the add-in now compiles in its own .NET load context with the Roslyn it ships. Revit 2022–2024 still compile as before.
  • A compiler that cannot be loaded is reported as SCRIPT_COMPILER_UNAVAILABLE, naming the other add-in folder that loaded Microsoft.CodeAnalysis by its last three folders, for example pyRevit-Master/bin/netcore, without the drive or user name. Before this fix it was reported as SCRIPT_INPUT_INVALID, which suggested the script was wrong.
  • The pyRevit loader is exempt from the third-party MCP check, as Autodesk's MCP already is. pyRevit's own MCP server (pyrevit mcp) is a separate process, and the two gateways can run side by side.
Distribution

Setup includes the self-contained Windows x64 gateway and Revit 2022–2027 plugins. NuGet (RvtMcp.Server) contains the gateway only and requires .NET 10. The Claude Desktop MCPB is unsigned and requires the exact Setup gateway SHA-256 (2d4e9017dc7f21b4e542f0baac031732212e0908a2a91ec9bc544f1ff9b1ebcf), including executable overrides. All three packages have SHA-256 sidecars.

Validation
  • CI run 45766781411 on PR #74: public-tree, ests-xunit, installer-powershell, installer-pwsh, plugin-R22–plugin-R27, server-nuget, client-setup-zip all passed.
  • Packaged Setup ZIP verification ( erify-package.py) and stdio MCP handshake on 2.5.2+8d7a27e4c9cecdcccf27a7be9ccb6e942b222c2c: default (63 tools), --toolsets all (257 / 260 with adaptive bake), --read-only (105 tools), nthropic/alwaysLoad + ntigravity/alwaysLoad metadata verified.
  • MCPB catalog capture and validation on 2.5.2+8d7a27e4c9cecdcccf27a7be9ccb6e942b222c2c: 260 tools (--toolsets all + adaptive bake), schema SDK 1.27.1 PASS, @anthropic-ai/mcpb@2.1.2 alidate and pack PASS.

Source commit: 8d7a27e4c9cecdcccf27a7be9ccb6e942b222c2c.

v2.5.1

· GitHub release

This release was developed as 3.0.1 and ships as 2.5.1, the shared release number of the four bimwright gateways (rvt-mcp, dwg-mcp, nwd-mcp, ipt-mcp). The number does not mark breaking changes; the entries below list what changed since v1.2.2.

  • Catalog counts: --toolsets all 257, adaptive bake 260, and bare defaults 63.
Controlled failures and Issues

Install the 2.5.1 gateway and add-ins together. TaskDialog declarations require the matching gateway and add-in protocol, and expire even if you switch away from a document and back. If the document changes before a queued command starts, Revit rejects the command before it runs.

  • Advance TaskDialog answers: revit_set_dialog_answers validates exact permitted pairs, scopes declarations to the next write or gateway session (a target or active-document change drops them and reports _dialogAnswers once), requires dialog_answers_v2, and records authorization/native outcome in Issues. User choices retain priority; denied pairs and native failure guards remain enforced.
  • Open an issue for the user: revit_show_issue opens History → Issues in Revit on one recorded incident, with all states shown, its model and incident selected and an optional suggested action highlighted. It records nothing; the user still reviews, ticks the review box and clicks the action.
  • History → Issues opens on All states every time, so models whose only incidents are observed (user-answered dialogs) stay listed.
  • When a user rule or grant answers a dialog the agent had declared, _failure.groups[] now says so with agentDeclarationNotUsed, and the nextStep for a rule-answered dialog no longer talks about warnings.
  • Windows without a Revit dialog event (an add-in's MessageBox, a file dialog): a read-only background probe in the add-in now notices a window that blocks Revit and waits for the user. During an MCP call the pending receipt says REVIT_OPERATION_REQUIRES_USER after about 2 seconds with _operation.dialog.kind=window (title, text and button labels), instead of waiting for the timeout; revit_get_operation_status reports the same window while it is open, and the final _failure.groups[] lists it with answeredBy=user (a window whose model is not certain goes to _operation.windowDialogsWithoutModel instead; past 20 per operation, omittedWindowDialogs counts the rest). A window left open outside MCP refuses new calls at once with REVIT_BUSY and _operation.window (its title only), queued calls return REVIT_REQUEST_NOT_STARTED at once, and revit_health reports waiting_for_user. The probe never clicks or closes anything; BIMWRIGHT_RVT_WINDOW_PROBE=0 turns it off. See controlled failures.
  • Advance dialog answers and the window probe are part of #16 (Revit dialogs that hold up MCP calls), from #39.
  • Issues → Reset keeps the newest five ledger backups in failures\backups\: after a reset, older ledger-<date>-<time>.db backups and their .pending folders are deleted. Other files in that folder are never touched, and BIMWRIGHT_KEEP_ALL_LOGS=1 keeps every backup.
Capture output folders
  • revit_capture_view_image can write into folders you allow beside %TEMP% and the captures folder: list them in captureRoots in rvtmcp.config.json (an array, or one string separated by ;) or in BIMWRIGHT_CAPTURE_ROOTS in the Revit process environment. Only absolute local folders count; nothing is added by default.
  • The captures folder is now bounded: after a capture is saved there, captures with a generated name (capture-<date>-<time>-<id>…) older than 30 days are deleted, then the oldest until the rest fits 200 MB. A file you named yourself, a subfolder, %TEMP% and your captureRoots folders are never cleaned. BIMWRIGHT_KEEP_ALL_LOGS=1 keeps every capture.
  • revit_capture_view_image accepts an output_path in the user's own %TEMP% folder. Revit runs with TEMP set to a per-session subfolder, so such a path was refused although the message named %TEMP%.
  • A refused output_path returns the allowed folders as allowed_roots (the paths in the error text are masked) and the next step: omit output_path and copy the saved file, or ask the user to allow the folder.
Toast

Update the gateway and add-ins together to see the agent name; an older gateway leaves it out.

  • The card title names the agent of the latest call from its MCP client name: rvt-mcp 2027 · Claude (Claude, Codex, Cline, Cursor, Windsurf, Antigravity, Gemini, Copilot, VS Code; any other client shows its own name, cleaned and capped at 20 characters). The gateway sends the name with each call; it is display text only.
  • The Revit process ID (· PID 30476) fades in when you point at the card and fades out when you leave, with or without branding. It no longer shows all the time.
  • Pause for today: a button at the foot of the expanded card, and a switch in Settings → Toast, hide every card (errors included) in every Revit on this computer until local midnight. Pressed on the card, the card stays open and the button turns into Resume, so a mis-click is undone at once. The choice is saved as the local date in toastSnoozedDate. Turn the switch off, or press the ribbon Toast button, to show cards again now; turning toasts on from the ribbon or Settings also ends the pause. While paused, revit_report_task_result reports toast: "disabled".
Build/deployment dependencies
  • Move the standalone MCP server and its unit tests to .NET 10; require SDK 10.0.404 or a later patch in the same feature band. Revit 2022–2024 plugins retain .NET Framework 4.8.
  • Update ModelContextProtocol and AspNetCore 1.1.0 → 1.4.2, Microsoft.Data.Sqlite 8.0.11 → 8.0.34, native SQLite package 2.1.13 → 2.1.14 (SQLite 3.54.0), Roslyn 4.8.0 → 4.13.0, System.Drawing.Common 8.0.0 → 8.0.34, xUnit 2.9.0 → 2.9.3, and Test.Sdk 17.10.0 → 17.14.2. Hosting and Windows principal APIs now come from the .NET 10 framework instead of redundant package references.
  • Retain Newtonsoft.Json 13.0.3 and the existing Revit API references; Roslyn remains below 4.14 for the .NET 8 plugin dependency layout.
  • The server-only NuGet tool package RvtMcp.Server targets .NET 10, so dotnet tool install needs the .NET 10 runtime. The Setup ZIP still bundles a self-contained server.
Document lifecycle
  • Add revit_get_document_state to meta and the opt-in documents toolset with revit_save_document, revit_save_checkpoint and revit_manage_checkpoints. State reads exclude loaded links and report an unavailable or busy document index without losing other document results.
  • Save checks mode, external file changes and format-upgrade consent. Local models and families use a per-user record of a minimum 20-backup limit; workshared local save does not sync central. Checkpoints are verified copies; pruning requires an approved dry-run hash, and restore creates a separate file. A checkpoint failure can follow a successful save. Save, checkpoint and checkpoint management take timeout_seconds (1–900, default 600). See document lifecycle.
  • A .rte opened for editing is a template and is never saved in place. An unsaved document or a template is saved once with revit_save_document(save_as_path) to a new local .rvt the user names, which starts a project from a template; an existing file is never overwritten. Path rules and the template guard come from revit_save_model in #29; thanks @gbwzzy218.
  • revit_open_model:
    • Expands environment variables such as %USERPROFILE% in the Revit.ini ProjectPath.
    • Stops when ProjectPath is empty or is still not a full folder path, and names File > Options > File Locations > Default path for user files.
    • Refuses a workshared model saved in an older Revit before any local copy is created (WORKSHARED_UPGRADE_NEEDS_USER).
  • The native open/save guard identifies a central by its stored central path rather than the header flag. Opening a newly created local and saving it the first time no longer need a grant; opening or saving a central still does.
  • FILE_CHANGED_ON_DISK can follow Reload Latest in Revit's UI on a workshared local, which advances the save count in memory but not on disk. The document lifecycle guide says what to do: ask the user to review the local and save it in Revit (not Synchronize with Central), read revit_get_document_state again, then retry. Without a known UI Reload, check for an external file replacement first; the file is never overwritten to clear the error.
Wall top constraints
  • revit_set_wall_top in modify: attaches walls' top constraint to a level with an optional offset, checking every wall first so a top at or below a wall's base changes nothing. From #29; thanks @gbwzzy218.
View style, orientation and camera views
  • revit_set_view_style, revit_set_view_orientation and revit_create_camera_view in view: set display style and detail level, aim a 3D view from eye and target points, and create or re-aim perspective camera views, so an agent can frame and capture its own result with revit_capture_view_image. From #28; thanks @gbwzzy218.
  • Named 3D views and cameras save the new orientation, which Revit Undo restores. The default 3D view ({3D}, or {3D - user} when workshared) is a viewing view: only its temporary camera moves, nothing is saved, and the result reports orientation_saved: false. A failed call leaves the camera where it was. New cameras turn off Far Clip Active and report far_clip_active.
  • revit_set_view_orientation without fit turns off the crop box only on the default 3D view. A named view keeps its crop box, since it may be placed on a sheet, unless fit=true; fit=false changes neither crop nor zoom.
  • The revit_set_view_orientation description tells the agent to pass the returned view.view_id to revit_capture_view_image, which otherwise exports the active view.
Mesh import
  • revit_create_mesh_shapes in geometry: builds DirectShape elements with materials from a local JSON mesh file (vertices in mm, triangle or quad faces), for freeform massing without arbitrary code. One transaction per file; closed, consistently wound meshes are built as solids, and other meshes as open shells that fall back to mesh geometry when Revit cannot make a solid. Existing materials are reused unchanged unless update_materials=true; each call is capped at 64 MB and 500,000 faces, and network paths are refused. It is opt-in with the geometry toolset, which installed setups enable through all. From #30 for #26; thanks @gbwzzy218.
Move and rotate
  • Add typed revit_move_elements and revit_rotate_elements commands with explicit model-space units, atomic selection validation, placement checks and native Undo. Rotation has no default pivot: pass one explicit pivot for the whole selection, or pivot_mode="each_location" to turn each element in place about its insertion point or location-line midpoint. See usage and verification. From #27; thanks @kiselas.
  • Rooms and model groups move and rotate too. Their location point has no readable rotation, so only their position is checked and rotation_degrees is null. pivot_z_mm is optional and defaults to 0, since it does not change a turn about a vertical axis; without pivot_x_mm or pivot_y_mm the error names both choices (one pivot, or pivot_mode="each_location"). When Revit holds back a transform, the error names the element, and all changes are rolled back.
Send code and baked tools
  • revit_send_code_to_revit compile errors carry a hint computed from the Revit API the script was compiled against (in the error text and in diagnostics[].hint):
    • A missing member (CS1061, CS0117) names where it really is: a subtype to check and cast to, a property that leads to it (x.Application.FamilyTemplatePath), the types that have it, or that no API type has it. The closest members of the type follow.
    • A wrong call (CS1503, CS1501, CS7036, CS1620, CS1615, CS1729) shows the real signatures, the overload that accepts the named argument first. A type with no public constructor lists its static factories (Plane.Create…).
    • An unknown type or name (CS0246, CS0103) names the using to add: a Revit namespace, or the namespace of another referenced assembly (Regex → System.Text.RegularExpressions).
    • A hint is given once per compile. The first one builds a name index of the loaded Revit API (about 0.3 s, 4 MB, once per Revit session).
  • New read-only tool revit_describe_api (in meta; also with --read-only and --disable-send-code) lists one Revit API type as loaded in the running Revit: constructors and static factories, properties with get/set, methods with parameter types, operators, enum values, obsolete marks with their replacement text, base types and direct subtypes. Inherited members are grouped by the API type that declares them; member narrows the list, which is capped at 200 lines. It reads no document. The add-in advertises describe_api_v1; with an older add-in the gateway refuses the call with CAPABILITY_REQUIRED before sending it.
  • revit_send_code_to_revit accepts more of the script shapes agents write:
    • A body that declares its own app, uidoc or doc at the top level keeps its own; the generated one of that name is left out instead of failing with CS0128 / CS0136.
    • A full McpDynamicScript source without any using gets the default imports. A source with its own usings is compiled as written.
    • A body that closes Run itself and leaves its last helper type or method open is repaired before compiling: the stray } is dropped in place (line and column numbers stay yours) and the missing one is added at the end. The response says so in script_repair. Only that exact shape is repaired; any other stray } (CS1022) is refused with a hint on the expected shape.
  • A DLL loaded in Revit whose metadata the C# compiler cannot read (for example a protected assembly from another add-in) no longer makes every revit_send_code_to_revit and baked-tool compile fail with CS0009. The file is left out of the compile references and written to the diagnostic log. Send-code results then include skipped_references (name, reason), and compile errors list the skipped names. Fixes #38.
Server memory
  • The MCP server runs Workstation GC instead of the Server GC that Sdk.Web turns on, matching the other bimwright gateways. Each MCP client starts its own server, and Server GC kept one heap and GC thread per core. On a 20-core machine, an idle server drops from about 160 MB to about 70 MB private memory and from about 40 to 21 threads; after a burst of large revit_send_code_to_revit results it keeps about 135 MB instead of about 750 MB. Call latency and CPU time are unchanged. Set DOTNET_gcServer=1 to bring back Server GC. From #36; thanks @PhanCongVuDuc.
Logs
  • Local logs rotate once per day instead of on every write. Daily rotation compared the log's creation time, which Windows gives back to a file re-created right after a rename, so each call left a one-line archive and every later write scanned them all; tens of thousands of archives made a large revit_send_code_to_revit call take about 10 s. Rotation now uses the last write time, and log maintenance reads file sizes and times in one directory pass. Archives already created are removed by the existing 30-day retention.
  • BIMWRIGHT_KEEP_ALL_LOGS=1 (also true, yes or on) keeps every record. Set it in the gateway's and the Revit process's environment; each reads its own. Automatic deletion of call logs, daily journals, send-code journals, usage and bake audit records, diagnostics, agent reports, generated captures and Issues → Reset backups beyond the newest five is skipped. Files still rotate to timestamped archives, the diagnostic log rolls to a timestamped archive instead of overwriting its one backup, and nothing is trimmed. It turns no log on and changes neither what is recorded nor the send-code body TTL. Keeping the send-code journal past its 7-day purge after disabling is the one deliberate exception to that journal's time limit. Spill files, checkpoints, discovery files and explicit deletions are unchanged; unset, retention is unchanged.
Agent reports
  • revit_show_report in meta: opens the Reports window on one saved report by its report_id, as a click on the report toast does, so the agent can show a report the user asks for instead of describing where to click. It does not change the model and stays available with --read-only. A deleted or expired report returns REPORT_NOT_FOUND. See agent reports.
Tags, dimensions and sheets
  • revit_tag_all_walls skips walls that already have a tag, as its description said; a second call no longer tags every wall again. Wall tags and multi-category tags count, so a keynote or material tag does not hide a wall. Existing tags are read as the elements the view owns: on a large plan the view-scoped read missed about half of them, and a second call tagged 42 walls again. A tag hidden in the view still counts as a tag. It returns the new tag ids, alreadyTagged, walls without a location curve under skippedNoLocationCurve, and walls that could not be tagged by id with failedCount. When no wall can be tagged the call fails and changes nothing. Fixes #40.
  • The tag tools read existing tags the same way, with room tags collected by category. revit_find_untagged_elements no longer reports tagged rooms as untagged, and revit_tag_all_rooms and revit_tag_all_areas read existing tags the same way. A scan of existing or visible elements that cannot finish is now an error, instead of answering as if the view had no tags or the element were hidden; a tag's hosts are used only after a complete read. Fixes #41.
  • revit_tag_elements, revit_tag_all_by_category, revit_tag_all_walls, revit_find_untagged_elements and revit_tag_structural_framing refuse a sheet and name the views placed on it that can hold tags (not renderings, legends or drafting views) with their ids; revit_tag_all_walls, which works on the active view, says to activate one of them with revit_activate_view. Text notes on sheets are unchanged. Fixes #42.
  • revit_create_dimensions describes its references (mode, element_id, and stable_reference for explicit_reference_stable) with an example. When no dimension is created (fewer than two references resolve, no line can be inferred, or Revit refuses the line) it fails with created: false and failed_references in the data, instead of returning success. Parameter validation checks each reference's required fields and mode, and its hint lists the allowed values instead of pointing to an Example section. Fixes #43.
  • revit_create_dimensions with mode: wall_centerline works: the reference now comes from the wall's location line in its geometry (the line set by the wall's Location Line, which may be a face), and only a referenced line within 1 mm of the location line is used; otherwise that reference fails. Before, it failed for every wall. Without line, parallel references in a plan view are dimensioned across, perpendicular to them; the old inference from bounding-box centres was refused by Revit for walls of different heights, so in a plan view it now keeps the line at one elevation, while sections and elevations keep a vertical dimension. Curved walls are refused per reference.
  • revit_batch_execute rolls back when a tag or dimension step partly fails: revit_tag_elements, revit_tag_all_by_category, revit_tag_all_rooms, revit_tag_all_areas and revit_create_dimensions now report failedCount. A failed step keeps its data in the batch result, for example failed_references. Fixes #45.
  • revit_create_line_based_element refuses a typeId that is not a wall type, instead of creating the wall with the default type; wall is its only elementType. revit_get_available_family_types no longer suggests system categories such as Walls or Pipes, and tool descriptions that pointed to other tools now use their revit_ names. revit_list_family_types_in_family takes the system:<typeId> id revit_list_loaded_families returns and lists the id of every type in that system family, including wall types with no instance. Fixes #44.
  • revit_ai_element_filter without a parameter filter reads only limit elements and counts the category natively. With a filter it still tests every element so totalFound stays exact; the description says so. Fixes #46.
  • revit_place_view_on_sheet takes optional xMm/yMm (both or neither) in sheet paper millimetres, like revit_place_schedule_on_sheet. Without them the viewport stays at the fixed default point (304.8, 228.6) mm as before; revit_align_viewports with center_on_sheet centres it on the title block afterwards. The response returns the placed center {u, v} in mm and placement (requested or default_point). Fixes #47.
  • Parameter validation in every tool also checks objects inside an array parameter, one level deep: required fields, property types and allowed values. The hint describes what the schema allows for the failing field instead of pointing to the description's Example section, and the gateway now passes the add-in's Suggestion: and Hint: lines on in the error text; before, only the error line reached the agent.
  • The tool summaries in Settings now match the changed descriptions of the nine tools these fixes touched (for example revit_create_dimensions, which Settings still showed as an array of element-reference objects), in every UI language.
Rooms and areas
  • revit_list_areas reports each area's area_scheme and filters by area_scheme_name again. Areas are model elements with no owner view, so the scheme read from the owner view was null for every area and the scheme filter matched nothing; the scheme now comes from the area itself, with the owner view as a fallback. Fixes #55; from #56, thanks @tal-sm.
Distribution

Setup includes the self-contained Windows x64 gateway and Revit 2022–2027 plugins. NuGet (RvtMcp.Server) contains the gateway only and requires .NET 10. The Claude Desktop MCPB requires the exact Setup gateway SHA-256 (90494b912d5795f1a4bc32d4f5b71b7ecd8b377e699209819a3e0079ad7d6123), including executable overrides. All three packages have SHA-256 sidecars.

Validation
  • CI run 45137108582 on master (aedb764): public-tree, tests-xunit, installer-powershell, installer-pwsh, plugin-r22–plugin-r27, server-nuget, client-setup-zip all passed.
  • MCPB catalog capture and validation on 2.5.1+aedb764b287c5a12ace05d410bcf35689914c5d1: 260 tools (--toolsets all + adaptive bake), schema SDK 1.27.1 PASS, mcpb validate PASS.

Source commit: aedb764b287c5a12ace05d410bcf35689914c5d1.

v1.2.2

· GitHub release

rvt-mcp v1.2.2

Agent Reports, enhanced send-code inputs/modules, stricter target confirmation and Revit PID toast titles.

Highlights

  • Agent Reports: revit_report_task_result publishes validated task reports without modifying the model. The Reports window supports Wide/Compact reading, text size, bookmarks and model links. revit_get_report_history retrieves exact local call/record references, reasons and before/after details. Capture selection remains atomic on checkpoint read failure, with explicit call selection and client isolation.
  • Revit PID on toasts: titles show the owning Revit process PID, including before instance metadata is available and when branding is hidden.
  • Enhanced send-code: JSON inputs, revisioned reusable helper modules, compile-only validation and optional McpTaskResult outcomes. Enhanced requests require send_code_v2 on the selected gateway/add-in pair; default calls retain the legacy wire format. Discipline namespaces are imported for body scripts; complete compilation units retain their own imports.
  • Target confirmation: after an existing binding is lost or replaced, auto/year selectors cannot silently move the session to another process. Select the intended pid:/id: explicitly. Re-selecting the same process preserves the confirmed document constraint; another project/Edit Family requires an explicit document confirmation or rebind=true.
  • Packaging/tests: Setup verification follows the 55-tool default catalog. Crash-recovery tests observe the actual SQLite writer's exit before recovery and cleanup, keeping rollback assertions intact.

Catalog: 242 tools for a fresh full install/--toolsets all, 245 with adaptive bake, 55 for bare default toolsets. User filters and personal baked tools can change the exposed surface.

The separate lazy-tool-mode and issue-16 agent dialog-answer branches remain deferred and are not included.

Downloads and upgrade

  • Setup ZIP: self-contained gateway and add-ins for Revit 2022–2027. Close affected Revit/client processes before upgrading in place; do not uninstall first. Restart the clients to load the new gateway/tool metadata.
  • MCPB: optional Claude Desktop extension. Install the Setup from this same release first. The bundle pins its exact gateway executable hash; older installed/development binaries are rejected with rvt_mcp_setup_status. Use one Desktop registration route. For the extension route, install Setup with -Client none, then add the MCPB through Desktop's extension UI.
  • NuGet package: server-only, not the complete client installer. This downloadable nupkg does not imply publication to NuGet.org.
  • Every package has a .sha256 sidecar. MCPB is unsigned; checksum agreement is not publisher-signature verification. NuGet.org and MCP Registry publication are separate steps.

Verification and limits

Source: 6cfdfe5. Exact-source CI: all 12 jobs green, 3,342 tests passed. Setup and NuGet are the exact verified CI artifacts. The MCPB uses unchanged shared launcher/tooling, pins the Setup gateway hash and uses fresh 242-tool metadata validated by SDK 1.27.1 and official CLI 2.1.2.

Six plugin builds and package checks do not certify every native operation/year or an installed client. Final packaged host/client acceptance remains separate from earlier scoped native Revit 2026 development evidence. A local full-suite run concurrent with stress recorded a History worker-start timeout; the standalone full suite and final CI passed, without claiming that timeout fixed. The previously reported Revit 2025 stair crash and family-load/recovery-dialog crash are not claimed fixed. Earlier committed/file side effects may survive a failing transaction; inspect pending/unknown outcomes before retrying.

See Agent Reports, send-code, controlled failures and the changelog.

SHA-256 and build provenance

Source/build identity: 1.2.2+6cfdfe5d084733bab03287cf021de1c563cb5346.

MCPB gateway executable pin: 6664fa712f6ba4e12789c116f13a9084be856f355df609f5e43da01975760bb9.

Package SHA-256
RvtMcp.Setup-v1.2.2-win-x64.zip 0322b2f7c3028f4d77991f66ba4cf601e4c1aa9caf58079ea017d5738587e535
rvt-mcp-desktop-1.2.2.mcpb 6778f2fd827c02990387e87572763dade3a148020e80d67c7ee01b752728cc0b
RvtMcp.Server.1.2.2.nupkg f6fa65ecb8c409b623893c4d06ec38f32cbf5cd2c0be1d5807e4180680783378

v1.2.1

· GitHub release

rvt-mcp v1.2.1

Patch release for History/Issues, warning policy and Settings.

Highlights

  • Historical Issues, stale pending records and earlier partial/unknown results are review records, not permanent write locks. Current transaction/capture/storage checks, live-operation reservations and native dialog approvals remain enforced. Inspect pending outcomes; do not blindly retry.
  • Warning policy stays rollback by default. Explicit accept-and-log is available in Settings → General → Safety, JSON warningPolicy, BIMWRIGHT_WARNING_POLICY or --warning-policy. Only complete warnings are acknowledged after durable recording as accepted_by_policy. Error, corruption, incomplete capture and current persistence failures still roll back. This does not answer native dialogs automatically.
  • Settings Apply/Discard takes effect on the next call without retrying earlier operations. Journal presets: 1h, 4h, 8h, 12h, 24h, 2d, 7d, 14d; default remains 4h.
  • History model search/keyboard navigation, fixed picker widths, accessible Copy/Expand icons, Activities labels and clipboard-safe code wrapping. Review decisions remain model/year/revision bound without requiring the reviewed model to be active.
  • Reset backs up the ledger/pending records and requires agent/risk acknowledgment. Document-close cache cleanup, capture diagnostics, scoped synchronous-script discard, null-conditional rewriting and accepted-warning summaries are corrected.
  • Revit 2026 rebar uses the supported BarTerminationsData overload. Updated README guidance and all 15 UI catalogs.

Downloads and upgrade

  • Setup ZIP: gateway plus add-ins for Revit 2022–2027. Close affected Revit/client processes yourself before installing; upgrade in place, do not uninstall first.
  • MCPB: optional Claude Desktop extension. Install the Setup from this same release first. The extension requires its exact gateway executable hash; older installed/development builds will be rejected. Use only one Desktop registration route. For the MCPB route, install Setup with -Client none, then add the extension manually.
  • NuGet package: server-only, not the complete client installer. The downloadable nupkg does not imply it has been published to NuGet.org.
  • Each package has a .sha256 sidecar. MCPB is unsigned; checksums verify byte agreement, not publisher signatures. NuGet.org/MCP Registry publication is a separate manual step.

Verification and limits

Source: 24dd2d0. CI: all 12 jobs green, 2,491 tests passed. Setup and NuGet are the exact CI artifacts; MCPB pins that Setup gateway and uses fresh 237-tool metadata validated by the pinned SDK/CLI.

Six plugin builds and CI package verification do not certify every native operation/year or an installed client. Earlier scoped native Revit 2026 development checks exercised Warning commit/rollback, Error, incomplete capture and isolated persistence failure. Final packaged host/client acceptance remains separate. A prior local run had an intermittent five-second background-worker timeout; green CI does not claim its cause fixed. The reported family-load/recovery-dialog crash is not claimed fixed. Earlier committed/file side effects cannot always be undone by the failing transaction.

See warning policy, script cleanup, and source validation/coverage.

SHA-256 and build provenance

Source/build identity: 1.2.1+24dd2d0fd70168cf44098818596f950ff0694e26.

Package SHA-256
RvtMcp.Setup-v1.2.1-win-x64.zip d70cc5c90db17ee52ef88f826227e89913bf19a7b6935861b49bbbc5d4199d64
rvt-mcp-desktop-1.2.1.mcpb 8e409907d9066564ba0d0d57e9828541419b1a97daeec8d8caecb6f871e1c8fc
RvtMcp.Server.1.2.1.nupkg 88b06ea1fe41b84666e4acbcf616b4476b11d53f39323c624c7a4c5f02c1d67e

v1.2.0

· GitHub release

v1.2.0

This release adds controlled failure review in History → Issues, verified write targets/documents, bounded diagnostics and periodic spill cleanup, with export, tagging, room, schedule and compatibility fixes.

  • Issue decision reasons are optional. Empty input records No reason provided; a localized faded hint explains the field without becoming saved input. Model-review and acceptance requirements remain in force.
  • Update Setup and MCPB together from this release. Close Revit and gateway clients before updating, then restart clients to refresh the catalog. Do not uninstall or purge user data first.
  • Existing v1.0/v1.1 settings, personal tools and databases are preserved. Oversized legacy diagnostics are compacted with bounded retries; spill cleanup runs on gateway startup and every five minutes.
  • Lazy mode and issue #16 phase B are excluded; the existing #16 A/A2 work remains included.
Complete v1.2.0 changes
Fixed
  • History → Issues decisions accept an optional reason, recording No reason provided when it is blank. The reason field has a localized placeholder; model-review and acceptance requirements are unchanged.
  • gbXML export on Revit 2026/2027 uses the required transaction and rolls it back after export, preserving the model; Revit-reported export failure is returned explicitly.
  • DGN export accepts an optional absolute seedFile path and reports failure when Revit rejects export or no new/updated DGN files are detected.
  • View-template deletion retains the template name before deletion, avoiding an error while building the successful deletion response.
  • Empty-tag cleanup finds tags owned by the requested view, including hidden/cropped tags, and retains their IDs safely in deletion results.
  • Base-point updates report actual coordinates and per-field application results. Partially applied requests return failure while preserving committed effects and readback in operation status.
  • Automatic room creation calculates topology inside a transaction, rolls back previews, and reads reported area/location after commit.
  • Send-code on Revit Home works after explicit process selection when no document is active; execution-time checks still reject an unconfirmed or changed document.
  • Operation receipts remain incomplete while execution is unfinished and report active-document changes separately from model mutations, including status and delayed summaries.
  • Shared-parameter string/text definitions use Revit's native Text spec; binding listings resolve shared GUIDs and parameter-element identities correctly. Tagging returns the final tag-head position after applying the requested tag type.
  • First writes and target verification against an older add-in report PAIRING_REQUIRED before asking for document confirmation. Both pairing directions explain matching Setup versions and the required Revit/client restart; no mutation is sent. An open-model verification problem remains separate from a version mismatch.
  • Legacy diagnostic cleanup retries transient lock/I/O failures up to three times in the background, without repeating completed items. Bounded summaries report pending, skipped or exhausted work; oversized legacy logs retain a 64 KiB tail.
  • Rejected tool calls retain complete, bounded key-only argument diagnostics in the journal, including send-code rejections and long key lists. Valid send-code calls continue to store only the code hash and length.
  • Category tagging uses the native room-tag API for Rooms and skips existing room tags. A fully failed tagging call reports failure; dry runs report zero created tags and a separate proposed count. Schedule-field update inputs include JSON examples.
  • Operation status retains bounded user-handled dialog reports from the sending gateway session even when the operation also has a durable ledger record.
  • Failure receipts identify the model of captured incidents and the target of open_model instead of the previously active model, including a native pre-open guard refusal before the target document exists. Manual warnings aggregate by definition code, retain warnings after duplicate runs, and report bounded scan/omission details with accurate occurrence counts.
  • Room tags use the native room-tag API; unsuccessful tagging reports individual errors instead of an empty success. tag_all_rooms skips rooms already tagged in the current view. Room openings use the room's phase, and sheet schedule counts exclude title-block revision schedules.
  • Schedule Level/reference filters resolve names and element IDs. Sort directions accept ascending, order and sortOrder consistently and reject conflicts. Phase-aware schedule creation uses the active view phase or an explicit phase; see schedule inputs.
  • Schedule data returns rendered text with parallel rowKinds metadata for header, blank, text and data rows. create_view accepts the documented lowercase floorplan and 3d values.
  • An add-in that requires document confirmation now answers a gateway that predates it with PAIRING_REQUIRED and asks for a server update, instead of DOCUMENT_UNCONFIRMED, which pointed to a revit_switch_target verification that gateway cannot complete. Gateways send document_protocol with each request.
  • send_code group rollback removes reverted transactions from the observed commits when Revit's transaction names can be matched, avoiding a false committed result for that case. An assimilated inner group whose names cannot be matched remains a limitation: the final receipt can still report partial, mutationApplied: true and incomplete observation, blocking further writes even when the model is unchanged.
  • A failed target switch restores the binding captured under the connection lock, preserving a concurrent successful switch instead of rolling back to an earlier snapshot.
Changed
  • Spill retention runs on gateway startup in the background and every five minutes while the gateway is running, even when no new spill is produced. Cleanup keeps the configured age limit, refuses linked paths, and retries later after transient maintenance failures.
  • Read-only registration follows tool annotations without session-navigation exceptions: revit_switch_target remains non-read-only and is omitted/blocked under --read-only. Select --target pid:<n> at startup and restart the gateway to change the read-only binding.
  • Tool descriptions and instructions. Core tool descriptions are shorter while retaining pre-call safety guidance. The send-code description includes both supported C# entry forms, available imports and operation-status guidance. Full-mode instructions no longer require loading the change prompt before every model change; the prompt remains available.
  • Tool arguments are checked before a tool runs. A call missing a required parameter now returns INVALID_ARGUMENT instead of the SDK's generic An error occurred invoking '<tool>'., and the tool does not run. The error names the missing parameters, the keys received and the expected parameters, with did_you_mean for near-misses such as Elevation or element_id. Keys that are not parameters of the tool are no longer dropped silently: the call still runs, and the result lists them under the new _ignored_arguments field. A rejected call is journaled with key names only, never values. A value that cannot be converted (for example "elevation": "abc") still returns the generic SDK error, with the cause in the server's stderr.
  • Verified write targets and documents. Model writes require an explicitly selected target and confirmed active document. revit_switch_target(verify=true) confirms the document; a changed document requires verification again.
  • Bounded diagnostics and transport lifecycle. Diagnostic logs use bounded background writes, rotation and repeat summaries; legacy logs are compacted. TCP/named-pipe Stop/Start, authentication, pending responses and idle connection cleanup no longer leave the previous listener or connection active.
  • MCP startup preference and coexistence. Manual On/Off persists across Revit sessions. Detection of another third-party MCP add-in suppresses automatic startup, and manual enable shows a localized warning. The recognized Autodesk MCP registration is exempt from that detection.
  • Warnings during MCP edits now default to rollback. The shared helper and native failure event capture the reason before changing failure state. A matching decision or model-specific rule saved in Revit's Issues UI is required to accept supported warnings; Error, Corruption and incomplete capture are not accepted by warning rules. Batch policy stops override continueOnError=true. Calls with earlier committed transactions can report partial or unknown outcomes instead of promising whole-call rollback.
  • Unresolved model issues block further MCP writes. Local failure records and model gates are independent of call logs and change-history recording, and saved-model state is retained across reconnects/restarts. Rules start empty and are not automatically inherited by copied/Save As models. Storage failures retain uncertainty and do not claim a durable record when none could be written.
  • History window layout. Activity and Issues use side-by-side list and detail panels with eased scrolling (about three rows per wheel notch). Issues lists the newest incidents first (up to 500, with a status note when older ones are left out) and shows each warning as a card with its own copy button; the record facts, decision and rules sit beside the list.
  • Connection checks use revit_health. Server instructions now name a user's connection check, not only session start, as the moment to select a target and call revit_health.
  • Pending execution is separate from caller timeout. Matching gateway/add-in capability negotiation is required before non-read dispatch. Native dialogs remain with the user unless an exact supported dialog rule applies; busy-host responses direct the agent to local queries. Do not retry unchanged after timeout, pending, interrupted or unknown outcomes. Dirty-document close remains manual when the native event cannot distinguish saving from discarding.
Added
  • Prompt request diagnostics. Bounded diagnostics record each prompts/get request's prompt name, UTC time and session, including failed lookups, without recording prompt argument text.

  • revit_health provides offline-by-default startup diagnostics with loaded gateway/add-in identities, semantic-version and revision alignment, optional bounded stable-release checks, and state-gated update guidance. It replies from the authenticated listener while Revit is modal; document fields are explicitly dated UI snapshots. The MCP handshake retains the build revision and the health catalog entry carries runtime metadata for client-side reconnect verification.

  • History → Issues for reviewing local incidents, Rework, Abandon, constrained Accept once, model rules/revocation and supported one-use native-operation grants. Decisions are recorded in Revit with an optional reason; no MCP approval or rule-mutation tool is exposed. Closing an issue never automatically retries, saves, discards or undoes earlier commits.

  • revit_get_failure_records and revit_get_operation_status in meta: bounded read-only local queries that work while Revit is modal and with send-code/history disabled. They use issued identifiers, preserve missing/incomplete evidence, and do not create a missing ledger. Development source counts: --toolsets all 237, adaptive bake 240, and bare defaults 50.

  • Structured _failure and _operation receipts, with incident/operation IDs, actual outcome, persistence, model gate and observation coverage. Arbitrary code and custom preprocessors retain explicit coverage limits. See controlled failures for the behavior change, UI workflow and API limitations.

  • Revit dialog information for the agent. While an MCP call waits on a Revit dialog, the pending receipt carries _operation.dialog (code, kind, live text, title and buttons), and calls refused with REVIT_BUSY carry _operation.blockedBy. Final receipts say whether a rule, the user or both (mixed) closed each dialog, revit_get_operation_status keeps the command's bounded result, and the next response carries a finished pending operation once as _previousOperation. Dialogs and failures the user handles outside MCP are unchanged in Revit and reported once to the next MCP call on that model as _userDialogs; they create no incident or gate. revit_open_model adds upgraded_from.

  • Waiting for an operation. revit_get_operation_status takes waitSeconds (0–90): it waits on the server, without holding Revit, until an unfinished operation finishes, and otherwise returns with stillWaiting. A read that returned a pending receipt now has a status from the gateway session, since reads have no ledger record. A call that times out without a reported dialog returns REVIT_OPERATION_TIMED_OUT instead of REVIT_OPERATION_REQUIRES_USER; REVIT_REQUEST_NOT_STARTED says Revit was busy and nothing ran. Tools that send their own call to Revit (history tools, bake acceptance, target switch) pass on its _userDialogs. _previousOperation reaches the next structured response of any tool, including tools that do not call Revit.

  • revit_lookup_message in meta: explains a dialog code or failure GUID from the catalogue of the bound Revit year without dispatching Revit, so it works while a dialog is open. The add-in builds the catalogue at run time from the Revit installed on the machine and caches it under %LOCALAPPDATA%\Bimwright\rvt-mcp\catalog\; no Autodesk text is packaged.

Validation and remaining coverage

Source and package checks apply to the exact commit listed below. Earlier native results retain their original build identities; the validation record distinguishes current regressions from retained host evidence.

  • The optional-reason change has 70 distinct latest-PASS affected regression cases and five separate offscreen WPF assertions; the earlier corrections retain their separately scoped 277 latest-PASS cases. These counts are not an all-tools native acceptance claim.
  • Released v1.2.0 installed host/client acceptance remains pending, including Revit 2023/2025/2026 native checks, NuGet global-tool installation/runtime, Claude Desktop Always allow persistence/reconnect, Toast/History, modal/mismatched health and actual-client catalog refresh.
  • Native Save As/Closing, delayed reminders, provider/storage fault recovery, remaining acceptance clauses, live per-tool/weak-model benchmarks and every-tool success coverage remain unverified. Descriptor sizes are narrower measurements.
  • Issue #21 remains OPEN awaiting reporter feedback. Input-diagnostic improvements are included, but this release does not claim that the reported issue is fixed.

Downloads and upgrade

Use RvtMcp.Setup-v1.2.0-win-x64.zip for the gateway and Revit add-ins. Claude Desktop extension users also install rvt-mcp-desktop-1.2.0.mcpb; the MCPB is unsigned and requires the exact matching Setup executable. The .nupkg is server-only and does not install the Revit add-in. See the installation and upgrade guide.

Each of the three GitHub packages has its own .sha256 sidecar. RvtMcp.Server 1.2.0 is published on NuGet.org and listed in the MCP Registry. NuGet repository signing can change the package archive bytes; its downloaded payload matches the release package when the repository signature is excluded.

Distribution status — 2026-10-19

Channel/check Status
GitHub Release PUBLISHED / VERIFIED: six package/checksum assets; source and tag remain bd484626de59e0c68807a9280ab0c803e5827e45
NuGet.org PUBLISHED / PAYLOAD VERIFIED: RvtMcp.Server 1.2.0 is public; global-tool installation/runtime remains NOT_RUN
MCP Registry PUBLISHED / VERIFIED: exact-version and latest responses show active/latest 1.2.0, RvtMcp.Server 1.2.0 and stdio
MCP Registry search PENDING: search requests timed out; exact-version/latest publication checks passed separately

This distribution follow-up updates links and status only. The pending native/client, benchmark and issue #21 checks above retain their original scope. Release artifacts, tag, build identity and their existing CI evidence are unchanged.

Build and package verification

Source: bd48462. Server/plugin build identity: 1.2.0+bd484626de59e0c68807a9280ab0c803e5827e45.

CI: 12/12 jobs, xUnit 2,361/2,361 PASS. Setup and NuGet are the exact CI artifacts; MCPB pins the Setup executable hash. Fresh full-mode (237 tools) and read-only (98 tools) catalogs passed schema/launcher checks. Six SDK plugin builds do not establish native acceptance on every Revit year.

Package SHA-256
RvtMcp.Setup-v1.2.0-win-x64.zip d2af1248092a235bcc6e71e5b0f8f8fb4ceb44278c315f7bd674c4a842d95820
rvt-mcp-desktop-1.2.0.mcpb 3c466a50323d6d09404ead9abf1b0f95dfb6e09c881f9b72eb268e31699072cf
RvtMcp.Server.1.2.0.nupkg 70f1efbdf98061eaabb798de99a7893e9c7f1192a0fe3980b7a0ab0c452e347e

v1.1.0

· GitHub release

rvt-mcp v1.1.0 — Per-instance Revit target binding

Addresses #19, reported and analysed by @BenniOST.

When several Revit instances run at once, each gateway can now select and verify one instance with pid:<n> or id:revit-<year>-<pid>. Discovery lists instances individually, including multiple instances of the same year. Closing or restarting a listener cannot remove another instance's discovery record or silently move a bound gateway to a different model. Busy/interrupted calls return structured recovery information; listener retries back off instead of flooding logs.

Upgrade both Setup and MCPB together. After the bound Revit process restarts, TARGET_CHANGED requires an explicit revit_switch_target confirmation. Mixed 1.0.1/1.1.0 deployments retain legacy limits; discovering every same-year instance requires the 1.1.0 server and add-ins.

Also fixes cleanup of per-instance discovery files on uninstall, exact NuGet artifact selection and checksum generation, and release/installation documentation.

Upgrading while keeping ToolBaker data

  1. Close Revit and fully quit clients using the gateway, including Claude Desktop in the tray.
  2. Back up %LOCALAPPDATA%\Bimwright\rvt-mcp\ and any remaining %LOCALAPPDATA%\RvtMcp\ folder while the gateway is stopped. Preserve both if a migration conflict exists; do not use -Purge.
  3. Run the new Setup in place without uninstalling first. Preview with -WhatIf and use the same client selection when applying. Existing MCPB users use -Client none.
  4. Install the matching MCPB 1.1.0 through Desktop's Extensions UI. Check the version and review toolsets, read_only, send_code, target, server_path and permissions. Desktop manages settings and permission retention; previous choices or "Always allow" may need to be selected again.
  5. Restart Revit/client, verify the connection and check the expected baked-tool list before running tools.

Installer upgrades retain settings, bake.db and its SQLite sidecars, baked\, bake-audit.jsonl and other product data. Legacy registry imports keep original files and do not replace existing registry names. A conflicting old/current data root stops installation instead of merging files. target accepts auto, a Revit year, pid:<n> or id:revit-<year>-<pid>.

Downloads

Use Package Checksum Contents
Install RvtMcp RvtMcp.Setup-v1.1.0-win-x64.zip SHA-256 Self-contained gateway and Revit 2022-2027 add-ins.
Claude Desktop extension rvt-mcp-desktop-1.1.0.mcpb SHA-256 Optional; requires the exact gateway from this Setup.
Server-only .NET tool RvtMcp.Server.1.1.0.nupkg SHA-256 Advanced distribution; Revit add-ins still come from Setup.

Verify each package against its matching .sha256 file before use. Setup and the Claude Desktop extension must come from the same release.

GitHub Actions completed successfully for the tagged source commit. NuGet.org and MCP Registry publication are separate from this GitHub Release.

Verification evidence and scope

Issue #19 — resolution evidence for v1.1.0

Source candidate: 8d2de289f52659cdc347512159f8a13ae22e6f33 (clean local commit).

Check Result Scope
Source/test snapshot continuity PASS Only six documentation files changed since verified candidate 1b8defa; gateway/add-in source, installer/scripts and tests are unchanged
Unit regressions 1,873 passed, 0 failed Retained from the matching source snapshot; includes discovery/binding/transport contracts and source checks
Packaging fixtures PASS Retained upgrade/rollback, uninstall, NuGet selection/checksum and publication-path checks on PS5.1/PS7
Setup integrity PASS Exact version/commit, checksum, CRC, manifest payload hashes and six add-in packages (2022–2027)
Gateway runtime schema PASS Exact Setup gateway: 236 tools with all/send-code/adaptive flags, no incompatible bare schema nodes; MCP SDK validator 1.27.1
MCPB packaging PASS Official CLI 2.1.2 validate/pack plus final extracted manifest revalidation, exact allowlist and gateway SHA-256 pin
Launcher isolation PASS Full/read-only toolsets, invalid/missing override refusal and clean shutdown in disposable profiles; Node importer, not Claude UI
NuGet consumer PASS Exact package version/source commit/README, local-only install and 236-tool schema check in a disposable profile

Earlier Revit 2024 TCP and Revit 2027 named-pipe live records cover same-year instance isolation, busy handling, listener restart, interruption, graceful close, forced process loss and compatibility. They used earlier v1.1.0 development binaries and are retained as supporting evidence. They do not establish live acceptance of this rebuilt release payload.

Final-SHA GitHub CI passed all 12 jobs. Real Claude Desktop/final add-in acceptance remains pending. No new live Autodesk test or product installation was performed while preparing these artifacts. Full-suite tests that already passed were retained; only new final-byte package/schema/launcher checks were executed.

Original release provenance and artifact hashes

This manifest records the packaging checkpoint before publication, including the original support-file inventory. The current downloads are listed above. The publicationStage field and original asset list retain their historical meaning.

{
  "product": "rvt-mcp",
  "version": "1.1.0",
  "sourceCommit": "8d2de289f52659cdc347512159f8a13ae22e6f33",
  "sourceDirty": false,
  "templateCommit": "3e121724aadc626735f1ab912ef7376b06da0489",
  "bundleId": "rvt-mcp-desktop",
  "manifestVersion": "0.3",
  "mcpbCliVersion": "2.1.2",
  "schemaSdkVersion": "1.27.1",
  "gatewaySha256": "f0b8422482c32ec620c08afa8c42664e42c09f252b59fc7be34d8a808ced9915",
  "signing": "unsigned",
  "assets": [
    {
      "name": "issue-19-evidence.md",
      "bytes": 2151,
      "sha256": "6fe21c474163f9e0928794d93c5b32624e30fa4c50d5601222b35cb0d39db518"
    },
    {
      "name": "release-notes.md",
      "bytes": 3194,
      "sha256": "ad1518972d61b302317e3e37ab4966e1c6980f6c995cdfdb3aa43f9b702cdd3a"
    },
    {
      "name": "rvt-mcp-desktop-1.1.0.mcpb",
      "bytes": 301732,
      "sha256": "bb96002c857db97e85ff75c696cfe572656236e8b428d5adbc3081e105e03364"
    },
    {
      "name": "rvt-mcp-desktop-doctor.ps1",
      "bytes": 65363,
      "sha256": "c704800b9e69cc74aa4456738bdb2fa844b7f86e430a2cd7471850ec475c5219"
    },
    {
      "name": "RvtMcp.Server.1.1.0.nupkg",
      "bytes": 19848766,
      "sha256": "cfbb2d0ee7945ea214eae1ed7bc425e40ffe04a7e7b5b75393d9b4627f728604"
    },
    {
      "name": "RvtMcp.Setup-v1.1.0-win-x64.zip",
      "bytes": 91782658,
      "sha256": "0b3f93df2f993b0cb537426ecbb33330497aadd04360ac68e575663160e4c0bb"
    },
    {
      "name": "server.json",
      "bytes": 979,
      "sha256": "48cef9f8f43299fad850ca813faed306561642ec40e5a61b826ab49b2aa52674"
    }
  ],
  "liveFinalPayload": "not-run",
  "ci": {
    "runId": 37582402426,
    "url": "https://github.com/bimwright/rvt-mcp/actions/runs/37582402426",
    "headSha": "8d2de289f52659cdc347512159f8a13ae22e6f33",
    "conclusion": "success"
  },
  "publicationStage": "Prepared for owner-authorized GitHub publication after green CI"
}
MCP Registry metadata snapshot

Metadata for the matching NuGet/MCPB artifacts; this snapshot does not establish publication to either registry.

{
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "name": "io.github.bimwright/rvt-mcp",
  "title": "RvtMcp",
  "description": "MCP gateway for Autodesk Revit 2022-2027 - toolset gating + Transaction-safe batch execution.",
  "version": "1.1.0",
  "repository": {
    "url": "https://github.com/bimwright/rvt-mcp",
    "source": "github"
  },
  "homepage": "https://github.com/bimwright/rvt-mcp",
  "license": "Apache-2.0",
  "packages": [
    {
      "registryType": "nuget",
      "identifier": "RvtMcp.Server",
      "version": "1.1.0",
      "transport": {
        "type": "stdio"
      }
    },
    {
      "registryType": "mcpb",
      "identifier": "https://github.com/bimwright/rvt-mcp/releases/download/v1.1.0/rvt-mcp-desktop-1.1.0.mcpb",
      "fileSha256": "bb96002c857db97e85ff75c696cfe572656236e8b428d5adbc3081e105e03364",
      "transport": {
        "type": "stdio"
      }
    }
  ]
}

The asset list was simplified on 2026-10-16. The Setup, MCPB and NuGet package bytes, checksums, versions and download URLs are unchanged.

v1.0.1

· GitHub release

This patch fixes exports, shared-parameter bindings and point-based family placement. Server and Revit add-ins must come from the same release.

Fixed

  • IFC, DWF and DWFx exports: open the transaction required by Revit and roll back the exporter-owned transaction after writing the file. IFC correctly distinguishes a read-only document from a writable document without an active transaction.
  • IFC wait budget: optional timeout_seconds accepts 1–900 seconds, defaulting to 600. After a timeout, check whether the export completed before retrying.
  • Shared parameters: use the built-in Data group by default and resolve document bindings by GUID for duplicate detection, rebinding and removal.
  • Point-based families: correct the level elevation added by some unhosted families, verify the final coordinates/level/host and preserve one Undo step.
  • Packaging and tests: Setup now includes the changelog; package checks use an isolated profile and cover both current and legacy upgrade layouts. Toast test expectations include the existing ribbon clearance.

Install or upgrade

Download the Setup ZIP and its .sha256 sidecar. It includes a self-contained Windows x64 server, add-ins for Revit 2022–2027, install.ps1, uninstall.ps1 and AGENTS.md. Close Revit, verify the checksum and follow the installation guide, selecting the intended MCP client explicitly. Existing settings and personal data are retained during an ordinary upgrade; uninstalling first is unnecessary.

For Claude Desktop's extension route, use both the Setup ZIP and rvt-mcp-desktop-1.0.1.mcpb from this release. The unsigned extension checks the exact server executable hash. It does not install the gateway or Revit add-ins. The .nupkg asset is a separate server-only package.

Validation

CI passed all 11 jobs on the tagged source commit.

Targeted live checks passed on Revit 2022, 2024 and 2027 sample models, including 19 placement cases, native Undo and IFC exports. Revit 2022 IFC completed successfully after 114 seconds. Package upgrades passed on PowerShell 5.1/7 with current and legacy layouts. Build and package integrity checks cover all six Revit add-ins. No new Claude Desktop lifecycle acceptance is claimed.

Full changes: CHANGELOG. Source: b88e602a11d1b33319b54f9c3330f3c09dd01d30.

Files

File SHA-256
RvtMcp.Setup-v1.0.1-win-x64.zip ce316bc5059dac298611d9ba9c014c63071e365211fefe0b30fba66b7fc277b4
rvt-mcp-desktop-1.0.1.mcpb ece290f76df780fd3d345f3bc5487f45fe88783be7709990a1ee28add2c2cf27
RvtMcp.Server.1.0.1.nupkg 4e3abc445d516ccaed8690ac7a1650ac8438992019628bc28301d0333c36a7fe

v1.0.0

· GitHub release

This release adds change tracking and a change-impact survey, viewport layout tools for sheets, runtime switches and per-tool permissions, a configurable response guard, and a Claude Desktop extension (MCPB). It follows v0.8.1. Server and add-ins must come from the same release.

Easiest install: paste Install rvt-mcp for me: https://github.com/bimwright/rvt-mcp into your AI agent. It follows AGENTS.md and asks before it changes anything.

New

  • revit_change prompt and revit_survey_change_impact — survey relationships, agree the smallest scope, confirm a concrete proposal before writing, then read back and record the reason. The survey is a bounded, read-only tool in query.
  • Change history — responses carry _changes, and a local per-model history keeps captured calls. revit_record_change, revit_get_change_records and revit_resolve_history_identity attach reasons, query history and record the owner's choice after a copy or Save As. On by default, with an off switch; see change tracking.
  • Viewport layout — revit_get_viewport_geometry reads sheet-space positions, revit_align_viewports aligns them (dry run by default, one Undo step), and the revit_drawing_layout prompt walks through it. Six prompts in total.
  • Runtime switches — --enable/--disable-send-code (default on), --enable/--disable-call-log (default off), and a response guard with settable warning, strong-warning and budget sizes.
  • Per-tool permissions — every typed tool declares its MCP hints; send_code has none, so clients ask before running it. --read-only exposes the 95 read-only tools. The READMEs include a read-only allow list for Claude Code.
  • Spill files are kept 36 hours by default (was 24 hours, at most 50 files); --spill-retention-hours changes it.
  • revit_list_recent_models, tool search in Settings, and toast position, drag and activity timeline.
  • Claude Desktop extension — rvt-mcp-desktop-1.0.0.mcpb launches the gateway installed from this release's Setup ZIP. It is unsigned and checks the server's exact SHA-256, so use both files from this release. See Claude Desktop MCPB.

Changed

  • Data folder moved to %LOCALAPPDATA%\Bimwright\rvt-mcp\ (config, logs, captures, ToolBaker data, and the server at server\current\rvt-mcp.exe). The installer migrates an existing folder.
  • Tools that replace or delete data now advertise Destructive=true with recovery guidance.

Fixed

  • JSON arguments inside arrays and nested objects reach the handlers intact (dimensions, filled regions, room separators, sheet renumber, titleblock values, workflow sheet items, baked-tool arguments).
  • Room and area creation roll back unresolved Revit errors instead of opening failure dialogs.
  • Spill files can be written in Revit even when another add-in loaded its own SQLite bundle.
  • ToolBaker works on Revit 2027; structured send_code results show in the toast; the installer wires Claude Code under Windows PowerShell 5.1.

Tool counts: 46 by default, 233 with --toolsets all, 236 with adaptive bake, 95 with --read-only. Full notes: CHANGELOG.

Install or upgrade

Download RvtMcp.Setup-v1.0.0-win-x64.zip and its SHA-256 sidecar. The ZIP bundles a self-contained Windows x64 server and plugins for Revit 2022–2027, plus install.ps1 and uninstall.ps1; no .NET SDK is needed.

Close Revit, extract the ZIP, then run from the extracted folder:

powershell -ExecutionPolicy Bypass -File .\install.ps1 -WhatIf
powershell -ExecutionPolicy Bypass -File .\install.ps1

Upgrading does not need an uninstall first. Restart your MCP clients afterwards. To remove: uninstall.ps1 -Yes (settings stay unless you add -Purge).

Files

File SHA-256
RvtMcp.Setup-v1.0.0-win-x64.zip a3197020bb6e93931a6163701c607cdba477864cf4dc2e3c95107e5ede146985
rvt-mcp-desktop-1.0.0.mcpb d82cbfc06253be88929127df98834d19a4b66ef0160b89ca79d1db46e7f065b8

v0.8.1

· GitHub release

This update makes one installer run set up both sides — the Revit add-ins and your MCP clients — adds revit_open_model and four MCP prompts, and brings a Settings window to the ribbon. It follows v0.6.3; there are no v0.6.4–v0.8.0 releases.

Easiest install: paste Install rvt-mcp for me: https://github.com/bimwright/rvt-mcp into your AI agent. It follows AGENTS.md and asks before it changes anything.

Installer

  • Wires your MCP clients by default. After installing the add-ins and the server, the installer adds an rvt-mcp entry to every MCP client it detects (19 supported: Claude Code/Desktop, Codex, Grok, Cursor, VS Code, Cline/Roo, Zed, Gemini, Antigravity, Devin, LM Studio, kun, Kiro, Qwen, Windsurf, OpenCode, Kilo; Cherry Studio gets a deeplink). Each config is backed up to <config>.bak first and edited in place, so JSONC comments and other entries survive. Old versioned paths are repointed to current; custom launchers and legacy bimwright-rvt* entries are reported, never replaced. -Client <names> wires only those clients, -Client none skips client configs, and -Uninstall -Client <names> removes just the rvt-mcp entry.
  • Full tool surface on install: %LOCALAPPDATA%\RvtMcp\rvtmcp.config.json is seeded with "toolsets": ["all"] unless you already set toolsets.
  • Claude Desktop (MSIX) configs under Packages\*\LocalCache\Roaming\Claude are found for any package name, with a warning when the app is running (it rewrites its config on quit).

New

  • revit_open_model (meta) — opens a .rvt, .rte or .rfa, active or in the background. A workshared model is always opened as a new local copy under Revit's ProjectPath; an existing local is renamed aside, never overwritten. Long-running tools (revit_open_model, revit_link_revit_model, revit_reload_link, revit_load_family_from_path) accept timeout_seconds (1–900 s, default 600 s).
  • MCP prompts — revit_getting_started, revit_model_audit, revit_pre_issue_check, revit_stairs.
  • Settings window — Settings and Language buttons in the ribbon slide-out: connection state and restart, toast duration, the connected server's tools, and an About page with version and license.
  • Activity toast — one card that updates in place, with rolling Success / Failed / Capture counts; clicking it opens History.

Fixed

  • revit_send_code_to_revit and run_baked_tool no longer fail with a null reference when no model is open.
  • The revit_list_available_targets hint names revit_switch_target's version parameter correctly.
  • Toast and History no longer show a rolled-back revit_batch_execute or a rejected oversized response as a success.

Part of community PR #15 is included: its send_code and switch_target fixes, and a reworked version of its revit_open_model proposal. Thanks @PhanCongVuDuc.

Tool counts: 41 by default, 226 with --toolsets all, 229 with adaptive bake. Full notes: CHANGELOG.

Install or upgrade

Download RvtMcp.Setup-v0.8.1-win-x64.zip and its SHA-256 sidecar. The ZIP bundles a self-contained Windows x64 server and plugins for Revit 2022–2027; no .NET SDK is needed.

Close Revit, extract the ZIP, then run from the extracted folder:

powershell -ExecutionPolicy Bypass -File .\install.ps1 -WhatIf
powershell -ExecutionPolicy Bypass -File .\install.ps1

Upgrading does not need an uninstall first. Restart your MCP clients afterwards.