跳到正文
FunCoding

Model MCP

官方 MCP Registry 已收录

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

Star
27
版本
v3.0.0
许可证
MIT
最近提交
2026年11月29日

Model MCP logo

Model MCP for Autodesk Revit

Ask, check and change live Autodesk® Revit® projects from Claude Desktop, Claude Code or any MCP client that starts a stdio server.

CI Latest release PyPI Revit 2022-2027 OpenSSF Scorecard MIT OpenSSF Best Practices GitHub Downloads PyPI downloads

Model MCP is a Revit MCP server (Model Context Protocol) that connects Claude Desktop, Claude Code, Codex, Cursor or any MCP client that starts a stdio server to a live Revit project. Ask questions about the model, check it, and change it in plain language. Committed transactional model edits create one named Undo entry in Revit. Read-only mode is one switch away.

What's new in 3.0

Model MCP ribbon tab in Revit 2026 with new icons
Native ribbon tab. The Model MCP tab with custom tool packs in Large or Compact layouts.
My tools pack manager showing Large and Compact layouts
My tools pack manager. One click to Install pack or Export a pack and share it with your team.
Result cards in the Design Kit style
Result cards. Every result uses the same Design Kit cards, with no raw console text.
Structured audit result table with inline progress
Structured audits. Results arrive in a table with inline progress while a long run works.

Install pack flow, as shown in Revit 2026:

Install pack dialog in Revit 2026

Try the ready-to-install starter pack examples/model-qa-starter.mcptools.json: linked clash check, model cleanup and hidden element diagnostics. See the My tools guide and the changelog.

Install in five minutes

Use Windows 10 or 11 with Revit 2022-2027 and an installed local MCP client.

  1. Close Revit and download RevitModelMcp-<version>-SingleUser.msi from the latest release.
  2. Run the MSI. It installs the add-in and its own server; no Python, uv or .NET SDK is needed. Windows may warn about an unknown publisher: the release files are not code-signed. Continue only for a download from the official release.
  3. Open Revit, choose Always Load for Model MCP, and open a model. This separate Revit prompt permits the unsigned add-in to run inside Revit.
  4. Click Model MCP > Model MCP > Connect AI app, then Add for your app. For Claude Code, click Copy command and run it in a terminal instead. Fully restart the app.
  5. Ask: Call revit_ping, then tell me which model is open. A successful ping proves access to Revit; the model response confirms access to the open project. A Configured label alone is not a live connection test.

Connect supports Claude Desktop, Cursor, VS Code and local Codex configuration. It does not provide a separate ChatGPT Desktop integration. See tested clients for recorded validation and untested clients.

Optional: verify the download

Download SHA256SUMS.txt from the same release and follow download verification.

For MultiUser, ZIP, MCPB and remote workstations, see requirements and installation, or install with an AI agent. WinGet publication is pending; use the release MSI. For updates, the release add-in checks GitHub daily and notifies by default; see updates. Report bugs in Issues, ask questions in Discussions, and report vulnerabilities through SECURITY.md.

Why Model MCP

  • Undo and read-only lock. Transactional model edits create one named Undo entry, and one workstation lock enables read-only mode.
  • Confirmation first. Saving, syncing and other irreversible steps wait for your explicit approval.
  • Shareable tool packs. Save reviewed C# procedures as named tools, then install and export them as packs.
  • Native MSI and SSH from a Mac. MSI installers with SCCM, Intune and Group Policy guides. MCP stdio runs through SSH, so no port opens.

Try these prompts

Paste any of these into your MCP client with a model open in Revit. The last column names the tools each prompt uses.

GoalPromptTools
Review"Give me an overview of the open model: levels, element counts by category, links and the biggest problems."revit_document_info, revit_list_catalog, revit_aggregate_elements, revit_list_warnings
Health check"Run a health check before we issue this model and list what fails."revit_model_health, revit_parameter_fill_check
Find and show"Find the doors on this floor and show me where they are in 3D."revit_query_elements, revit_capture_elements
Highlight"Colour those doors red on the L2 plan and fade everything else."revit_activate_view, revit_override_graphics
Change, then undo"Move the selected elements 500 mm along X. Preview it first, then do it, then undo it."revit_move with dry_run, revit_undo_last
Batch over a folder"Collect read-only snapshots of every model in this folder and tell me which ones have parameters left empty."revit_batch_start, revit_batch_status, revit_build_report
ISO 19650 register"Check this model against our EIR and write an issue register to Excel with element snapshots."revit_issue_register, with the ISO 19650 skill
Export"Export the L2 plan as PDF, and a Navisworks file of the whole model."revit_export, revit_export_nwc
Run from a Mac"Call revit_ping and tell me which model is open on the workstation."revit_ping, over SSH (see remote workstations)

