Model MCP

v3.0.0
io.github.sharafutdinovdi/revit-model-mcp Checked 2 days ago Published 4 days ago

Revit MCP server. Agent install: https://sharafutdinovdi.github.io/revit-model-mcp/agent-install/

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

revit_jobs List Revit Jobs

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.

ParameterTypeDescription
documentdoc: ID/path/title across several Revit instances.
job_id
process_idRevit PID; must match document.
timeout_secondsintegerResult wait in seconds.
wait_secondsintegerSeconds to wait, 0 through 50.

revit_ping Check Revit Connection

Check the connection to Revit without reading the model. Returns data="pong", even when no document is active. skippedCount counts omissions.

ParameterTypeDescription
documentdoc: ID/path/title across several Revit instances.
process_idRevit PID; must match document.
timeout_secondsintegerResult wait in seconds.

revit_nwc_settings_check Check NWC Settings

Parse a Navisworks exporter XML file on the Revit workstation without exporting. skippedCount counts omissions.

ParameterTypeDescription
settings_xml *string
documentdoc: ID/path/title across several Revit instances.
process_idRevit PID; must match document.
timeout_secondsintegerResult wait in seconds.

revit_document_info Document Info

Read model filename, Revit version, levels (mm), area schemes, worksets and view count. skippedCount counts omissions.

ParameterTypeDescription
documentdoc: ID/path/title across several Revit instances.
process_idRevit PID; must match document.
timeout_secondsintegerResult wait in seconds.

revit_documents Open Documents

List every open document in one Revit process, including background documents. Linked documents are listed only when include_linked is set. skippedCount counts omissions.

ParameterTypeDescription
documentdoc: ID/path/title across several Revit instances.
include_linkedboolean
process_idRevit PID; must match document.
timeout_secondsintegerResult wait in seconds.

revit_ui_state Revit UI State

Read the active document, open views, selection and open documents. skippedCount counts omissions.

ParameterTypeDescription
process_idRevit PID; must match document.

revit_api_lookup Look up Revit API types and members

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.

ParameterTypeDescription
query *string
documentdoc: ID/path/title across several Revit instances.
include_inheritedboolean
include_obsoleteboolean
kindstring
limitinteger
process_idRevit PID; must match document.
timeout_secondsintegerResult wait in seconds.

revit_model_snapshot Model Snapshot

Read schema-v1 project snapshots for batch audits; closed worksets can omit data. skippedCount counts omissions.

ParameterTypeDescription
documentdoc: ID/path/title across several Revit instances.
parameter_rules
process_idRevit PID; must match document.
timeout_secondsintegerResult wait in seconds.

revit_model_health Model Health Check

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.

ParameterTypeDescription
documentdoc: ID/path/title across several Revit instances.
output_pathNew .xlsx health report path, resolved on the machine running this server; parent must exist and existing files are refused.
process_idRevit PID; must match document.
timeout_secondsintegerResult wait in seconds.

revit_shared_coordinates Shared Coordinates

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.

ParameterTypeDescription
documentdoc: ID/path/title across several Revit instances.
process_idRevit PID; must match document.
timeout_secondsintegerResult wait in seconds.

revit_parameter_fill_check Parameter Fill Check

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.

ParameterTypeDescription
categories *arrayCategory names (1 to 20) from the categories catalog; matches any listed category.
parameters *arrayExact localized parameter names (1 to 30); names that do not match count as missing.
documentdoc: ID/path/title across several Revit instances.
include_typesboolean
level
process_idRevit PID; must match document.
sample_limitintegerMaximum sampled element IDs per empty and missing list, 1 to 100 (default 20); counts always cover all elements.
timeout_secondsintegerResult wait in seconds.
viewExact non-template view name; limits the search to that view.
workset

revit_list_catalog List Catalog

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.

ParameterTypeDescription
section *string
documentdoc: ID/path/title across several Revit instances.
limitinteger
name_containsCase-insensitive substring of the view name.
offsetinteger
process_idRevit PID; must match document.
timeout_secondsintegerResult wait in seconds.

revit_aggregate_elements Aggregate Elements

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.

