
oakplank/revitmcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
oakplank/revitmcp は [https://github.com/oakplank/revitmcp.] からインポートされた MCP サーバーの候補です
概要
oakplank/revitmcp は [https://github.com/oakplank/revitmcp.] からインポートされた MCP サーバーの候補です
概要(AI 翻訳)
RevitMCP は pyRevit 拡張と、AI クライアントがライブ Revit セッションに対して動作させる Python サーバーです。
それはそれを使用する2つの方法をサポートしています:
- [
http://127.0.0.1:8000でWeb UI - Claude Desktop、Claude Code、Codexなどのクライアント用のstdio上のローカルMCP
リポジトリレイアウトノート: このリポジトリのルートはpyRevit拡張子のルートです。 手動でソースからインストールする場合、チェックアウトディレクトリ自体は[[RevitMCP.extension]という名前でなければなりません。
ツール
RevitMCP は 46 個のツールを公開します。
| ツール | 概要 |
| お問い合わせ |
| [get_revit_project_info | アクティブなプロジェクトメタデータ、ドキュメントパス、およびRevitバージョンの詳細を取得する |
| [get_active_view_info | 現在のビューの名前、種類、スケール、関連メタデータ |
| [get_active_view_elements | アクティブビューで見える要素の境界スナップショットをキャプチャ |
| [export_active_view_image | アクティブなリビットビューをモデルビジョン検査用ローカルイメージアーティファクトにエクスポート |
| [export_element_snapshot | 3Dビューのエクスポート、エクスポート、およびビューの復元時にセクションボックスを締める、ターゲットビューをアクティブにすることにより、明示的なIDやアクティブな選択から焦点を絞ったスナップショットをエクスポートする |
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
RevitMCP
RevitMCP is a pyRevit extension plus a Python server that lets AI clients work against a live Revit session.
It supports two ways to use it:
- Web UI at
http://127.0.0.1:8000 - Local MCP over stdio for clients such as Claude Desktop, Claude Code, and Codex
Repository layout note: this repository root is the pyRevit extension root. If you install from source manually, the checkout directory itself should be named RevitMCP.extension.
Tools
RevitMCP exposes 46 tools:
| Tool | Description |
|---|---|
get_revit_project_info |
Get active project metadata, document path, and Revit version details |
get_active_view_info |
Read the current view’s name, type, scale, and related metadata |
get_active_view_elements |
Capture a bounded snapshot of elements visible in the active view |
export_active_view_image |
Export the active Revit view to a local image artifact for model vision inspection |
export_element_snapshot |
Export a focused snapshot from explicit IDs or the active selection by activating a target view, temporarily isolating elements, tightening a section box when exporting 3D views, exporting, and restoring the view |
isolate_elements_in_view |
Temporarily isolate explicit elements or the active selection in a view and optionally focus the camera for inspection |
clear_temporary_isolate |
Clear temporary hide/isolate in the active or target view |
activate_view |
Switch the active Revit view by view ID or view name |
duplicate_view |
Duplicate a view, optionally with detailing/as dependent, template assignment, and activation |
get_active_selection |
Read the current Revit selection as a reusable result set |
get_revit_diagnostics |
Return live pyRevit route, document, active view, selection, and write-context diagnostics |
list_family_types |
List loaded family types with category, family, type, and symbol IDs |
get_revit_schema_context |
Load canonical Revit schema context including levels, categories, families, types, and common parameters |
resolve_revit_targets |
Resolve user terms to exact Revit category, level, family, type, and parameter names |
get_revit_memory_context |
Load persistent local user/project notes for recurring Revit conventions and workflow hints |
save_revit_memory_note |
Save a persistent local user/project note for future chats and tool runs |
analyze_model_statistics |
Summarize model composition including category, family/type, view, sheet, level, and room counts |
get_elements_by_category |
Retrieve all elements for a category and store the result for follow-on actions |
select_elements_by_id |
Select elements by explicit IDs or a stored result handle |
select_stored_elements |
Select a previously stored search or filter result inside Revit |
list_stored_elements |
List stored element result sets and their counts currently available on the server |
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"revitmcp": {
"command": "python",
"args": [
"C:\\Users\\YourName\\AppData\\Roaming\\pyRevit\\Extensions\\RevitMCP.extension\\lib\\RevitMCP_ExternalServer\\server.py",
"--surface",
"mcp"
]
}
},
"preferences": {
"chromeExtensionEnabled": true,
"coworkScheduledTasksEnabled": true,
"ccdScheduledTasksEnabled": true,
"sidebarMode": "chat",
"coworkWebSearchEnabled": true
}
}