The tables list every tool by name; the tool reference has arguments, units and limits.

The building rising in a Revit 3D view, columns first, then walls, floors and roof
"Show the building going up in construction order."
Building elements flying into place in a Revit 3D view while the camera orbits
"Bring the building together piece by piece."
Supply and return air moving through the duct network in blue and orange
"Show supply and return air moving through the building."
Elements in a Revit 3D view coloured by model warnings while the view turns
"Colour the model by warnings."

Tool reference

The tables list every tool by name; the tool reference has arguments, units and limits.

Review a model

Read the model, find problems and show them in Revit. Reads change nothing in the document.

Tools for reviewing a model
TaskTools
Check the connection and open documentsrevit_ping, revit_ui_state, revit_documents, revit_document_info, revit_list_instances
Find and count elementsrevit_list_catalog, revit_aggregate_elements, revit_query_elements, revit_element_details, revit_list_relations
Read views and schedulesrevit_list_views, revit_view_info, revit_view_summary, revit_view_elements, revit_schedule_data, revit_list_sheets
Read warningsrevit_list_warnings, revit_view_warnings
Check model qualityrevit_model_health, revit_parameter_fill_check, revit_family_audit, revit_model_audit
Get a picturerevit_export_view, revit_capture_elements
Point at things in Revitrevit_activate_view, revit_select, revit_show, revit_isolate, revit_override_graphics

Compare and align grids and levels with linked models, inspect links and shared coordinates, and prepare CAD and Navisworks hand-overs.

Tools for links and datums
TaskTools
Inspect links and coordinatesrevit_links_status, revit_shared_coordinates
Compare and align datumsrevit_compare_link_datums, revit_align_link_datums
Work with CAD linksrevit_link_cad, revit_walls_from_cad
Remove linksrevit_remove_links
Navisworks exportrevit_nwc_settings_check, revit_export_nwc

Change the model safely

Edit elements, families, views and sheets. Committed transactional model edits create one named Undo entry. High-risk MCP calls use a client token handshake. Ribbon runs do not use the client token handshake: a person at the workstation reviews the revision in a Revit dialog on first use per session and confirms action runs. All other execution gates are identical. ExecuteCode=off or ToolDeny for run-tool disables both saved-tool paths; there is no separate switch for local runs only. The same machine-policy rule applies in the store channel. Labels and last used arguments are stored unencrypted in the user's profile; secrets do not belong in tool arguments or labels. See safety.

Tools for changing the model
TaskTools
Edit elementsrevit_move, revit_rotate, revit_copy, revit_mirror, revit_change_type, revit_set_parameter, revit_update_parameters, revit_delete
Control the workstation lockrevit_set_read_only
Save, discover, review, run, and delete approved proceduresrevit_save_tool, revit_list_tools, revit_get_tool, revit_run_tool, revit_delete_tool
Run many steps as one undorevit_run_actions
Create elementsrevit_create_wall, revit_create_mep_run
Work with familiesrevit_load_family, revit_place_family, revit_place_families, revit_edit_families
Work with views and sheetsrevit_create_view, revit_duplicate_view, revit_apply_view_template, revit_set_view_visibility, revit_create_sheet, revit_place_views_on_sheet
Tag elements and create schedulesrevit_tag_elements, revit_create_schedule
Open, save and close documentsrevit_open_document, revit_new_document, revit_activate_document, revit_close_views, revit_close_document, revit_save_document, revit_sync_document
Export filesrevit_export
Look up the API and run C# in Revitrevit_api_lookup, revit_execute_code
Undorevit_undo_last

Process many models at once

Run the same checks, edits, exports and saves over a folder of models, or collect read-only snapshots from many models in a persistent run. Long jobs return a jobId that survives client restarts.

Tools for many models
TaskTools
Open, change, export and save many modelsrevit_process_models
Collect snapshots without changing modelsrevit_batch_start, revit_batch_status, revit_batch_cancel, revit_batch_fetch
Follow and cancel long jobsrevit_jobs, revit_cancel_job

Write an issue register with snapshots

Review a model against your requirements and write an Excel register with severity totals, element rows and element snapshots. Snapshots also let you audit models later without Revit running.

Tools for registers and reports
TaskTools
Take a snapshot of a modelrevit_model_snapshot
Write an issue registerrevit_issue_register
Build a report from snapshotsrevit_build_report
Report saved audit resultsrevit_audit_report