ParameterTypeDescription
group_by *arrayOne or two distinct fields (e.g. category, family, type, level) or exact localized parameter names.
area_schemeExact area-scheme name, case-insensitive.
categories
documentdoc: ID/path/title across several Revit instances.
family
level
parameter_filtersAND-combined filters: parameter (exact localized name), operator (equals, contains, greater, less, empty, not-empty, exists) and value. Numbers use mm, m2, m3 or display units.
phase
process_idRevit PID; must match document.
sum_fieldNumeric field or parameter name to sum and average per group; lengths in mm, areas m2, volumes m3.
timeout_secondsintegerResult wait in seconds.
type_nameExact type name, case-insensitive.
viewExact non-template view name; limits the search to that view.
workset

revit_query_elements Query Elements

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.

ParameterTypeDescription
area_schemeExact area-scheme name, case-insensitive.
categories
documentdoc: ID/path/title across several Revit instances.
family
fields
include_geometrybooleanInclude location, boundingBox and roomCenterMm in model mm. Default false; true enlarges the response.
level
limitinteger
linkLinked IDs are local to the link, not accepted by action tools.
offsetinteger
parameter_filtersAND-combined filters: parameter (exact localized name), operator (equals, contains, greater, less, empty, not-empty, exists) and value. Numbers use mm, m2, m3 or display units.
phase
process_idRevit PID; must match document.
sort_directionstringasc (default) or desc, case-insensitive.
sort_fieldstringSystem field (e.g. id, category, level) or exact localized parameter name to sort by; default id.
timeout_secondsintegerResult wait in seconds.
type_nameExact type name, case-insensitive.
unique_id
viewExact non-template view name; limits the search to that view.
workset

revit_list_sheets List Sheets

List sheets, placed view IDs and unplaced views. Counts: sheetCount, unplacedViewCount. skippedCount counts omissions.

ParameterTypeDescription
documentdoc: ID/path/title across several Revit instances.
include_unplaced_viewsboolean
limitinteger
offsetinteger
process_idRevit PID; must match document.

revit_list_views List Views

List non-template views with id, name, type, level, scale and template. skippedCount counts omissions.

ParameterTypeDescription
documentdoc: ID/path/title across several Revit instances.
name_containsCase-insensitive substring of the view name.
process_idRevit PID; must match document.
timeout_secondsintegerResult wait in seconds.
view_typeEnglish ViewType name such as FloorPlan or ThreeD, case-insensitive.

revit_view_info View Info

Inspect one view's template, display, categories, worksets, filters and links. skippedCount counts omissions.

ParameterTypeDescription
view *stringExact non-template view name from revit_list_views, or a view ID as a decimal string.
documentdoc: ID/path/title across several Revit instances.
process_idRevit PID; must match document.
timeout_secondsintegerResult wait in seconds.

revit_view_summary View Summary

Read element categories and counts for a selected view. skippedCount counts omissions.

ParameterTypeDescription
view *stringExact non-template view name from revit_list_views, or a view ID as a decimal string.
documentdoc: ID/path/title across several Revit instances.
process_idRevit PID; must match document.
timeout_secondsintegerResult wait in seconds.

revit_schedule_data Read Schedule Data

Read displayed schedule header and body cell text, with paging. skippedCount counts omissions.

ParameterTypeDescription
schedule *stringExact schedule name or decimal Revit view ID. (Use the id when two schedules share a name.)
documentdoc: ID/path/title across several Revit instances.
max_rowsinteger
offsetinteger
process_idRevit PID; must match document.

revit_capture_elements Capture Elements

Capture 1-500 elements as PNG (3d/plan, local/SSH); temporary view rolls back. skippedCount counts omissions.

ParameterTypeDescription
element_ids *array
camera_coordinate_basestring
documentdoc: ID/path/title across several Revit instances.
modestring
output_pathNew PNG path, resolved on the machine running this server; an existing file is an error. Default null downloads to a temporary directory and returns localPath.
padding_mmnumber
pixel_sizeintegerPNG size in pixels along the fitted dimension, 32 to 4000 (default 1600); Revit rejects smaller images.
process_idRevit PID; must match document.

revit_export_view Save view as PNG

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.

