Skip to main content
Glama

Revit MCP Server

🏗️ Revit MCP サーバー

Revit 統合用のモデル コンテキスト プロトコル サーバー。Claude AI と Autodesk Revit 間のシームレスな通信を可能にします。

英語|中国語

🎯 概要

このTypeScriptベースのMCPサーバーは、Claude AIとRevit間のブリッジを提供し、WebSocket接続を介してRevitモデルと直接やり取りすることを可能にします。モデルコンテキストプロトコル(MCP)を実装することで、以下のことが可能になります。

  • ⚡ Revit モデル情報へのリアルタイム アクセス
  • 🔍 要素のクエリとフィルタリング
  • 👀 ビューとレベルの管理
  • 🛡️ フォールバックモックデータによる堅牢なエラー処理

✨ 特徴

🔌 Revit との統合

  • 📡 Revit プラグインとの WebSocket ベースの通信
  • 🔄 リアルタイムモデルデータアクセス
  • 🔁 接続が失敗したときにモックデータに適切にフォールバックする
  • ⚙️ 環境変数による接続設定の構成

🚀 コア機能

  • 📊 モデル情報
    • 基本モデルメタデータ(名前、パス、バージョン)にアクセスする
    • 要素数と最終変更日を取得する
    • リアルタイムモデル状態同期
  • 🏗️ 要素管理
    • 柔軟なフィルタリングを備えたクエリ要素
    • 要素のプロパティとジオメトリにアクセスする
    • バッチ要素操作
  • 🎪 ビューとレベルコントロール
    • 利用可能なすべてのビューを一覧表示する
    • アクセスレベル情報
    • モデル階層を移動する

💻 開発

📋 前提条件

  • Node.js (v14以上)
  • npm
  • Autodesk Revit(2023以降)
  • Revit WebSocket プラグイン(コンパニオン プラグイン)

🔧 インストール

依存関係をインストールします:

npm install

サーバーを構築します。

npm run build

自動リビルドを使用した開発の場合:

npm run watch

⚙️ 構成

サーバーは環境変数を使用して設定できます。

REVIT_HOST=127.0.0.1 # Revit plugin WebSocket host REVIT_PORT=8080 # Revit plugin WebSocket port

🔗 Claude Desktopとの統合

Claude Desktop にサーバー構成を追加します。

ウィンドウズ:

%APPDATA%/Claude/claude_desktop_config.json

設定形式:

{ "mcpServers": { "revit-mcp-server": { "command": "D:/path/to/revit-mcp-server/build/index.js" } } }

🐛 デバッグ

MCP 通信をデバッグするには:

  1. 組み込みの MCP インスペクターを使用します。
npm run inspector
  1. RevitプラグインでWebSocket通信を監視する
  2. 接続と操作ステータスについてはサーバーログを確認してください

⚠️ エラー処理

サーバーは堅牢なエラー処理を実装しています。

  • Revit 接続が失敗した場合にモック データに自動的にフォールバックします
  • 詳細なエラーログ
  • 正常な接続回復

📄 ライセンス

MITライセンス

🤝 貢献する

貢献を歓迎します!プルリクエストをお気軽に送信してください。

📬 お問い合わせ

ご質問やご提案がございましたら、お気軽にお問い合わせください。

  • 📧 メールアドレス: 353554036@qq.com
  • 💬 WeChatアカウント: modian4500
Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

Claude AI と Autodesk Revit 間のシームレスな通信を可能にし、ユーザーが自然言語を通じて Revit モデル情報にアクセスして操作できるようにします。

  1. 🎯 概要
    1. ✨ 特徴
      1. 🔌 Revit との統合
      2. 🚀 コア機能
    2. 💻 開発
      1. 📋 前提条件
      2. 🔧 インストール
      3. ⚙️ 構成
    3. 🔗 Claude Desktopとの統合
      1. 🐛 デバッグ
    4. ⚠️ エラー処理
      1. 📄 ライセンス
        1. 🤝 貢献する
          1. 📬 お問い合わせ

            Related MCP Servers

            • -
              security
              F
              license
              -
              quality
              A server that enables natural language interaction with AutoCAD through large language models like Claude, allowing users to create and modify drawings using conversational commands.
              Last updated -
              19
              Python
              • Apple
            • A
              security
              A
              license
              A
              quality
              Provides an interface between AI assistants and Tripo AI via Model Context Protocol, enabling generation of 3D assets from natural language and importing them to Blender.
              Last updated -
              15
              139
              Python
              MIT License
              • Linux
              • Apple
            • A
              security
              A
              license
              A
              quality
              Allows AI to interact with Autodesk Revit via the MCP protocol, enabling retrieval of project data and automation of tasks like creating, modifying, and deleting elements.
              Last updated -
              11
              109
              TypeScript
              MIT License
            • A
              security
              A
              license
              A
              quality
              A Python package that enables integration with Autodesk Revit through the Model Context Protocol, allowing users to send commands to Revit and automate interactions with building models.
              Last updated -
              26
              10
              Python
              MIT License

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/SamllPigYanDong/revit_mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server