JUHE API Marketplace
ZedMoster avatar
MCP Server

Revit MCP Server

A Python package that enables integration with Autodesk Revit through the Model Context Protocol, allowing users to send commands to Revit and automate interactions with building models.

26
GitHub Stars
11/17/2025
Last Updated
MCP Server Configuration
1{
2 "name": "RevitMCPServer",
3 "disabled": false,
4 "timeout": 30,
5 "command": "uvx",
6 "args": [
7 "revit-mcp"
8 ],
9 "transportType": "stdio",
10 "autoApprove": [
11 "active_view",
12 "call_func",
13 "create_cable_trays",
14 "create_door_windows",
15 "create_ducts",
16 "create_family_instances",
17 "create_floors",
18 "create_floor_plan_views",
19 "create_grids",
20 "create_levels",
21 "create_pipes",
22 "create_room_separation_lines",
23 "create_room_tags",
24 "create_rooms",
25 "create_sheets",
26 "create_walls",
27 "delete_elements",
28 "execute_commands",
29 "find_elements",
30 "get_commands",
31 "get_locations",
32 "get_selected_elements",
33 "get_view_data",
34 "link_dwg_and_activate_view",
35 "move_elements",
36 "parameter_elements",
37 "show_elements",
38 "update_elements"
39 ]
40}
JSON40 lines
  1. Home
  2. MCP Servers
  3. revit-mcp

README Documentation

xml.Revit.MCP Tools Overview

English | 中文文档

xml.Revit.MCP provides a comprehensive set of tools for integrating with Autodesk Revit through the Model Context Protocol (MCP). This library serves as a bridge between AI assistants and Revit, enabling powerful automation capabilities and programmatic interaction with building models.

xml.Revit.png

Key Features

The tool library includes numerous functions for Revit automation and interaction:

Basic Operations:

  • Get available commands from Revit plugin
  • Execute specified commands in Revit
  • Call specific Revit functions with parameters
  • Retrieve view data and selected elements

Element Management:

  • Find elements by category
  • Get element parameters and locations
  • Update element parameters
  • Delete elements
  • Show/highlight elements in current view
  • Move elements to new positions

Creation Tools:

  • Create levels/floors
  • Create floor plan views
  • Create grid lines
  • Create walls and floors
  • Create rooms and room tags
  • Create doors and windows
  • Create MEP elements (ducts, pipes, cable trays)
  • Create family instances
  • Link DWG files
  • Create sheets

Installation Requirements

  • xml.Revit: Version 1.3.4.3 or newer
  • Python: 3.10 or newer
  • UV Package Manager: Required for installation
  • Revit: Compatible with versions 2019-2024 (with plugin)

Installation Process

  1. First, install the UV package manager:

    pip install uv
    
  2. Install the revit-mcp package:

    pip install revit-mcp
    
  3. Test the installation:

    uvx revit-mcp
    

    You should see: RevitMCPServer - INFO - Successfully connected to Revit on startup

Integration with AI Assistants

Claude for Desktop

Edit claude_desktop_config.json to include:

Cursor

Edit mcp.json to include:

Cline

Edit cline_mcp_setting.json to include:

{
  "mcpServers": {
    "RevitMCPServer": {
      "disabled": false,
      "timeout": 30,
      "command": "uvx",
      "args": ["revit-mcp"],
      "transportType": "stdio",
      "autoApprove": [
        "active_view",
        "call_func",
        "create_cable_trays",
        "create_door_windows",
        "create_ducts",
        "create_family_instances",
        "create_floors",
        "create_floor_plan_views",
        "create_grids",
        "create_levels",
        "create_pipes",
        "create_room_separation_lines",
        "create_room_tags",
        "create_rooms",
        "create_sheets",
        "create_walls",
        "delete_elements",
        "execute_commands",
        "find_elements",
        "get_commands",
        "get_locations",
        "get_selected_elements",
        "get_view_data",
        "link_dwg_and_activate_view",
        "move_elements",
        "parameter_elements",
        "show_elements",
        "update_elements"
      ]
    }
  }
}

Extending Functionality

You can create custom MCP DLL files to implement additional functionality by:

  1. Implementing the xml.Revit.MCP.Public.IMCPMethod interface
  2. Following JSON-RPC 2.0 specification for communication
  3. Compiling to a DLL and placing it in the designated MCP folder

Plugin Configuration

When using the revit-mcp-plugin:

  1. Register the plugin with Revit
  2. Configure commands through: Add-in Modules → Revit MCP Plugin → Settings
  3. Enable the service: Add-in → Revit MCP Plugin → Revit MCP Switch

Once enabled, AI assistants can discover and control your Revit program, executing the various commands provided by the xml.Revit.MCP tools library.

Quick Install

Quick Actions

View on GitHubView All Servers

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source

Boost your projects with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.

Learn More
JUHE API Marketplace

Accelerate development, innovate faster, and transform your business with our comprehensive API ecosystem.

JUHE API VS

  • vs. RapidAPI
  • vs. API Layer
  • API Platforms 2025
  • API Marketplaces 2025
  • Best Alternatives to RapidAPI

For Developers

  • Console
  • Collections
  • Documentation
  • MCP Servers
  • Free APIs
  • Temp Mail Demo

Product

  • Browse APIs
  • Suggest an API
  • Wisdom Gate LLM
  • Global SMS Messaging
  • Temp Mail API

Company

  • What's New
  • Welcome
  • About Us
  • Contact Support
  • Terms of Service
  • Privacy Policy
Featured on Startup FameFeatured on Twelve ToolsFazier badgeJuheAPI Marketplace - Connect smarter, beyond APIs | Product Huntai tools code.marketDang.ai
Copyright © 2025 - All rights reserved