ParameterTypeDescription
view *stringExact non-template view name from revit_list_views, or a view ID as a decimal string.
documentdoc: ID/path/title across several Revit instances.
output_pathNew PNG path, resolved on the machine running this server; an existing file is an error. Default null downloads to a temporary directory and returns localPath.
pixel_sizeintegerPNG size in pixels along the fitted dimension, 32 to 4000 (default 1600); Revit rejects smaller images.
process_idRevit PID; must match document.

revit_view_elements View Elements

Read one page of elements in a selected view, with IDs, category, family, type, level and measurements (mm, m2, m3). skippedCount counts omissions.

ParameterTypeDescription
view *stringExact non-template view name from revit_list_views, or a view ID as a decimal string.
categories
documentdoc: ID/path/title across several Revit instances.
limitinteger
offsetinteger
process_idRevit PID; must match document.
timeout_secondsintegerResult wait in seconds.

revit_element_details Element Details

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.

ParameterTypeDescription
documentdoc: ID/path/title across several Revit instances.
element_idRevit element ID from revit_query_elements or revit_view_elements.
linkLinked IDs are local to the link, not accepted by action tools.
process_idRevit PID; must match document.
timeout_secondsintegerResult wait in seconds.
unique_id

revit_view_warnings View Warnings

Read warnings involving elements present in a selected view. A warning may also involve elements outside the view. skippedCount counts omissions.

ParameterTypeDescription
view *stringExact non-template view name from revit_list_views, or a view ID as a decimal string.
documentdoc: ID/path/title across several Revit instances.
process_idRevit PID; must match document.
timeout_secondsintegerResult wait in seconds.

revit_list_warnings List Warnings

Group model warnings by description text. warning_text with include_elements=true returns the elements of one group. skippedCount counts omissions.

ParameterTypeDescription
documentdoc: ID/path/title across several Revit instances.
include_elementsbooleanInclude affected elements (ID, category, name) per group. Default false returns counts only.
process_idRevit PID; must match document.
timeout_secondsintegerResult wait in seconds.
warning_textExact warning description from revit_list_warnings, case-insensitive; an unmatched text is an error.

revit_list_relations List Relations

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.

ParameterTypeDescription
relation *string
documentdoc: ID/path/title across several Revit instances.
process_idRevit PID; must match document.
source_idRevit ID of the source group (group-elements) or family instance (nested-family).
source_nameSource name, case-insensitive: a level (level-rooms), area scheme (area-scheme-elements) or view template (view-template-dependents).
timeout_secondsintegerResult wait in seconds.

revit_list_instances List Instances

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.

ParameterTypeDescription
documentdoc: ID/path/title across several Revit instances.

revit_family_audit Audit Families

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.

ParameterTypeDescription
detailstring
documentdoc: ID/path/title across several Revit instances.
families
process_idRevit PID; must match document.
timeout_secondsinteger

revit_export_pack Export Pack

Export ordered tools or an installed pack to a new client file. confirm_token: shown review and explicit yes. revit_jobs recovers jobId.

ParameterTypeDescription
output_path *string
confirm_token
pack
pack_id
process_id
tools

revit_install_pack Install Pack

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.

ParameterTypeDescription
file *string
sha256 *string
allow_downgradeboolean
confirm_token
process_id
replace_modified

revit_diff_packs Compare Packs

Diff installed packs or client files with SHA-256. revit_jobs recovers jobId.

ParameterTypeDescription
after *
before *
process_id

revit_remove_pack Remove Pack

Review removal and retained edits. confirm_token requires a shown review and explicit yes. No Undo. revit_jobs recovers jobId.

ParameterTypeDescription
pack_id *string
confirm_token
process_id

revit_set_read_only Set Workstation Read-only

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.

ParameterTypeDescription
enabled *boolean
confirm_token

revit_open_document Open Document

Open a local, UNC or RSN model. Central models open detached by default. Cloud paths are unsupported. May commit; revit_jobs polls; retry repeats.

ParameterTypeDescription
path *string
activateboolean
auditboolean
modestring
process_id
worksets

revit_activate_document Activate Document

Activate an already open document by title or path reference.

ParameterTypeDescription
document *string
process_id

revit_activate_view Activate View

Activate a non-template view. Zoom to fit, preserve zoom, or frame element IDs.

