revit-ai-native
Provides tools for interacting with Autodesk Revit 2024, enabling AI agents to inspect documents and selections, query elements, create and modify walls, doors, windows, rooms, manage views and sheets, and execute parameter changes within transactional plans.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Autodesk Native Agent Runtime for Revit 2024
A production-grade bridge between AI agents (Antigravity, Claude, etc.) and Autodesk Revit 2024, built on the Model Context Protocol (MCP).
Architecture
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
Quick Start
1. Prerequisites
Revit 2024 installed (required for add-in build)
.NET SDK (for building C# projects)
Node.js 18+ (for MCP TypeScript server)
PowerShell (for build/install scripts)
2. Set REVIT_2024_PATH
If Revit is not in the default location (C:\Program Files\Autodesk\Revit 2024), set the environment variable:
$env:REVIT_2024_PATH = "D:\REVIT\2024\Revit 2024"3. Build
.\scripts\build-all.ps14. Install Add-in
.\scripts\install-revit2024.ps15. Open Revit 2024
Open or create a Revit project. The add-in starts the named-pipe server automatically.
6. Start MCP Server
.\scripts\start-mcp.ps17. Configure Antigravity
Add the MCP server to your Antigravity configuration:
{
"mcpServers": {
"revit": {
"command": "node",
"args": ["e:\\revit-A.I Native\\apps\\agent-mcp\\dist\\index.js"]
}
}
}8. Get Status
Call revit_get_status from your agent. You should see:
{
"connected": true,
"activeDocumentTitle": "YourProject.rvt",
"busy": false
}9. Preview a Plan
Send a plan to 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. Approve & Commit
Call revit_commit_plan with the same plan. If confirmation is required, approve in Revit.
11. Inspect Audit Log
Audit logs are at %LOCALAPPDATA%\AutodeskNativeAgent\logs as JSONL files.
Supported Operations
Operation | Status |
| ✅ Supported |
| ✅ Supported |
| ✅ Supported |
| ✅ Supported |
| ✅ Supported |
| ✅ Supported |
| ✅ Supported |
| ✅ Supported |
| ✅ Supported |
| ✅ Supported |
| ✅ Supported |
| ✅ Supported |
| ✅ Supported |
| ✅ Supported |
| ✅ Supported |
| ✅ Supported |
| ✅ Supported |
| ✅ Supported |
MCP Tools
Tool | Description |
| Connection status and document info |
| Protocol version, methods, operations |
| Active document identity |
| Current selection |
| Structured element query |
| Validate without executing |
| Dry-run resolution |
| Execute in a transaction |
| Job status and result |
| Cancel queued/running job |
| Rollback completed job |
| Sanitized audit entries |
Key Design Decisions
No Revit API from background threads — All Revit API calls go through the ExternalEvent dispatcher
Atomic execution — Plans run inside a single TransactionGroup; failures roll back
Structured errors — Every failure carries a stable error code
Unit safety — All lengths carry explicit units; no hardcoded
/ 304.8Type safety — Type/level resolution is deterministic; no random
FirstElement()Path security — Export/SaveAs paths are canonicalized and checked for traversal
Confirmation tokens — Destructive operations require human approval
Documentation
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read and edit the Revit 2024–2027 model on your PC. Needs the free Revit MCP add-in.
AI for Revit: 450+ tools, 1 undo step. Windows, Revit 2024–2027 (2021–2023 included). Free account.
Build and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
Connect any AI agent to 1,000+ apps and 27,000+ actions through one remote MCP server (OAuth).
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.13482MIT
- 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.1559 npm1-
- AlicenseAqualityFmaintenanceEnables AI to interact with Revit via MCP, allowing data retrieval and element creation, modification, and deletion.1359 npmMIT
- AlicenseBqualityCmaintenanceEnables AI agents to connect to Autodesk Revit and run Revit API Python, inspect models, capture screenshots, request user element selections or annotated snips, and manage multi-instance connections through MCP.13MIT