MS

mcp-servers-for-revit/mcp-servers-for-revit

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

416 stars 165 forks 品質 73 トレンド 24MIT

mcp-servers-for-revit/mcp-servers-for-revit は、[[T0]からインポートされたMCPサーバー候補です。

概要

mcp-servers-for-revit/mcp-servers-for-revit は、[[T0]からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

モデルコンテキストプロトコルを通じてAIアシスタントをAutodesk Revitに接続してください。

mcp-servers-for-Revitは、ClaudeやClineなどのMCP互換ツールなどのAIクライアントがRevitプロジェクトの要素を読み込み、作成、修正、削除できるようにします。このシステムは3つのコンポーネントで構成されています:ツールをAIに公開するTypeScript MCPサーバー、RevitにコマンドをブリッジするC# Revitアドイン、そして実際のRevitのAPI操作を実装するコマンドセットです。

[!注] これは元のrevit-mcpプロジェクトのフォークで、追加のツールや機能改善が加えられています。

建築

MCPサーバー(TypeScript)はAIクライアントからのツール呼び出しをWebSocketメッセージに変換します。Revitプラグイン(C#)はRevit内で動作し、それらのメッセージを受信してコマンドセット(C#)に送信します。このコマンドセットは実際のRevitのAPI操作を実行し、結果を上流に返します。

要件

  • Node.js 18+(MCPサーバー用)
  • Autodesk Revit 2020 - 2026(サポートされているバージョン)

クイックスタート(リリース使用)

  1. リリースページ(例:mcp-servers-for-revit-v1.0.0-Revit2025.zip)からRevit版のZIPファイルをダウンロードします。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

mcp-servers-for-revit

Connect AI assistants to Autodesk Revit via the Model Context Protocol.

mcp-servers-for-revit enables AI clients like Claude, Cline, and other MCP-compatible tools to read, create, modify, and delete elements in Revit projects. It consists of three components: a TypeScript MCP server that exposes tools to AI, a C# Revit add-in that bridges commands into Revit, and a command set that implements the actual Revit API operations.

[!NOTE] This is a fork of the original revit-mcp project with additional tools and functionality improvements.

Architecture

flowchart LR
    Client["MCP Client(Claude, Cline, etc.)"]
    Server["MCP Serverserver/"]
    Plugin["Revit Pluginplugin/"]
    CommandSet["Command Setcommandset/"]
    Revit["Revit API"]

    Client |stdio| Server
    Server |WebSocket| Plugin
    Plugin -->|loads| CommandSet
    CommandSet -->|executes| Revit

The MCP Server (TypeScript) translates tool calls from AI clients into WebSocket messages. The Revit Plugin (C#) runs inside Revit, listens for those messages, and dispatches them to the Command Set (C#), which executes the actual Revit API operations and returns results back up the chain.

Requirements

  • Node.js 18+ (for the MCP server)
  • Autodesk Revit 2020 - 2026 (any supported version)

Quick Start (Using a Release)

  1. Download the ZIP for your Revit version from the Releases page (e.g., mcp-servers-for-revit-v1.0.0-Revit2025.zip)

  2. Extract the ZIP and copy the contents to your Revit addins folder:

    %AppData%\Autodesk\Revit\Addins\\
    

    After copying you should have:

    Addins/2025/
    ├── mcp-servers-for-revit.addin
    └── revit_mcp_plugin/
        ├── RevitMCPPlugin.dll
        ├── ...
        └── Commands/
            └── RevitMCPCommandSet/
                ├── command.json
                └── 2025/
                    ├── RevitMCPCommandSet.dll
                    └── ...
    
  3. Configure the MCP server in your AI client (see MCP Server Setup)

  4. Start Revit — if prompted about an unknown add-in, click Always Load

  5. In Revit, click the Settings button on the mcp-servers-for-revit ribbon tab, enable the commands you want to use, and click Save

MCP Server Setup

The MCP server is published as an npm package and can be run directly with npx.

Claude Code

Run this in a terminal (not inside Claude Code):

claude mcp add mcp-server-for-revit -- cmd /c npx -y mcp-server-for-revit

Claude Desktop

Claude Desktop → Settings → Developer → Edit Config → claude_desktop_config.json:

{
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "mcp-server-for-revit": { "command": "cmd", "args": ["/c", "npx", "-y", "mcp-server-for-revit"] } } }