ZR

zedmoster/revit-mcp

Developer tools

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

38 stars 13 forks 품질 70 트렌드 0MIT

zedmoster/revit-mcp는 MCP 서버 후보가 https://github.com/zedmoster/revit-mcp.에서 수입됩니다

개요

zedmoster/revit-mcp는 MCP 서버 후보가 https://github.com/zedmoster/revit-mcp.에서 수입됩니다

개요(AI 번역)

English | 한국어

다운로드 Revit.MCP는 Model Context Protocol (MCP)을 통해 Autodesk Revit를 통합하는 종합 툴을 제공합니다. 이 도서관은 AI 조수와 Revit 사이의 교량 역할을하며 강력한 자동화 기능과 프로그래밍 모델과의 상호 작용을 가능하게합니다.

키 기능

도구 라이브러리에는 Revit 자동화 및 상호 작용에 대한 수많은 기능이 포함되어 있습니다.

기본 운영:

  • Revit 플러그인에서 사용 가능한 명령 받기
  • Revit에서 지정된 명령 실행
  • 매개 변수와 특정 Revit 함수 호출
  • 보기 데이터 및 선택된 요소를 검색

Element 관리:

  • 범주별 요소 찾기
  • 요소 매개 변수 및 위치 얻기
  • 업데이트 요소 매개 변수
  • 요소 삭제
  • 현재 전망에 있는 쇼/highlight 성분
  • 새로운 위치에 요소 이동

** 카탈로그:**

  • 레벨/바닥 만들기
  • 층 플랜 보기
  • 그리드 라인 생성
  • 벽 및 바닥 만들기
  • 객실 및 룸 태그 만들기
  • 문 및 창 만들기
  • MEP 요소 만들기 ( 덕트, 파이프, 케이블 트레이)
  • 가족 인스턴스 만들기
  • 링크 DWG 파일
  • 시트 만들기

설치 요구 사항

  • xml.Revit: 버전 1.3.4.3 이상
  • Python: 3.

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

README

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

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.

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

GitHub에서 전체 README 보기

설치

uvx revit-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "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" ] } } }