Model MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| REVIT_MCP_HOST | No | Set to 'local' for local Windows clients using the Revit user's account. For remote clients, configure an SSH tunnel to the workstation's loopback endpoint. | |
| REVIT_MCP_ALLOW_WRITE | No | Set to '1' to allow write actions. Both this and the workstation allow-write file are required for actions. | |
| REVIT_MCP_REDACT_PATHS | No | Set to '1' to hide directories in response path fields. Default is likely '0' (not redacted). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
confirm_token is a two-step handshake with the AI app. The AI app is expected to show the action to you; Model MCP does not show its own dialog. A token does not prove human approval. Actions are enabled by default. Transactional model edits use one named Revit undo entry; session operations, saves, sync, exports, link removal and saved-tool file changes are not covered by that guarantee. Completed actions report a summary in the activity pane. revit_undo_last only reverts an eligible edit while its entry is still latest in Revit. Save and sync require a confirmation token; close requires it when saving or discarding changes, except an MCP-opened detached noncentral document closed without saving. Confirmation challenges change nothing. Dry runs normally need no token, but the first saved-tool run per name and revision in each Revit process requires one even for read mode or dry_run. Execution tokens bind dry_run intent: a preview token cannot authorize a commit. With several Revit instances listed, including starting or unresponsive processes, actions require an exact document ID (doc:... from revit_documents) or process_id. Reads may select by title or file name. Action responses include processId and revitVersion. REVIT_MCP_TOOLSETS limits which tools are listed. Recommended task selections: preset:audit for reading and auditing models, preset:edit for editing existing elements, preset:families for family audit/load/place/edit, preset:sheets for views/schedules/sheets/export, and preset:batch for batch collection and processing. Set REVIT_MCP_TOOLSETS or --toolsets to the preset and restart the server connection to switch; combine presets and toolsets with commas, or use all for unrestricted discovery. Hidden tools require switching before they can be called. The workstation read-only lock disables actions without hiding them. revit_set_read_only and the Model MCP ribbon switch it. Unlocking from chat requires a two-step AI app token handshake. The token does not prove human approval. Every read result has skipped and skippedCount; a non-empty skipped list or nonzero skippedCount means incomplete evidence. Also inspect partial, truncated and paging indicators. A lost reply does not prove rollback: recover the original request with revit_jobs before resubmitting. Progress notifications are not completion evidence. The guide revit://guides/coordinator describes the recommended tool order. The guide revit://guides/ui-kit describes saved-tool parameters, pack form blocks, and the Revit UI Design Kit. A reusable Revit button, ribbon tool, macro or plugin is a saved tool: revit_save_tool creates it and revit_export_pack packages saved tools. A standalone C# .csproj add-in, hand edits inside %LOCALAPPDATA%\RevitModelMcp and desktop or GUI automation to pin buttons are outside this workflow. Script bodies are statements only, with no using directives, namespace or class wrapper; System, System.Linq, Autodesk.Revit.DB and Autodesk.Revit.UI are already imported and the body returns a value. Model MCP picks a domain vector icon from the tool name (for example visibility or hidden, clash, cleanup, door, sheet, mep); the user enables the ribbon button in one click from Model MCP > My tools.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| revit_jobsA | List recent jobs, or wait up to wait_seconds (0 to 50, default 40) for the result of an action jobId. Results stay on the workstation for 24 hours, across server restarts. skippedCount counts omissions. |
| revit_compare_link_datumsB | Compare host grids and levels with one loaded Revit link. Changes nothing. skippedCount counts omissions. |
| revit_pingA | Check the connection to Revit without reading the model. Returns data="pong", even when no document is active. skippedCount counts omissions. |
| revit_nwc_settings_checkB | Parse a Navisworks exporter XML file on the Revit workstation without exporting. skippedCount counts omissions. |
| revit_document_infoB | Read model filename, Revit version, levels (mm), area schemes, worksets and view count. skippedCount counts omissions. |
| revit_documentsA | List every open document in one Revit process, including background documents. Linked documents are listed only when include_linked is set. skippedCount counts omissions. |
| revit_ui_stateB | Read the active document, open views, selection and open documents. skippedCount counts omissions. |
| revit_api_lookupA | Look up public Revit API types and members. The agent calls this before writing C# for an unfamiliar type. Results describe the running Revit's API version only. XML summaries are optional. skippedCount counts omissions. |
| revit_model_snapshotB | Read schema-v1 project snapshots for batch audits; closed worksets can omit data. skippedCount counts omissions. |
| revit_model_healthA | Read model quality counts: project metadata, file size, counts, units and the ten most frequent warning groups. Unavailable metrics are null and listed in skipped. output_path also writes an .xlsx health report with up to five snapshots. skippedCount counts omissions. |
| revit_links_statusA | Read RVT, CAD and image link status. Each list is capped at 100 entries; summary counts cover all links. skippedCount counts omissions. |
| revit_shared_coordinatesA | Read project and survey coordinates: base and survey points, active site, project locations and link offsets (mm, degrees). Lists are capped at 100 with total counts. skippedCount counts omissions. |
| revit_parameter_fill_checkA | Count filled, empty and missing parameters per parameter and category, with samples of empty and missing element IDs. Numeric zero counts as filled. skippedCount counts omissions. |
| revit_list_catalogC | List categories, family-types, levels, area-schemes, views, worksets, ownership, phases or parameters. Worksets: counts, owner, open state. Ownership: limit candidates, checked-out rows, nextOffset, no name_contains. Worksharing requires a workshared model. skippedCount counts omissions. |
| revit_aggregate_elementsA | Summarize matching elements by one or two fields, with optional sum and average. Lengths use mm, areas m2, volumes m3. For area totals, group by level and select the area scheme. skippedCount counts omissions. |
| revit_query_elementsA | Read matching rows with filters and paging. link: instance ID, exact name or * (top-level loaded links); omitted: host. view cannot combine with link. unique_id: UniqueId lookup. Linked rows name their instance; geometry is in host model mm, levels use link names. Lengths mm, areas m2, volumes m3. roomCenterMm is inside the room. hasMore=true: more pages. skippedCount counts omissions. |
| revit_list_sheetsB | List sheets, placed view IDs and unplaced views. Counts: sheetCount, unplacedViewCount. skippedCount counts omissions. |
| revit_list_viewsB | List non-template views with id, name, type, level, scale and template. skippedCount counts omissions. |
| revit_view_infoA | Inspect one view's template, display, categories, worksets, filters and links. skippedCount counts omissions. |
| revit_view_summaryB | Read element categories and counts for a selected view. skippedCount counts omissions. |
| revit_schedule_dataB | Read displayed schedule header and body cell text, with paging. skippedCount counts omissions. |
| revit_capture_elementsB | Capture 1-500 elements as PNG (3d/plan, local/SSH); temporary view rolls back. skippedCount counts omissions. |
| revit_export_viewA | Write a PNG image of the selected Revit view to the new .png file the user names through output_path on the computer running the AI app. Omitting output_path uses a temporary folder. A destination already present is refused. The active view and model remain unchanged. skipped means incomplete; skippedCount is the total skipped. |
| revit_view_elementsB | Read one page of elements in a selected view, with IDs, category, family, type, level and measurements (mm, m2, m3). skippedCount counts omissions. |
| revit_element_detailsA | Read parameters, type, warnings and geometry by element_id or unique_id (UniqueId). link: instance ID, exact name or *; omitted: host. Top-level links only; ambiguous matches require an instance ID. Linked geometry is in host model mm. roomCenterMm is inside the room. skippedCount counts omissions. |
| revit_view_warningsA | Read warnings involving elements present in a selected view. A warning may also involve elements outside the view. skippedCount counts omissions. |
| revit_list_warningsA | Group model warnings by description text. warning_text with include_elements=true returns the elements of one group. skippedCount counts omissions. |
| revit_list_relationsA | Read model object membership or dependencies. relation is level-rooms, area-scheme-elements or view-template-dependents (with source_name), or group-elements or nested-family (with source_id). skippedCount counts omissions. |
| revit_list_instancesA | List Revit processes with documentName, documentPath, revitVersion, processId and pluginResponding. Busy or unresponsive processes stay listed with pluginResponding=false. HTTP mode reports only its connected process. |
| revit_family_auditA | Audit an open family or named project families without saving or loading changes. Project mode takes exact family names or ["*"]; family mode takes none. detail="summary" returns parameter counts and up to 20 unused parameter names; detail="full" returns all parameter metadata with group IDs and groupName labels. The wildcard audits the first 200 editable families sorted by name; data.skipped lists each remaining name and reason, with skippedCount. skippedCount counts omissions. |
| revit_export_packB | Export ordered tools or an installed pack to a new client file. confirm_token: shown review and explicit yes. revit_jobs recovers jobId. |
| revit_install_packB | Review pack install. Copy its .mcptools.json into ~/Documents/Model MCP/Packs (or REVIT_MCP_EXCHANGE_ROOT); pass name and sha256. confirm_token: shown full review and explicit yes. revit_jobs recovers jobId. |
| revit_diff_packsB | Diff installed packs or client files with SHA-256. revit_jobs recovers jobId. |
| revit_remove_packB | Review removal and retained edits. confirm_token requires a shown review and explicit yes. No Undo. revit_jobs recovers jobId. |
| revit_set_read_onlyA | Set the workstation read-only lock for all Revit versions of this Windows user. Locking needs no token. Unlocking requires a user request and explicit confirmation. The first call returns confirmationText and a token; the second call with confirm_token unlocks. Workstation policy cannot be changed. |
| revit_open_documentA | Open a local, UNC or RSN model. Central models open detached by default. Cloud paths are unsupported. May commit; revit_jobs polls; retry repeats. |
| revit_activate_documentB | Activate an already open document by title or path reference. |
| revit_activate_viewB | Activate a non-template view. Zoom to fit, preserve zoom, or frame element IDs. |
| revit_close_viewsC | Close open UI views in the active document. |
| revit_new_documentC | Create a project or family from a template on the Revit workstation. |
| revit_close_documentA | Close a background document. Confirmation is required when saving or discarding changes, except MCP-opened detached noncentral documents closed without saving. |
| revit_save_documentB | Save a document. Needs confirm_token from a first call, which changes nothing. |
| revit_sync_documentB | Synchronize a workshared document with central. Needs confirm_token from a first call, which changes nothing. |
| revit_set_view_visibilityC | Change category, workset and filter visibility in one view; dry_run previews. Categories accept the Revit UI name, the BuiltInCategory name (OST_StructuralColumns), the English name or an ID. |
| revit_remove_linksB | Delete selected link types and their instances; dry_run previews. Cannot be undone in Revit. Needs confirm_token from a first call, which changes nothing. |
| revit_save_toolB | Compile C#/schema without execution; confirm to save. Returns full source, hash and token. Makes reusable buttons; standalone .csproj add-ins and GUI automation are outside this workflow. code: statements only, no using directives or wrappers, System and Autodesk.Revit namespaces pre-imported. Icon is auto-picked from the name; enable in Model MCP > My tools. Uses a two-step AI app token handshake. |
| revit_list_toolsA | List saved tools, packs and disabled sets. My tools > Settings enables built-ins. revit_get_tool reviews saved schemas. |
| revit_get_toolC | Return approved source and schema without execution. |
| revit_run_toolA | Run saved C#; review via revit_get_tool. First run and commits need consent; read/dry_run rolls back. Managed forms use input_files (even {}), output_dir and preview_id. Store needs ExecuteCode=confirm. Timeouts may follow commit; use revit_jobs for jobId. Uses a two-step AI app token handshake. |
| revit_delete_toolC | Delete all revisions with confirm_token after a first confirmation challenge. No Undo. Uses a two-step AI app token handshake. |
| revit_execute_codeA | Run a C# body or public static Script.Execute(ScriptContext ctx). Body: statements only, no using directives or wrappers; System and Autodesk.Revit namespaces pre-imported. Buttons: revit_save_tool. docs/script-library.md describes helpers; revit_api_lookup resolves unfamiliar members. auto owns a Transaction; group permits script-owned scopes. All scopes must close; transaction="none" is refused. Needs confirm_token except dry_run (rollback). May commit; revit_jobs polls; retry repeats. |
| revit_undo_lastA | Undo the last MCP action through Revit's own undo command. Runs only when the target document is active, no command is pending and Revit's last undo entry is the one this session recorded; otherwise the result carries a refusal reason. |
| revit_align_link_datumsC | Align host grids and levels to a loaded link, with optional creation and rollback preview. Does not create a monitor relationship. |
| revit_cancel_jobB | Process-models stops between models; completed models stay committed. Scripts and tagging roll back at a check or on return. |
| revit_selectB | Select element IDs for inspection in Revit; an empty list clears the selection. |
| revit_showA | Display elements in Revit, optionally selecting them; opens a level plan or 3D view when needed. |
| revit_isolateA | Temporarily isolate element IDs in the active view; an empty list resets. |
| revit_moveA | Move elements by dx_mm, dy_mm and dz_mm on model axes. dry_run rolls back and returns the verification block. Group members, pinned, hosted and constrained elements are reported in skipped.inGroup, skipped.pinned, skipped.hosted and skipped.constrained and are not changed; the call is refused if every element is a group member. |
| revit_override_graphicsC | Colour elements in selected model views; reset restores overrides saved in this Revit session. |
| revit_rotateA | Rotate elements about a vertical axis through center_mm, or through their combined bounding box center. dry_run rolls back. Group members, pinned, hosted and constrained elements are reported in skipped.inGroup, skipped.pinned, skipped.hosted and skipped.constrained and are not changed; the call is refused if every element is a group member. |
| revit_copyA | Create 1 to 100 successive copies at multiples of the model-axis offset in mm. dry_run rolls back. Group members are reported in skipped.inGroup; the call is refused if every element is a group member. |
| revit_mirrorA | Mirror across a model X or Y parallel line through point_mm; copy keeps originals. dry_run rolls back. Group members, pinned, hosted and constrained elements are reported in skipped.inGroup, skipped.pinned, skipped.hosted and skipped.constrained and are not changed; the call is refused if every element is a group member. |
| revit_change_typeA | Change each element to one compatible type; family resolves duplicate type names. dry_run rolls back. Group members are reported in skipped.inGroup; the call is refused if every element is a group member. |
| revit_update_parametersA | Update a parameter on elements matching the same filters as revit_query_elements. Group members are reported in skipped.inGroup instead of failing the call; dry_run predicts this. |
| revit_place_familyB | Place a loaded unhosted family on a named level. family is a name or Family: Type; a null type_name uses the embedded or first type. XY is in mm, rotation in degrees. |
| revit_load_familyA | Load workstation .rfa files in one undo entry. Existing families are skipped unless overwrite is true. |
| revit_place_familiesA | Load optional families and place instances in one transaction and undo entry. |
| revit_create_wallB | Create a straight wall on a named level. XY endpoints and height are in mm; a null wall_type uses the first basic type. |
| revit_create_mep_runB | Create connected duct, pipe, cable tray or conduit segments from model mm points. A missing Z uses the level elevation plus the kind's default offset. Unplaceable elbows are reported as unjoined pairs. |
| revit_link_cadC | Link or import a DWG into a plan view on the Revit workstation. Layer counts and XY extents cover only lines and polyline segments; other geometry is ignored. |
| revit_walls_from_cadB | Bridge openings, pair parallel CAD lines and join basic walls in one undo entry. Dimensions are mm. Joins Revit rejects are left out and reported as unjoinedEnds with unjoinedReasons; dry_run reports the same join numbers. |
| revit_create_viewC | Create a plan, section, 3D or drafting view. Unbounded 3D views show the whole model, shaded, fine detail. Box coordinates are model mm. |
| revit_duplicate_viewC | Duplicate a view, optionally with detailing or as a dependent view. |
| revit_apply_view_templateC | Apply a matching view template to one or more views. |
| revit_create_sheetC | Create a sheet with the first loaded or a named title block. |
| revit_place_views_on_sheetB | Place views and schedules on a sheet. Sheet mm coordinates are viewport centers for views and insertion points for schedules; they do not guarantee fit. |
| revit_tag_elementsA | Tag elements in a view, chosen by category names or by element IDs (exactly one of the two). Returns created tag IDs in createdElementIds; already tagged elements are skipped unless skip_tagged is false, and untaggable inputs are listed in skipped. tag_type matches a tag type name, a family name or "Family: Type"; the default tag type is used otherwise. Room tags need a plan view. dry_run rolls back and returns the tags that would be created. |
| revit_create_scheduleA | Create a schedule for one category with the named fields in the given order, using Revit UI names such as Mark, Level or Count. filters keep rows by field, operator and value; sort orders and, with header or footer, groups rows. Lengths in mm, areas in m2, volumes in m3. itemized=false collapses identical rows. Returns viewId and the resolved fields; unknown names are listed in skipped. dry_run rolls back. |
| revit_set_parameterA | Set one instance or type parameter. parameter_id selects by BuiltInParameter name, shared GUID or ParameterElement ID; otherwise parameter takes a localized UI name, BuiltInParameter name or English alias, and ambiguous matches are refused. Value is a string, integer or number by storage type; lengths in mm, areas in m2. Group members fail with a clear message. dry_run rolls back and returns the verification block. |
| revit_deleteA | Delete elements and their Revit dependencies; the count includes dependents. dry_run returns the count. Above 500 elements including dependents a confirm_token from a first call is needed; revit_run_actions refuses such deletions. |
| revit_exportA | Write PDF, DWG or IFC documents, or CSV schedules, to the folder the user names with output_dir on the Revit workstation. CSV exports include all schedules when views is omitted. Omitting output_dir uses a dated folder under %LOCALAPPDATA%\RevitModelMcp\exports on the Revit workstation. dry_run lists the planned names. overwrite=true replaces an existing destination only through the two-step confirm_token handshake with the AI app. The AI app is expected to show the action to the user; Model MCP provides no separate dialog. The action may commit before returning status=running and jobId; revit_jobs retrieves its result. Resubmitting repeats the action. |
| revit_export_nwcB | Save an NWC file to a folder the user names through path on the Revit workstation; needs the Navisworks exporter. settings_xml applies exporter XML values, explicit arguments take precedence. Replacing an existing file (overwrite=true) uses a two-step confirm_token handshake with the AI app. The AI app is expected to show the action to you; Model MCP does not show its own dialog. May commit; revit_jobs polls; retry repeats. |
| revit_run_actionsA | Execute up to 50 actions with one undo step; the whole batch rolls back on its first failure. dry_run rolls back and returns the verification block. |
| revit_process_modelsB | Open each model in the interactive session, run steps and C# code, export, save as requested, and close. In-place saves and code need a confirm_token from the preview response. dry_run replaces only code.transaction="none" with "auto" and reports the override in warnings. May commit; revit_jobs polls; retry repeats. |
| revit_edit_familiesB | Edit an open family in place, or named project families (exact names or ["*"]), one load cycle each. A dry run rolls back all changes. May commit; revit_jobs polls; retry repeats. |
| revit_batch_startC | Start a persistent, read-only run over local, UNC or RSN models. process_id selects the launcher Revit process. open_timeout_minutes is the per-model open deadline (default 30, 45 when upgrading in memory). |
| revit_batch_statusC | Read durable run and model status; can record a stopped supervisor in the run's saved state. |
| revit_batch_cancelB | Persist cancellation and prevent unstarted models from running. |
| revit_batch_fetchB | Download completed snapshots to new local files without overwriting. |
| revit_model_auditC | Audit live or offline snapshots_dir with per-model history. capture_evidence: 25 PNGs/210s. skippedCount counts omissions. |
| revit_audit_reportB | Write server-side XLSX, image-embedded HTML or BCF 2.1 from audit JSON; all selects all. XLSX links sibling PNGs. Refuse existing files. |
| revit_build_reportB | Build local snapshot Excel reports without Revit. |
| revit_issue_registerA | Write a new local .xlsx issue register with element snapshots and review documents. Takes 1 to 60 issues; captures at most 25 snapshots (by severity) within a 210-second budget, and failed snapshots become cell notes. Snapshots need local or SSH transport. Existing output files are refused. skippedCount counts omissions. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| model_overview | Review one open model: health, warnings, links, coordinates and families, as a findings table. |
| pre_issue_check | Check an open model before issuing it: health, warnings, links, coordinates, parameter fill and families. |
| weekly_coordinator_report | Build a weekly coordinator audit report with evidence and baseline deltas. |
| subcontractor_model_acceptance | Assess a subcontractor model against agreed acceptance requirements. |
| warnings_triage | Group and prioritize model warnings with affected element IDs. |
| parameter_fill_report | Report how completely the requested parameters are filled for the requested categories. |
| daily_qa | Run the daily read-only model QA routine and report counts and trends. |
| sheet_set | Plan and create sheets from CSV or markdown rows after explicit approval. |
| batch_audit | Collect snapshots from many models in the background and build a comparison report. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| coordinator_guide | Guide for reviewing a Revit model: tool order, result fields and reporting conventions. |
| ui_kit_guide | Model MCP Design Kit for saved tools, pack form blocks, icons, typography and layout. |
TDQS
Scored across 93 tools
With 93 tools, many adjacent read paths overlap heavily, such as revit_query_elements, revit_view_elements, revit_aggregate_elements and revit_element_details, plus multiple snapshot/audit/health/report tools. The descriptions are detailed, but set-level boundaries remain muddy enough that an agent can easily choose the wrong tool.
The set is consistently prefixed with revit_ and uses snake_case throughout. Most names are verb_noun or noun-based, with minor deviations like revit_jobs, revit_ping, revit_ui_state and revit_model_health, which are readable but not perfectly predictable.
At 93 tools, this is far beyond a well-scoped MCP surface; the pack, saved-tool, audit, batch, export and reporting families each add many variants. Even where individual tools serve a niche, the overall discovery and selection cost is excessive.
Coverage is very broad across the Revit lifecycle: documents, views, elements, parameters, families, sheets, schedules, exports, batch audits, packs, jobs and undo. Some creation gaps remain, such as levels, grids, rooms and revisions, but core workflows are strongly covered.