原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Revit MCP

作者:shuotao版本 1.6.0i★ –i在你的电脑上运行
注册名称io.github.shuotao/revit-mcp-server

安装

概览

作者提供的说明(英文原文)

MCP Server for Revit integration - AI-Powered Revit Control

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "revit": {
      "command": "npx",
      "args": [
        "-y",
        "@shuotao/revit-mcp-server"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add revit -- npx -y @shuotao/revit-mcp-server

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "revit": {
      "command": "npx",
      "args": [
        "-y",
        "@shuotao/revit-mcp-server"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "revit": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@shuotao/revit-mcp-server"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 shuotao 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 18496 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 18496 个服务器的 18% 更新
  • 基础检查结果等于或优于此分类中其他 18496 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Revit MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.6.0)于3个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, MIDAS Gen NX / Civil NX

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

作者:formulahendry起步阶段↓ 66/周★ 44014个月前更新

在你的电脑上运行

Remote Desktop Commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

作者:desktop-commander正在增长★ 2113天前更新

在云端运行✓ desktopcommander.app

MIDAS Gen NX / Civil NX

Read and carefully change the model open in MIDAS Gen NX or Civil NX on this PC.

作者:Dennis5882起步阶段↓ 1887/周今天更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Revit MCP - AI-Powered Revit Control

English | 繁體中文

Revit MCP lets AI clients call Autodesk Revit tools through the Model Context Protocol (MCP). The MCP server forwards tool calls to a local Revit add-in, and the add-in executes the corresponding Revit API workflow.

What is this?

Talk to Revit in plain language. Ask your AI client to *"dimension every wall on this view"* or *"check the curtain-wall elevations"*, and Revit does it — through 239 MCP tools backed by 90 professional BIM SOPs (building code, quantity take-off, compliance checks).

Who it's for: BIM engineers and architects who use Revit and want AI-assisted, standards-based workflows. You'll need Revit (2022–2026) on Windows and to be comfortable installing an add-in.

Quickstart (3 steps)

  1. Install the Revit add-in. Build and deploy the C# add-in — see Manual Setup. This is the half that actually talks to Revit.
  2. Point your AI client at the MCP server. No cloning needed — it runs straight from npm:
   { "mcpServers": { "revit-mcp": { "command": "npx", "args": ["-y", "@shuotao/revit-mcp-server"] } } }
  1. Open Revit, enable the MCP service in the ribbon, and start asking. Full setup: AI Client Configuration.

Questions or want to show what you built? → [Discussions](https://github.com/shuotao/REVIT_MCP_study/discussions)

Current Project Counts

ItemCountSource
Runtime MCP tools239registerRevitTools() in MCP-Server/src/tools/index.ts
Domain SOP files94domain/*.md except README.md, plus domain/references/*.md
Claude skills61.claude/skills/*/SKILL.md

When these numbers change, update CLAUDE.md, README.zh-TW.md, this file, docs/DOCUMENT_AUDIENCE_INVENTORY.md, and run:

.\scripts\verify-qaqc.ps1 -SkipBuild -SkipDeploy

New: Interactive Clash Viewer (MCP Apps)

detect_clashes can now render an interactive clash-review UI inline in the conversation, via the MCP Apps extension (io.modelcontextprotocol/ui). This requires an MCP host that supports the extension. It is purely additive:

  • Interactive rendering only happens in GUI hosts that support MCP Apps (Claude Desktop, the claude.ai web app, VS Code GitHub Copilot). A terminal CLI like Claude Code can't render the panel and always shows the text result — this is expected, not a fault.
  • Hosts without MCP Apps support keep getting detect_clashes's normal text result — nothing changes for them.
  • The stdio connection and the existing Revit add-in are unaffected; no reinstall or reconfiguration is needed.

See docs/MIGRATION_GUIDE.md for the full MCP 2026-07-28 upgrade notes.

Architecture

AI Client

Claude Desktop / Claude Code / Gemini CLI / VS Code Copilot / Antigravity | | stdio v MCP Server Node.js / TypeScript MCP-Server/build/index.js | | WebSocket ws://localhost:8964 v Revit Add-in C# / Revit API MCP/Application.cs MCP/Core/SocketService.cs MCP/Core/ExternalEventManager.cs | v Autodesk Revit

External AI clients do not need an API key inside this repository. Their account and authorization are managed by the AI client itself. Only an embedded Revit chat feature that directly calls an AI API would need an API key.

Requirements

ItemRequirement
OSWindows 10 or later
RevitAutodesk Revit 2022, 2023, 2024, 2025, 2026
.NET.NET Framework 4.8 for Revit 2022-2024; .NET 8 for Revit 2025-2026
Node.jsLTS, preferably 20.x or later

One-Click Setup

Recommended for new users:

.\scripts\setup.ps1

For AI agents or non-interactive setup:

powershell -ExecutionPolicy Bypass -File scripts/setup.ps1 -NonInteractive -RevitVersions "2024,2025"

The setup script checks prerequisites, installs dependencies, builds the MCP server, builds and deploys the Revit add-in, and helps configure common AI clients.

Install from MCP Registry

The MCP server is published on the MCP Registry as io.github.shuotao/revit-mcp-server (npm package @shuotao/revit-mcp-server). Run it directly with:

npx -y @shuotao/revit-mcp-server

Note: this npm package is only the Node stdio bridge. The C# Revit add-in (MCP/) must still be installed separately — follow Manual Setup below for your Revit version.

Manual Setup

1. Build the MCP Server
cd MCP-Server

npm install npm run build

AI clients launch:

node MCP-Server/build/index.js
2. Build the Revit Add-in

Choose the configuration that matches your Revit version:

cd MCP

dotnet build -c Release.R22 RevitMCP.csproj # Revit 2022 dotnet build -c Release.R23 RevitMCP.csproj # Revit 2023 dotnet build -c Release.R24 RevitMCP.csproj # Revit 2024 dotnet build -c Release.R25 RevitMCP.csproj # Revit 2025 dotnet build -c Release.R26 RevitMCP.csproj # Revit 2026

Expected output:

MCP/bin/Release.R{YY}/RevitMCP.dll

Example for Revit 2024:

MCP/bin/Release.R24/RevitMCP.dll
3. Deploy the Add-in

Recommended:

# Pick the Revit version explicitly. With several installed and no -Version, the script asks;

in -NonInteractive mode it fails rather than guessing (it never silently picks the highest).

.\scripts\install-addon.ps1 -Version 2024

Deploy to every installed version that has a matching build

.\scripts\install-addon.ps1 -All

The script copies every DLL in the build output (13 for R22-R24, 8 for R25-R26 — both are correct), checks the build generation matches the target Revit before copying, verifies each file by SHA256 afterwards, and rotates old backups.

For manual deployment, place the .addin file and DLL under the matching Revit Addins directory, and keep the relative assembly path in RevitMCP.addin:

<Assembly>RevitMCP\RevitMCP.dll</Assembly>

Do not create version-specific .addin files, and do not hardcode absolute DLL paths.

AI Client Configuration

Project-level .mcp.json:

{

"mcpServers": { "revit-mcp": { "type": "stdio", "command": "node", "args": ["./MCP-Server/build/index.js"], "env": {} } } }

VS Code config in .vscode/mcp.json:

{

"servers": { "revit-mcp": { "type": "stdio", "command": "node", "args": ["${workspaceFolder}/MCP-Server/build/index.js"], "env": {} } } }

Other AI clients use the same concept: launch MCP-Server/build/index.js with node.

Config template per client:

AI ClientConfig locationTemplate
Claude Codeproject root .mcp.jsonbuilt in, works out of the box
Claude Desktop%APPDATA%\Claude\claude_desktop_config.jsonMCP-Server/claude_desktop_config.json
Gemini CLI~/.gemini/settings.jsonMCP-Server/gemini_mcp_config.json
VS Code Copilot.vscode/mcp.jsonbuilt in
AntigravityUI settingsAntigravity_MCP_Complete_Guide.md

Replace in the templates with the actual project path on your machine.

Switching Between AI Clients

The Revit-side WebSocket service holds an exclusive lock: only one AI client can be connected at a time. A second client that tries to connect is cleanly rejected (HTTP 409), not swapped in — the first connection stays stable. Multiple AI clients are therefore used by switching, not concurrently:

Before that lock check even runs, any handshake carrying a browser Origin header is rejected outright with HTTP 403. This closes a separate risk: a malicious page open in your browser could otherwise drive the add-in without your knowledge, since WebSocket handshakes aren't covered by the browser's same-origin policy. It has no settings opt-out and does not affect the MCP bridge, which never sends an Origin header.

  1. In the Revit ribbon, click the "切換/釋放連線" (Switch/Release Connection) button to release the current connection.
  2. Start or reconnect the other AI client; once its MCP server connects to localhost:8964, it takes the lock.
  3. The "MCP 設定" dialog shows which client currently holds the connection (e.g. claude-code, claude-ai).
  4. If the connection misbehaves, use the same ribbon button, or restart the MCP service from the Revit ribbon to reset it.

Startup Flow

  1. Start Revit.
  2. Open or create a Revit project.
  3. Enable the MCP service from the Revit ribbon.
  4. Confirm the Revit add-in is listening on localhost:8964.
  5. Start or restart the AI client so it loads the MCP server.
  6. Call Revit MCP tools from the AI client.

If localhost:8964 is unreachable, Revit may not be running, the MCP service may be off, the port may be occupied, or the AI client and Revit add-in may be using different port settings.

Project Structure

REVIT_MCP/

MCP/ Revit Add-in (C#) Application.cs Revit add-in entry point RevitMCP.csproj Single multi-version project RevitMCP.addin Single add-in manifest Core/ SocketService.cs Revit-side WebSocket server ExternalEventManager.cs UI-thread execution bridge RevitCompatibility.cs Revit 2022-2026 compatibility helpers CommandExecutor.cs Main command dispatcher Commands/*.cs Command modules MCP-Server/ MCP Server (Node.js / TypeScript) src/index.ts stdio MCP server entry src/socket.ts WebSocket client to Revit src/tools/*.ts MCP tool definitions domain/ Shared BIM SOPs; do not convert to English-only .claude/ AI commands and skills docs/ Human-facing docs and public knowledge site scripts/ Setup, deployment, QA/QC scripts log/ Append-only session and commit logs

AI Docs and Human Docs

TypeLocationRule
AI-onlyCLAUDE.md, .claude/commands/, .claude/skills/English-first to avoid mojibake
Human-facingREADME.md, README.zh-TW.md, docs/, scripts/README.mdMatch the reader's language
Shareddomain/*.md, log/README.mdDomain files must remain Chinese-readable and must not become English-only
Historicaldocs/_archive/**, old logsPreserve by default

See docs/DOCUMENT_AUDIENCE_INVENTORY.md.

Domain, Skill, and Tool Responsibilities

  • domain/*.md: BIM SOPs, regulatory logic, and calculation methods. Shared by humans and AI.
  • .claude/skills/*/SKILL.md: AI workflow orchestration.
  • MCP-Server/src/tools/*.ts: MCP tool definitions and input schemas.
  • MCP/Core/Commands/*.cs: Revit API implementation.

If a Domain file and a Skill disagree on method, the Domain file wins.

QA/QC

After documentation, tool, Domain, Skill, build, or deployment changes, run:

.\scripts\verify-qaqc.ps1 -SkipBuild -SkipDeploy

Before deployment, run a full check:

.\scripts\verify-qaqc.ps1 -Version 2024

QA/QC checks:

  • forbidden legacy files and paths
  • required file structure
  • README / CLAUDE / docs count alignment
  • Domain table forward and reverse coverage
  • local Markdown link rot
  • Domain frontmatter
  • document audience classification
  • mojibake risk in canonical docs

Troubleshooting

AI cannot find Revit tools

Check:

  1. `npm run bui

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx