revit-ai-native
Autodesk Native Agent Runtime for Revit 2024
AIエージェント(Antigravity、Claude など)と Autodesk Revit 2024 を結ぶ、本番運用に耐えるブリッジです。Model Context Protocol(MCP)上に構築されています。
アーキテクチャ
Antigravity / AI Agent
↓ (MCP over stdio)
MCP Server (TypeScript, Node.js)
↓ (Named Pipe, JSON envelopes)
Revit 2024 Add-in (.NET Framework 4.8)
↓ (ExternalEvent)
Main-thread Dispatcher → PlanExecutor
↓ (TransactionGroup)
Revit API (Document, Wall, FamilyInstance, ...)
↓ (Verification + Assertions)
Structured Result → MCP ResponseRelated MCP server: Revit MCP Server
クイックスタート
1. 前提条件
Revit 2024 がインストールされていること(アドインのビルドに必要)
. NET SDK(C# プロジェクトのビルド用)
Node.js 18+(MCP TypeScript サーバー用)
PowerShell(ビルド/インストールスクリプト用)
2. REVIT_2024_PATH を設定
Revit が既定の場所(C:\Program Files\Autodesk\Revit 2024)にない場合は、環境変数を設定してください:
$env:REVIT_2024_PATH = "D:\REVIT\2024\Revit 2024"3. ビルド
.\scripts\build-all.ps14. アドインのインストール
.\scripts\install-revit2024.ps15. Revit 2024 を開く
Revit プロジェクトを開くか、新規作成します。アドインが名前付きパイプサーバーを自動的に起動します。
6. MCP サーバーを起動
.\scripts\start-mcp.ps17. Antigravity を設定
Antigravity 設定に MCP サーバーを追加します:
{
"mcpServers": {
"revit": {
"command": "node",
"args": ["e:\\revit-A.I Native\\apps\\agent-mcp\\dist\\index.js"]
}
}
}8. ステータスを取得
エージェントから revit_get_status を呼び出します。次のように表示されます:
{
"connected": true,
"activeDocumentTitle": "YourProject.rvt",
"busy": false
}9. プランをプレビュー
revit_preview_plan にプランを送信します:
{
"schemaVersion": "1.0",
"requestId": "test-001",
"description": "Create a 5000mm wall",
"document": { "strategy": "active_document" },
"units": "mm",
"coordinateSystem": "project",
"executionMode": "preview",
"operations": [...],
"safety": { "requireUserConfirmation": true }
}10. 承認とコミット
同じプランで revit_commit_plan を呼び出します。確認が必要な場合は、Revit 内で承認してください。
11. 監査ログを確認
監査ログは %LOCALAPPDATA%\AutodeskNativeAgent\logs に JSONL ファイルとして保存されます。
サポー卜対象の操作
操作 | ステータス |
| ✅ サポー卜 |
| ✅ サポー卜 |
| ✅ サポー卜 |
| ✅ サポー卜 |
| ✅ サポー卜 |
| ✅ サポー卜 |
| ✅ サポー卜 |
| ✅ サポー卜 |
| ✅ サポー卜 |
| ✅ サポー卜 |
| ✅ サポー卜 |
| ✅ サポー卜 |
| ✅ サポー卜 |
| ✅ サポー卜 |
| ✅ サポー卜 |
| ✅ サポー卜 |
| ✅ サポー卜 |
| ✅ サポー卜 |
MCP ツール
ツール | 説明 |
| 接続ステータスとドキュメント情報 |
| プロトコルバージョン、メソッド、操作 |
| アクティブドキュメントの識別情報 |
| 現在の選択項目 |
| 構造化された要素クエリ |
| 実行せずに検証 |
| ドライランでの解決 |
| トランザクション内で実行 |
| ジョブのステータスと結果 |
| キュー済み/実行中のジョブをキャンセル |
| 完了したジョブをロールバック |
| サニタイズされた監査エントリ |
主要な設計判断
バックグラウンドスレッドから Revit API を呼び出さない — すべての Revit API 呼び出しは ExternalEvent ディスパッチャーを経由します
アトミックな実行 — プランは単一の TransactionGroup 内で実行され、失敗時にはロールバックされます
構造化されたエラー — すべての失敗は安定したエラーコーを保持します
単位の安全性 — すべての長さには明示的な単位が付与され、ハードコーされた
/ 304.8は使用しません型の安全性 — タイプ/レベルの解決は決定的であり、ランダムな
FirstElement()は使用しませんパスの安全性 — Export/SaveAs パスは正規化され、パストラバーサルがチェックされます
確認トークン — 破壊的な操作には人間の承認が必要です
ドキュメント
ライセンス
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityFmaintenanceAllows 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.1340452MIT
- AlicenseBqualityNot gradedmaintenanceAllows AI assistants to interact with Autodesk Revit through the MCP protocol, enabling the AI to create, modify, and delete elements in Revit projects.15401
- AlicenseAqualityDmaintenanceEnables AI assistants to interact with Autodesk Revit to query project data, manage elements, and execute generated code via the Model Context Protocol. It provides full compatibility with GitHub Copilot and Claude to automate BIM modeling workflows.1340MIT
- AlicenseNot gradedqualityAmaintenanceMCP server for Autodesk Revit (BIM) with 705+ API endpoints. Enables AI agents to create walls, place doors/windows, generate sheets, manage views, and produce construction documents via the Model Context Protocol. Uses named pipes for zero-crash Revit integration.22MIT
Related MCP Connectors
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/tuanank2112-crypto/revit-ai-native'
If you have feedback or need assistance with the MCP directory API, please join our Discord server