My tools

Successful C# procedures can be saved as named tools with validated parameters after explicit source review and confirmation. The My tools ribbon pulldown runs approved tools locally; Settings offers Run, Export, Import, Show code, display labels, icons, ribbon visibility and confirmed deletion. Local runs and MCP clients share the execution, read-only lock, policy and Undo pipeline; local review and MCP token confirmation remain independent. See My tools for saving, running, reviewing, deleting, and the security model.

Prompts and skills

The prompts and coordinator guide describes read-only model review workflows. For Claude Code, copy skills/revit-model-coordinator into ~/.claude/skills/. For Claude Desktop, zip that skill folder and upload it as a skill.

The hand-written ISO 19650 issue register skill reviews a model against EIR/BEP requirements and writes an Excel register with element snapshots. Install it the same way: copy skills/iso19650-issue-register into ~/.claude/skills/, or zip the folder and upload it in Claude Desktop.

The daily QA skill checks model health, warnings, links, parameters, and families without changing the model. The tool pack builder skill guides authoring, live checking, and sharing reusable ribbon tools as .mcptools.json packs. The family authoring skill creates and checks families against company rules, with Revit flex, hosting, and connector evidence. The family authoring evaluation profile supports controlled workstation checks. The evaluation guide documents verifier coverage and cases that still need calibration. No live comparative result is published. The sheet set skill resolves a sheet list, confirms the layout, and creates sheets with placed views. Install these folders with the same copy or ZIP procedure.

Safety

  • Actions are on by default. The workstation read-only lock refuses ordinary actions across clients and running Revit versions for the Windows user. Enable it with the Read-only ribbon button or revit_set_read_only. Chat unlock requires explicit confirmation. Action tools stay listed. User locks return errorCode: "read_only"; enforced machine policy returns policy_blocked. Policy overrides the user lock. See actions.
  • One Undo entry per transactional model edit. Committed edits appear in Revit's Undo list and the Activity pane with a summary. Session operations, saves, synchronization, exports, and link removal have separate limits. Link removal cannot be undone. revit_undo_last works only while the latest Revit change remains eligible; temporary isolation also makes it ineligible.
  • Confirmation tokens. For MCP calls, tokens guard saves, synchronization, committed C#, real link removal, saved-tool saves and deletions, first saved-tool runs per Revit session, and every committed action-mode saved-tool run. Conditional gates cover destructive closes, large deletions, existing-file overwrites, and batch writes or code. See confirmation exceptions for dry runs and detached documents. The first call changes nothing and returns confirmation text. The AI app returns the token on retry. Tokens are single use and expire after five minutes. Ribbon runs use local revision review and action confirmation instead of MCP tokens.
  • Dry runs. Model-changing tools such as revit_move, revit_delete, revit_run_actions, revit_export, and revit_process_models accept dry_run to preview the result without committing it. The first saved-tool run per name and revision in each Revit process still requires confirmation for read mode and dry runs. Execution tokens bind dry_run intent; a preview token cannot authorize a commit.
  • Summaries and verification. Completed actions report a summary. Model-editing actions include verification where supported. A timeout or failed verification can follow a committed change; inspect Revit before retrying. Recover a lost reply with the original request ID through revit_jobs; progress notifications are not final results. Missing or expired retry journals refuse re-execution instead of repeating an uncertain action.
  • Path redaction. REVIT_MCP_REDACT_PATHS=1 hides directories in response path fields. Names, parameter values, and errors can still contain sensitive data.
  • Unreachable workstation. errorCode: "transport_unavailable" with retryable: true means the transport cannot reach Revit. If an action may have been submitted, inspect its job and the model before resubmitting. See errors and refusals.
  • HTTP. Every route, including /health, requires the bearer token. Unauthenticated health returns HTTP 401 without instance details. Reads and authenticated set-read-only remain available while locked. Ordinary actions are refused by either the user lock or enforced policy.
  • Files and completeness. Client report and download destinations are write-new, including when another process creates the destination during publication. Read completeness includes skipped, skippedCount, nested diagnostics, partial, truncated and paging indicators. See the contract evidence for implementations and workstation-only validation limits.

For unattended runs, switch on read-only mode. 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. The token does not prove human approval.

A confirmation token guards against mistakes and injected instructions, but a client that confirms by itself can send it back. See actions for gates, exceptions and verification failures, security details for authentication and privacy boundaries, and SECURITY.md to report a vulnerability.

Remote workstations