ParameterTypeDescription
view *string
activate_documentboolean
documentTarget document title or path reference.
process_id
view_type
zoom

revit_close_views Close Views

Close open UI views in the active document.

ParameterTypeDescription
keep_activeboolean
process_id
views

revit_new_document New Document

Create a project or family from a template on the Revit workstation.

ParameterTypeDescription
activateboolean
kindstring
name
process_id
save_as
template

revit_close_document Close Document

Close a background document. Confirmation is required when saving or discarding changes, except MCP-opened detached noncentral documents closed without saving.

ParameterTypeDescription
document *string
confirm_token
process_id
saveboolean

revit_save_document Save Document

Save a document. Needs confirm_token from a first call, which changes nothing.

ParameterTypeDescription
document *string
compactboolean
confirm_token
overwriteboolean
process_id
save_as

revit_sync_document Synchronize Document

Synchronize a workshared document with central. Needs confirm_token from a first call, which changes nothing.

ParameterTypeDescription
comment *string
document *string
compactboolean
confirm_token
process_id
relinquish
save_local_afterboolean
save_local_beforeboolean

revit_set_view_visibility Set View Visibility

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.

ParameterTypeDescription
view *string
category_classes
documentOpen document title/file substring; required when ambiguous.
dry_runboolean
filters
hide_categories
hide_categories_by_type
show_categories
template_mode
worksets

revit_save_tool Save My Tool

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.

ParameterTypeDescription
code *string
description *string
name *string
parameters *object
confirm_token
modestring
process_id
tested_revit_years

revit_list_tools List My Tools

List saved tools, packs and disabled sets. My tools > Settings enables built-ins. revit_get_tool reviews saved schemas.

revit_get_tool Review My Tool

Return approved source and schema without execution.

ParameterTypeDescription
name *string

revit_run_tool Run My Tool

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.

ParameterTypeDescription
args *object
name *string
confirm_token
document
dry_runboolean
input_files
output_dir
preview_id
process_id
timeout_secondsinteger
transactionstring

revit_delete_tool Delete My Tool

Delete all revisions with confirm_token after a first confirmation challenge. No Undo. Uses a two-step AI app token handshake.

ParameterTypeDescription
name *string
confirm_token

revit_execute_code Execute C# Code

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.

ParameterTypeDescription
code *string
confirm_token
documentOpen document title/file substring; required when ambiguous.
dry_runboolean
max_seconds
timeout_secondsinteger
transactionstring

revit_undo_last Undo Last Action

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.

ParameterTypeDescription
documentOpen document title/file substring; required when ambiguous.

revit_cancel_job Cancel Action Job

Process-models stops between models; completed models stay committed. Scripts and tagging roll back at a check or on return.

ParameterTypeDescription
job_id *string
documentOpen document title/file substring; required when ambiguous.
process_id

revit_select Select Elements

Select element IDs for inspection in Revit; an empty list clears the selection.

ParameterTypeDescription
element_ids *array
documentOpen document title/file substring; required when ambiguous.

revit_show Show Elements

Display elements in Revit, optionally selecting them; opens a level plan or 3D view when needed.

ParameterTypeDescription
element_ids *array
documentOpen document title/file substring; required when ambiguous.
selectboolean

revit_isolate Isolate Elements

Temporarily isolate element IDs in the active view; an empty list resets.

ParameterTypeDescription
element_ids *array
documentOpen document title/file substring; required when ambiguous.
resetboolean

revit_move Move Elements

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.

ParameterTypeDescription
dx_mm *number
dy_mm *number
element_ids *array
documentOpen document title/file substring; required when ambiguous.
dry_runboolean
dz_mmnumber

revit_override_graphics Highlight Elements

Colour elements in selected model views; reset restores overrides saved in this Revit session.

ParameterTypeDescription
element_ids *array
colorstring
documentOpen document title/file substring; required when ambiguous.
dry_runboolean
fillboolean
halftone_othersboolean
line_weight
resetboolean
transparencyinteger
views

revit_rotate Rotate Elements

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.

ParameterTypeDescription
angle_deg *number
element_ids *array
center_mm
documentOpen document title/file substring; required when ambiguous.
dry_runboolean

