DR

demolinator/revit-mcp-server

Developer tools

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

43 stars 19 forks 품질 76 트렌드 15MIT

PyRevit를 통해 Autodesk Revit 2024/2025/2026/2027을위한 MCP 서버 - 건축 설계, 편집, 분석, 충돌 감지, MEP, 인터팝, 문서 및 모델 지속을위한 48 도구

개요

PyRevit를 통해 Autodesk Revit 2024/2025/2026/2027을위한 MCP 서버 - 건축 설계, 편집, 분석, 충돌 감지, MEP, 인터팝, 문서 및 모델 지속을위한 48 도구. 모든 MCP 클라이언트와 함께 작동 : Claude Desktop, Claude Code, Cursor, Windsurf, Copilot 또는 다른 MCP 호환 응용 프로그램. MCP 서버는 기계에 실행하고 pyRevit의 루트 API를 통해 Revit와 통신합니다. MCP 호환 AI 클라이언트는 그것에 연결할 수 있습니다. pyRevit는 스크립트가 Revit 내부에서 실행되도록 무료 애드 인입니다. 이 MCP 서버는 Revit와 통신해야 합니다. 1. https://github.com/pyrevitlabs/pyRevit/releases로 이동 2. 최신 다운로드 (예: pyRevit CLI x.x.x.x.x admin signed.exe) 3. 설치 프로그램을 실행 - 모든 기본을 허용, 각 화면을 클릭 4. (또는 재시작) Revit - 상단 5에서 리본 탭을 볼 수 있어야합니다. pyRevit 탭에서, 클릭 (gear icon) 6. 설정 창에서 왼쪽 7의 섹션으로 이동합니다. 박스를 8로 확인.

개요(AI 번역)

PyRevit를 통해 Autodesk Revit 2024/2025/2026/2027을위한 MCP 서버 - 건축 설계, 편집, 분석, 충돌 감지, MEP, 인터팝, 문서 및 모델 지속을위한 48 도구.

모든 MCP 클라이언트와 함께 작동 : Claude Desktop, Claude Code, Cursor, Windsurf, Copilot 또는 다른 MCP 호환 응용 프로그램.

그것이 작동하는 방법

MCP 서버는 기계에 실행하고 pyRevit의 루트 API를 통해 Revit와 통신합니다. MCP 호환 AI 클라이언트는 그것에 연결할 수 있습니다.

필수품

문의 상세
Windows 10/11 Revit는 윈도우 전용
인포메이션 인포메이션 인포메이션 인포메이션 인포메이션
pyRevit Revit에 설치 및로드
uv Python 패키지 관리자(설치)
Revit에 오픈한 프로젝트 도구는 적극적인 문서가 필요합니다

설치 pyRevit ( 이미 설치되지 않은 경우)

pyRevit는 스크립트가 Revit 내부에서 실행되도록 무료 애드 인입니다. 이 MCP 서버는 Revit와 통신해야 합니다.

  1. https://github.com/pyrevitlabs/pyRevit/releases로 이동
  2. 최신 다운로드 .exe 설치 프로그램 (예: pyRevit_CLI_x.x.x.x_admin_signed.exe)
  3. 설치 프로그램을 실행 - 모든 기본을 허용, 클릭 다음 각 화면을 통해
  4. 명세.

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

README

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

Revit MCP Server

MCP server for Autodesk Revit 2024/2025/2026/2027 via pyRevit — 48 tools for building design, editing, analysis, clash detection, MEP, interop, documentation, and model persistence.

Works with any MCP client: Claude Desktop, Claude Code, Cursor, Windsurf, Copilot, or any other MCP-compatible application.

How It Works

AI Client ──stdio/SSE/HTTP──> MCP Server (Python/FastMCP) ──HTTP :48884──> pyRevit Routes ──> Revit API

The MCP server runs on your machine and communicates with Revit through pyRevit’s Routes API. Any MCP-compatible AI client can connect to it.

Prerequisites

Requirement Details
Windows 10/11 Revit is Windows-only
Autodesk Revit 2024, 2025, 2026, or 2027
pyRevit Installed and loaded in Revit
uv Python package manager (install)
A project open in Revit Tools require an active document

Install pyRevit (if not already installed)

pyRevit is a free add-in that lets scripts run inside Revit. This MCP server needs it to communicate with Revit.

  1. Go to https://github.com/pyrevitlabs/pyRevit/releases
  2. Download the latest .exe installer (e.g. pyRevit_CLI_x.x.x.x_admin_signed.exe)
  3. Run the installer — accept all defaults, click Next through each screen
  4. Open (or restart) Revit — you should see a pyRevit tab in the ribbon at the top
  5. In the pyRevit tab, click Settings (gear icon)
  6. In the Settings window, go to the Routes section on the left
  7. Check the box to Enable Routes Server
  8. Click Save Settings and let pyRevit reload

To verify: open a browser and go to http://localhost:48884/ — you should see a response (not a “connection refused” error).

Quick Start

1. Get the code

git clone https://github.com/Demolinator/revit-mcp-server.git
cd revit-mcp-server
uv sync

2. Load the extension into pyRevit

startup.py and revit_mcp/ run inside Revit, so pyRevit has to load this folder as an extension.

Don’t install “MCP Server for Revit Python” from the pyRevit Extensions manager. That entry installs the original upstream project, which lacks most of the 48 routes this server calls.

  1. Pick a folder for your pyRevit extensions, e.g. C:\pyRevitExtensions.
  2. Link this repo into it under a name ending in .extension (a junction keeps it updated whenever you git pull):
    New-Item -ItemType Junction -Path C:\pyRevitExtensions\revit-mcp.extension -Target C:\path\to\revit-mcp-server
    
    (Copying the folder there with that name works too; you’ll just need to copy it again after updates.)
  3. In Revit: pyRevit tab → Settings → Custom Extension Directories → add C:\pyRevitExtensions.
  4. In the same Settings window, under Routes, turn on Routes Server (port 48884).
  5. Save Settings and Reload.

3. Check Revit is answering

GitHub에서 전체 README 보기

설치

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

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

설정

{ "mcpServers": { "revit": { "command": "uv", "args": ["run", "--directory", "C:\path\to\revit-mcp-server", "main.py"] } } }