Local Windows clients use REVIT_MCP_HOST=local under the Revit user's account. Remote clients run the whole server on the workstation over SSH, as the same Windows user that runs Revit. Install it there once with uv tool install revit-model-mcp, then register ssh as the command:

{
  "mcpServers": {
    "revit-model-mcp": {
      "command": "ssh",
      "args": ["revit-pc", "revit-model-mcp", "--redact-paths"]
    }
  }
}

Replace revit-pc with the workstation's SSH host alias. MCP stdio flows through the SSH session and the remote server uses the named pipe, so no port opens. REVIT_MCP_HOST=ssh:<alias> (file channel over SSH) and HTTP through an SSH tunnel remain available; every HTTP route requires a bearer token and the listener binds to loopback by default. See transport setup.

Compatibility

Revit 2022 to 2027 on Windows 10 and 11. The add-in targets .NET Framework 4.8 for Revit 2022-2024, .NET 8 for 2025 and 2026, and .NET 10 for 2027. Every year builds, installs and runs live reads and actions. The MSI bundles a server executable for Windows that needs no separate Python or uv installation. The PyPI server needs Python 3.11 or newer and runs on Windows, macOS or Linux; uv can start it with uvx revit-model-mcp. See validation evidence for dates and limits, and known gaps.

Privacy

Model MCP returns requested model data to the selected MCP client. The bundle enables response path redaction by default. The project has no telemetry. The privacy policy covers collection, update checks, the AI client data flow, storage, retention and contact information. The server checks for a newer stable release once a day; set REVIT_MCP_NO_UPDATE_CHECK=1 to opt out.

For administrators

The deployment guide covers silent MSI installs, SCCM, Intune, Group Policy, offline server installs and proxies. The policy reference lists every setting and its precedence. For security reviews, use the security whitepaper and the questionnaire answers. See also the MCP specifications, the tested clients and what Model MCP deliberately does not do.

Code signing policy

Release builds are not code-signed yet, so Revit asks whether to load the add-in after install and after each update. Verify downloads with SHA256SUMS.txt and the build provenance attestation; see the code signing policy and download verification. See automatic updates for update modes and installation.

Used in production

Are you a BIM team, coordinator or engineer using Model MCP in production? Share your workflow.

Anonymous entries are welcome when an NDA applies.

Contributing and support

Documentation covers setup, tools and transport. Start with CONTRIBUTING.md, ask questions in Discussions, or report bugs and request features through the issue forms. CI runs the C# and Python test suites and builds the supported Revit configurations. If Model MCP saves you time, a :star: on GitHub helps other Revit users find it.

Citation

If you use Model MCP in research or a report, cite it with the metadata in CITATION.cff. GitHub shows a Cite this repository button from that file.

FAQ

Which Revit versions are supported?

Revit 2022-2027 on Windows 10 and 11.

Which AI clients work with Model MCP?

Claude Desktop, Claude Code, Codex, Cursor, VS Code and any MCP client that starts a stdio server.

Can I control Revit from macOS?

Yes. The MCP server runs over stdio through SSH to the Windows workstation, so no port opens.

Is it safe to run on production models?

Each committed edit creates one named Undo entry, and one click switches on the Read-Only lock. Saving, syncing and other irreversible steps need a confirmation token. Model MCP sends no telemetry.

License

MIT, maintained by Dinar Sharafutdinov. See third-party notices for dependency licenses.

Trademarks

Autodesk and Revit are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and/or other countries. Model MCP is an independent project and is not affiliated with or endorsed by Autodesk.

同类 MCP Server

官方

Git

Read, search and manipulate Git repositories: status, diff, log, commit, branch and more

MOmodelcontextprotocol/servers92k近 7 天新增 166 个 star

精选

headroom

压缩工具输出、日志和文件,减少 20%-95% token,答案不变。

HEheadroomlabs-ai/headroom81k近 7 天新增 431 个 star

精选

Codebase Memory

把代码库索引成知识图谱,查询代码结构时少读文件、省 token。

DEDeusData/codebase-memory-mcp49k近 7 天新增 261 个 star

精选

GitHub

管理仓库、Issue、Pull Request 和 Actions。

GIgithub/github-mcp-server35k近 7 天新增 148 个 star

精选

serena

基于语言服务器的语义检索与编辑,按符号查找和修改代码。

ORoraios/serena32k近 7 天新增 180 个 star

Compiler Explorer

Compile code with thousands of compilers, inspect the assembly, and share godbolt.org links

COcompiler-explorer/compiler-explorer19k近 7 天新增 5 个 star