revit_copy Copy Elements

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.

ParameterTypeDescription
dx_mm *number
dy_mm *number
element_ids *array
countinteger
documentOpen document title/file substring; required when ambiguous.
dry_runboolean
dz_mmnumber

revit_mirror Mirror Elements

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.

ParameterTypeDescription
axis *string
element_ids *array
point_mm *array
copyboolean
documentOpen document title/file substring; required when ambiguous.
dry_runboolean

revit_change_type Change Element Type

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.

ParameterTypeDescription
element_ids *array
type_name *string
documentOpen document title/file substring; required when ambiguous.
dry_runboolean
family

revit_update_parameters Update Parameters

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.

ParameterTypeDescription
filters *
parameter *string
value *
documentOpen document title/file substring; required when ambiguous.
dry_runboolean
include_type_parametersboolean
max_elementsinteger
parameter_id

revit_place_family Place Family

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.

ParameterTypeDescription
family *string
level *string
type_name *
x_mm *number
y_mm *number
documentOpen document title/file substring; required when ambiguous.
dry_runboolean
rotation_degnumber

revit_load_family Load Families

Load workstation .rfa files in one undo entry. Existing families are skipped unless overwrite is true.

ParameterTypeDescription
paths *array
documentOpen document title/file substring; required when ambiguous.
dry_runboolean
overwriteboolean
overwrite_parameter_valuesboolean
timeout_secondsinteger

revit_place_families Place Families

Load optional families and place instances in one transaction and undo entry.

ParameterTypeDescription
at_rooms
documentOpen document title/file substring; required when ambiguous.
dry_runboolean
load
placements
stop_on_errorboolean
timeout_secondsinteger

revit_create_wall Create Wall

Create a straight wall on a named level. XY endpoints and height are in mm; a null wall_type uses the first basic type.

ParameterTypeDescription
end_mm *array
level *string
start_mm *array
wall_type *
documentOpen document title/file substring; required when ambiguous.
dry_runboolean
height_mmnumber

revit_create_mep_run Create MEP Run

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.

ParameterTypeDescription
kind *string
level *string
points_mm *array
connect_to
diameter_mm
documentOpen document title/file substring; required when ambiguous.
dry_runboolean
height_mm
offset_mm
system_type
type_name
width_mm

revit_walls_from_cad Build Walls from CAD

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.

ParameterTypeDescription
cad_id *integer
layers *array
level *string
documentOpen document title/file substring; required when ambiguous.
dry_runboolean
height_mmnumber
joinboolean
max_gap_mmnumber
max_thickness_mmnumber
min_length_mmnumber
min_thickness_mmnumber
timeout_secondsinteger
wall_type

revit_create_view Create View

Create a plan, section, 3D or drafting view. Unbounded 3D views show the whole model, shaded, fine detail. Box coordinates are model mm.

ParameterTypeDescription
kind *string
box
detail_level
display_style
documentOpen document title/file substring; required when ambiguous.
dry_runboolean
element_ids
level
name
scale
template
view_family_type

revit_duplicate_view Duplicate View

Duplicate a view, optionally with detailing or as a dependent view.

ParameterTypeDescription
view *string
documentOpen document title/file substring; required when ambiguous.
dry_runboolean
modestring
name

revit_apply_view_template Apply View Template

Apply a matching view template to one or more views.

ParameterTypeDescription
template *string
views *array
documentOpen document title/file substring; required when ambiguous.
dry_runboolean

revit_create_sheet Create Sheet

Create a sheet with the first loaded or a named title block.

ParameterTypeDescription
name *string
number *string
documentOpen document title/file substring; required when ambiguous.
dry_runboolean
title_block

revit_place_views_on_sheet Place Views on Sheet

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.

ParameterTypeDescription
sheet *
views *array
documentOpen document title/file substring; required when ambiguous.
dry_runboolean

revit_tag_elements Tag Elements

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.

ParameterTypeDescription
view *
categories
documentOpen document title/file substring; required when ambiguous.
dry_runboolean
element_ids
leaderboolean
max_elementsinteger
orientationstring
skip_taggedboolean
tag_type

revit_create_schedule Create Schedule

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.

