Open-source Revit MCP server: let Claude and other AI assistants read and edit BIM models, with human approval on every change.
Python aecai-agentsautodeskautomationbimclaudeifcmcpmcp-servermodel-context-protocolnavisworksrevitrevit-addinrevit-apirhino
Update architecture.md
A. Sam Mohammadfca39746369a
diff --git a/docs/architecture.md b/docs/architecture.mdindex 2933c7b..27bb683 100644--- a/docs/architecture.md+++ b/docs/architecture.md@@ -6,7 +6,7 @@ MCP Revit Bridge is a two-tier system connecting MCP clients to Autodesk Revit t```┌──────────────────────────────────────────────────────────────────┐-│ MCP Client (Claude Desktop, custom apps, automation scripts) │+│ MCP Client (Claude Desktop, custom apps, automation scripts) │└────────────────────────────┬─────────────────────────────────────┘││ MCP Protocol (stdio)@@ -14,24 +14,24 @@ MCP Revit Bridge is a two-tier system connecting MCP clients to Autodesk Revit t│┌────────────────────────────▼─────────────────────────────────────┐│ MCP Server (Python) │-│ ┌────────────────┐ ┌──────────────┐ ┌────────────────────┐ │-│ │ Schema │ │ Workspace │ │ Audit │ │-│ │ Validation │ │ Sandbox │ │ Recorder │ │-│ │ (Pydantic) │ │ (pathlib) │ │ (JSONL logs) │ │-│ └────────────────┘ └──────────────┘ └────────────────────┘ │+│ ┌────────────────┐ ┌──────────────┐ ┌────────────────────┐ │+│ │ Schema │ │ Workspace │ │ Audit │ │+│ │ Validation │ │ Sandbox │ │ Recorder │ │+│ │ (Pydantic) │ │ (pathlib) │ │ (JSONL logs) │ │+│ └────────────────┘ └──────────────┘ └────────────────────┘ ││ │-│ ┌──────────────────────────────────────────────────────────┐ │-│ │ Tool Handlers (25 tools) │ │-│ │ - revit.health, revit.open_document, revit.export_* │ │-│ └──────────────────────────────────────────────────────────┘ │+│ ┌──────────────────────────────────────────────────────────┐ │+│ │ Tool Handlers (25 tools) │ │+│ │ - revit.health, revit.open_document, revit.export_* │ │+│ └──────────────────────────────────────────────────────────┘ ││ │-│ ┌──────────────────────────────────────────────────────────┐ │-│ │ Bridge Client │ │-│ │ ┌────────────────┐ ┌────────────────────────┐ │ │-│ │ │ Mock Bridge │ OR │ HTTP Client (httpx) │ │ │-│ │ │ (deterministic)│ │ -> localhost:3000 │ │ │-│ │ └────────────────┘ └────────────────────────┘ │ │-│ └──────────────────────────────────────────────────────────┘ │+│ ┌──────────────────────────────────────────────────────────┐ │+│ │ Bridge Client │ │+│ │ ┌────────────────┐ ┌────────────────────────┐ │ │+│ │ │ Mock Bridge │ OR │ HTTP Client (httpx) │ │ │+│ │ │ (deterministic)│ │ -> localhost:3000 │ │ │+│ │ └────────────────┘ └────────────────────────┘ │ │+│ └──────────────────────────────────────────────────────────┘ │└────────────────────────────┬─────────────────────────────────────┘││ HTTP POST (localhost only)@@ -39,21 +39,21 @@ MCP Revit Bridge is a two-tier system connecting MCP clients to Autodesk Revit t│┌────────────────────────────▼─────────────────────────────────────┐│ Revit Bridge Add-in (.NET 4.8) │-│ ┌──────────────────────────────────────────────────────────┐ │-│ │ BridgeServer (HttpListener on 127.0.0.1:3000) │ │-│ └────────────────────────────┬─────────────────────────────┘ │+│ ┌──────────────────────────────────────────────────────────┐ │+│ │ BridgeServer (HttpListener on 127.0.0.1:3000) │ │+│ └────────────────────────────┬─────────────────────────────┘ ││ │ │-│ ┌────────────────────────────▼─────────────────────────────┐ │-│ │ BridgeCommandFactory (tool router) │ │-│ │ - Routes tool requests to handlers │ │-│ │ - Serializes/deserializes JSON │ │-│ └────────────────────────────┬─────────────────────────────┘ │+│ ┌────────────────────────────▼─────────────────────────────┐ │+│ │ BridgeCommandFactory (tool router) │ │+│ │ - Routes tool requests to handlers │ │+│ │ - Serializes/deserializes JSON │ │+│ └────────────────────────────┬─────────────────────────────┘ ││ │ │-│ ┌────────────────────────────▼─────────────────────────────┐ │-│ │ ExternalEventHandler (Revit API queue) │ │-│ │ - Queues operations on UI thread │ │-│ │ - Executes Revit API calls safely │ │-│ └────────────────────────────┬─────────────────────────────┘ │+│ ┌────────────────────────────▼─────────────────────────────┐ │+│ │ ExternalEventHandler (Revit API queue) │ │+│ │ - Queues operations on UI thread │ │+│ │ - Executes Revit API calls safely │ │+│ └────────────────────────────┬─────────────────────────────┘ │└────────────────────────────────┼─────────────────────────────────┘││ Revit API