KA

kilkellym/archsmarterrevitmcpserver

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

10 stars 4 forks 품질 59 트렌드 12

A Model Context Protocol (MCP) server that connects Autodesk Revit 2025+ to AI assistants like Claude.

개요

A Model Context Protocol (MCP) server that connects Autodesk Revit 2025+ to AI assistants like Claude. Query elements, create views, manage sheets, and modify parameters — all through natural language. The system has two halves that communicate over a named pipe: is a standalone console app that speaks MCP over stdio. Claude Desktop launches it automatically. loads inside Revit, runs a named-pipe listener on a background thread, and marshals all Revit API calls to the main thread via ExternalEvent. contains the shared contracts, command names, and handler implementations used by both sides. - (or newer) - — download here - or another MCP-compatible client The add-in's post-build step automatically copies the DLL and .addin manifest to Revit's add-in folder. Build the RevitMcp.Addin project with a Revit 2025 configuration (Debug R25 or Release R25). The post-build event copies the output to:

README

원문 README의 일부입니다. 원문 보기.

Revit MCP Server

A Model Context Protocol (MCP) server that connects Autodesk Revit 2025+ to AI assistants like Claude. Query elements, create views, manage sheets, and modify parameters — all through natural language.

How It Works

The system has two halves that communicate over a named pipe:

Claude Desktop / VS Code
        │
        │ stdio (JSON-RPC)
        ▼
┌─────────────────┐          Named Pipe           ┌──────────────────┐
│  RevitMcp.Server │  ◄──── "revit-mcp-bridge" ──► │  RevitMcp.Addin  │
│  (Console App)   │     length-prefixed JSON      │  (Revit Add-in)  │
└─────────────────┘                                └──────────────────┘
                                                           │
                                                    Revit API calls
                                                    (main thread only)

RevitMcp.Server is a standalone console app that speaks MCP over stdio. Claude Desktop launches it automatically.

RevitMcp.Addin loads inside Revit, runs a named-pipe listener on a background thread, and marshals all Revit API calls to the main thread via ExternalEvent.

RevitMcp.Core contains the shared contracts, command names, and handler implementations used by both sides.

Available Tools

Elements

Tool Description
get_elements Retrieve elements, optionally filtered by category (default limit: 100)
get_element_by_id Get detailed info for a single element including bounding box and location
get_element_parameters List all parameters and values for an element
get_selected_elements Get currently selected elements in the active view
set_parameter Set a parameter value on an element
delete_elements Delete elements with preview mode (set confirm=true to execute)

Views

Tool Description
open_view Open a view by ID or name
create_plan_view Create a floor plan or ceiling plan for a level
create_elevation_view Create an elevation at a location and direction
create_section_view Create a section defined by origin, direction, and dimensions
create_schedule_view Create a schedule for a category with optional field selection

Sheets

Tool Description
create_sheet Create a new sheet with a title block
add_view_to_sheet Place a view on a sheet as a viewport

Model & Project

Tool Description
get_project_info Get project metadata (name, number, client, address, etc.)
analyze_model_statistics Get element counts by category, family, type, and level
get_current_view_info Get active view details (type, scale, detail level, etc.)
export_room_data Extract rooms with area, volume, perimeter, and department data

Prerequisites

  • Autodesk Revit 2025 (or newer)
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "revit-mcp": { "command": "dotnet", "args": ["run", "--project", "C:\\path\\to\\src\\RevitMcp.Server\\RevitMcp.Server.csproj"] } } }