Model MCP

io.github.sharafutdinovdi由 GitHub 账号 sharafutdinovdi 发布v2.0.0更新于 Nov 3, 2026

通过 MCP stdio 使用 Revit 工具。操作默认启用;工作站锁定时操作将被禁用。

AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。

原文描述

Revit tools over MCP stdio. Actions are enabled by default; the workstation lock disables them.

发布方自己的服务:model.tools — Zero-Auth Agent Utilities

概览

Model 的本地 MCP 服务;无需登录;STDIO。

暂无 AI 概览:以下信息来自注册中心条目和服务本身。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Model MCP,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[Model MCP: BIM on Autopilot. Ask, check and change live Revit projects from Claude Desktop, Claude Code or any MCP client that starts a stdio server. An animation shows a building model rising level by level in a Revit 3D view after the prompt: build the model up level by level.]

Model MCP for Autodesk® Revit® connects Claude Desktop, Claude Code 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.

[CI] [Latest release] [Codecov] [PyPI] [Revit 2022-2027] [OpenSSF Scorecard] [MIT]

Quick start

You need two parts: the add-in inside Revit on Windows, and the server next to your MCP client. Details and requirements are in requirements and installation. Tested with Claude Desktop over SSH; other clients are listed on the tested clients page.

1. Install the add-in. On the Windows machine with Revit, download RevitModelMcp-<version>-SingleUser.msi (current user) or RevitModelMcp-<version>-MultiUser.msi (all users) from the latest release. Install only one of them. WinGet publication is pending. The submission is open, and the package is not yet in the catalog. Use an MSI from the latest release until it is accepted.

Keep Revit closed during installation, then start Revit and open a model. Revit asks whether to load the add-in, because release builds are not code-signed yet.

2. Add the server to your MCP client. In Revit, Model MCP > Model MCP > Connect AI app registers the bundled server in Claude Desktop, Cursor, VS Code, or Codex (the ChatGPT app or codex CLI); Claude Code gets a copy-paste command. The MSI includes the server executable, so this path needs no separate Python or uv installation.

If you prefer the PyPI server: Install uv, then register the server. For Claude Code on the same Windows machine:

sh
claude mcp add revit-model-mcp -e REVIT_MCP_HOST=local -e REVIT_MCP_REDACT_PATHS=1 -- uvx revit-model-mcp

For Claude Desktop, open the revit-model-mcp-<version>.mcpb bundle from the latest release, or add this to its MCP configuration:

json
{  "mcpServers": {    "revit-model-mcp": {      "command": "uvx",      "args": ["revit-model-mcp"],      "env": {        "REVIT_MCP_HOST": "local",        "REVIT_MCP_REDACT_PATHS": "1"      }    }  }}

On macOS or Linux, use a remote workstation instead of REVIT_MCP_HOST=local. The Claude Desktop bundle page explains its settings form.

3. Ask a first question. Restart the client, keep a model open in Revit and ask: "Call revit_ping, then tell me which model is open." success: true means both parts are connected. From a clone, uv run --directory server revit-model-mcp runs the same server without installing the package.

For updates, the release add-in checks GitHub daily and notifies by default; the PyPI server checks PyPI, or install the newer MSI (updates). Report bugs in Issues, ask questions in Discussions, and report vulnerabilities through SECURITY.md.

Why Model MCP

  • Model edit controls. 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.
  • Installs like normal software. MSI installers, with deployment guides for SCCM, Intune and Group Policy.
  • Works from a Mac. MCP stdio runs through SSH to the Windows workstation, so no port opens.

Features in 2.0

  • Model MCP ribbon tab. The product menu contains About, Check for updates, and Settings. The panel provides Connect AI app, Activity, My tools, Read-only, Help, Report issue, and Support developer. After a channel permission refusal, Activity explains the problem. Model MCP > Repair channel permissions offers a confirmed repair of the reviewed folder permissions. See channel permissions. Update checks depend on the release channel. Buttons have contextual help and themed tooltips. See the ribbon guide.
  • Workstation read-only lock. The ribbon and revit_set_read_only control one lock across running Revit versions for the Windows user. Chat unlock requires explicit confirmation. Machine policy remains enforced.
  • Model audits. revit_model_audit checks one model against YAML, JSON, inline rules, or a builtin pack. Saved results support history comparisons. revit_audit_report produces XLSX and HTML reports. See model audit.
  • Sheet inspection. revit_list_sheets reads sheets, title blocks, revisions, placed views, and unplaced views.
  • Revit API lookup. revit_api_lookup reads public types and members from the running Revit API before C# execution.
  • Progress notifications. Clients that supply a progress token receive queue state, Revit API availability, and batch step counters during long requests. See progress notifications.
  • Document tab highlight. A border marks the document handling MCP work and clears after completion. The ribbon guide covers timing and settings.
  • Grouped C# authoring. revit_execute_code and revit_run_tool accept transaction="group" for procedures that need their own transactions or edit scopes. The runner keeps the group within one Undo entry and rolls it back for dry runs or failures.
  • Reusable skills. Coordinator, daily QA, sheet set, and ISO 19650 issue register workflows ship in the repository. See prompts and skills.

Upgrading from 1.x

REVIT_MCP_READ_ONLY is no longer used. Remove it from client configuration and set the workstation lock with the Revit ribbon or revit_set_read_only. The lock applies across clients and running Revit versions for the Windows user. Chat unlock requires explicit confirmation, and administrator policy remains enforced. See read-only mode and the 2.0.0 changelog.

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)

What it can do

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

Coordinate links and datums

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 calls use a client token handshake. 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 window lists approved revisions and supports Show code and confirmed deletion. MCP clients run saved tools through the same execution, read-only lock, and Undo pipeline as revit_execute_code. 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 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. 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.
  • 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.
  • 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.
  • 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. Direct requests require the bearer token except for /health. Reads and authenticated set-read-only remain available while locked. Ordinary actions are refused by either the user lock or enforced policy.

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:

json
{  "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; HTTP requires a bearer token except for /health and 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.

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.

[Contributors]

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.

来源:README.md,提交 9e8f729

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:服务器未能启动。

版本历史

8
  1. v2.0.0最新Nov 3, 2026
  2. v1.0.0Oct 17, 2026
  3. v0.10.0Oct 13, 2026
  4. v0.9.1Oct 6, 2026
  5. v0.9.0Oct 5, 2026
  6. v0.7.0Sep 30, 2026
  7. v0.6.0Sep 27, 2026
  8. v0.5.0Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Model 集成