ParameterTypeDescription
category *string
fields *array
documentOpen document title/file substring; required when ambiguous.
dry_runboolean
filters
itemizedboolean
name
sort

revit_set_parameter Set Parameter

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.

ParameterTypeDescription
element_id *integer
parameter *string
value *
documentOpen document title/file substring; required when ambiguous.
dry_runboolean
parameter_id

revit_delete Delete Elements

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.

ParameterTypeDescription
element_ids *array
confirm_token
documentOpen document title/file substring; required when ambiguous.
dry_runboolean

revit_export Save PDF, DWG, IFC or CSV files

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…

ParameterTypeDescription
format *string
all_sheetsboolean
confirm_token
documentOpen document title/file substring; required when ambiguous.
dry_runboolean
options
output_dir
overwriteboolean
sheet_set
sheets
timeout_secondsinteger
views

revit_export_nwc Save NWC file

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.

ParameterTypeDescription
path *string
confirm_token
convert_element_properties
convert_lights
convert_linked_cad_formats
coordinates
divide_file_into_levels
documentOpen document title/file substring; required when ambiguous.
dry_runboolean
element_ids
export_element_ids
export_links
export_parts
export_room_as_attribute
export_room_geometry
export_urls
faceting_factor
find_missing_materials
overwriteboolean
parameters
scope
settings_xml
timeout_secondsinteger
view

revit_run_actions Run Actions

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.

ParameterTypeDescription
steps *array
documentOpen document title/file substring; required when ambiguous.
dry_runboolean

revit_process_models Process Many Models

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.

ParameterTypeDescription
code
confirm_token
dry_runboolean
exports
folder
open
paths
patternstring
process_id
recursiveboolean
save
steps
stop_on_errorboolean
timeout_secondsinteger

revit_edit_families Edit Families

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.

ParameterTypeDescription
operations *array
documentOpen document title/file substring; required when ambiguous.
dry_runboolean
families
overwrite_parameter_valuesboolean
stop_on_errorboolean
timeout_secondsinteger

revit_batch_start Start batch collection

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).

ParameterTypeDescription
folder
open_timeout_minutes
parameter_rules
paths
process_id
recursiveboolean
years

revit_batch_status Batch collection status

Read durable run and model status; can record a stopped supervisor in the run's saved state.

ParameterTypeDescription
run_id *string

revit_batch_cancel Cancel batch collection

Persist cancellation and prevent unstarted models from running.

ParameterTypeDescription
run_id *string

revit_batch_fetch Fetch batch snapshots

Download completed snapshots to new local files without overwriting.

ParameterTypeDescription
output_dir *string
run_id *string

revit_model_audit Audit the model against rules

Audit live or offline snapshots_dir with per-model history. capture_evidence: 25 PNGs/210s. skippedCount counts omissions.

ParameterTypeDescription
batch_models
camera_coordinate_basestring
capture_evidenceboolean
compare_withstring
documentdoc: ID/path/title across several Revit instances.
process_idRevit PID; must match document.
rules
rules_inline
saveboolean
snapshots_dir
timeout_secondsintegerResult wait in seconds.

revit_audit_report Build Audit Report

Write server-side XLSX, image-embedded HTML or BCF 2.1 from audit JSON; all selects all. XLSX links sibling PNGs. Refuse existing files.

ParameterTypeDescription
audit *string
output *string
formatstring

revit_build_report Build Snapshot Report

Build local snapshot Excel reports without Revit.

ParameterTypeDescription
output_path *stringNew .xlsx path, resolved on the machine running this server; existing files are refused.
snapshots_dir *stringMCP-client directory of schema-v1 JSON snapshots.
findingsFindings: model, severity, rule, element_ids (or elementIds), recommendation.
previous_dirEarlier snapshots, matched by model title (Changes sheet).

revit_issue_register Issue Register

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.

ParameterTypeDescription
issues *array
output_path *stringNew .xlsx issue register path, resolved on the machine running this server; existing files are refused.
project *object
documentdoc: ID/path/title across several Revit instances.
pixel_sizeintegerPNG size in pixels along the fitted dimension, 32 to 4000 (default 900); Revit rejects smaller images.
process_idRevit PID; must match document.