revit mcp
Enables seamless communication between Claude AI and Autodesk Revit, allowing users to access and interact with Revit model information through natural language.
Enables seamless communication between Claude AI and Autodesk Revit, allowing users to access and interact with Revit model information through natural language.
A Model Context Protocol server for Revit integration, enabling seamless communication between Claude AI and Autodesk Revit.
This TypeScript-based MCP server provides a bridge between Claude AI and Revit, allowing direct interaction with Revit models through a WebSocket connection. It implements the Model Context Protocol to enable:
Real-time model state synchronization
?️ Element Management
Batch element operations
? View & Level Control
Install dependencies:
npm install
Build the server:
bash
npm run build
For development with auto-rebuild:
bash
npm run watch
The server can be configured using environment variables:
plaintext
REVIT_HOST=127.0.0.1 # Revit plugin WebSocket host
REVIT_PORT=8080 # Revit plugin WebSocket port
Add the server configuration to Claude Desktop:
Windows:
bash
%APPDATA%/Claude/claude_desktop_config.json
Configuration format:
json
{
"mcpServers": {
"revit-mcp-server": {
"command": "D:/path/to/revit-mcp-server/build/index.js"
}
}
}
For debugging the MCP communication:
Use the built-in MCP Inspector:
bash
npm run inspector
Monitor WebSocket communication with Revit plugin
The server implements robust error handling:
MIT License
Contributions are welcome! Please feel free to submit pull requests.
If you have any questions or suggestions, feel free to reach out: