RQ

russell-qca/sketchup-mcp

Developer tools

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

32 stars 12 forks 품질 58 트렌드 0

모델 Context Protocol (MCP)을 통해 SketchUp에 Claude를 연결합니다.

개요

모델 Context Protocol (MCP)을 통해 SketchUp에 Claude를 연결합니다. 플러그인은 이제 모듈 구조가 있습니다. 배포 스크립트를 사용: 스크립트는: - SketchUp Plugins 디렉토리를 자동으로 찾으십시오 - 필요한 모든 파일을 복사하십시오 (주요 플러그인 + lib/ 모듈) - 필요한 디렉토리 구조를 만듭니다 - SketchUp이 실행되면 Warn 나머지 스케치업. SketchUp 로드가 되면 서버. SketchUp Ruby 콘솔을 엽니다. 이 시작 메시지를 보아야 합니다: 모델의 세부 정보로 JSON 응답을 볼 수 있습니다. - Python 3.10+ - uv (추천) 또는 pip 서버는 stdio를 통해 시작하고 통신할 것입니다. Ctrl + C를 눌러 중지합니다.

개요(AI 번역)

모델 Context Protocol (MCP)을 통해 SketchUp에 Claude를 연결합니다.

건축


설치

Part 1 — SketchUp Ruby 플러그인 설치

자동 설치 (추천)

플러그인은 이제 모듈 구조가 있습니다. 배포 스크립트를 사용:

스크립트는:

  • SketchUp Plugins 디렉토리를 자동으로 찾습니다.
  • 필요한 모든 파일 복사 (주요 플러그인 + lib/ 모듈)
  • 필수 디렉토리 구조 만들기
  • SketchUp이 실행되면 Warn

수동 설치

당신은 수동 임명을 선호하는 경우에:

**Plugins 폴더 위치: **

OS 경로
인포메이션
윈도우 [T1]

이 파일을 수정:

서버 시작

나머지 스케치업. 서버 ** 포트 8080 ** SketchUp 로드 때 자동 시작.

당신은 또한 사용할 수 있습니다:

  • **Plugins → MCP 서버 → 시작 서버 **
  • **Plugins → MCP 서버 → 스톱 서버 **
  • **Plugins → MCP 서버 → 나머지 서버 **

인증

SketchUp Ruby 콘솔을 엽니다. 이 시작 메시지를 보아야 합니다:

연결 테스트:

모델의 세부 정보로 JSON 응답을 볼 수 있습니다.


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

README

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

SketchUp MCP Server

Connect Claude to SketchUp via the Model Context Protocol (MCP).

Architecture

Claude Desktop (MCP client)
        ↕  stdio (MCP protocol)
sketchup-mcp  (Python MCP server)
        ↕  HTTP REST  localhost:8080
sketchup_mcp_server.rb  (Ruby WEBrick plugin inside SketchUp)
        ↕  SketchUp Ruby API
 SketchUp Model

Installation

Part 1 — Install the SketchUp Ruby Plugin

The plugin now has a modular structure. Use the deployment script:

cd sketchup-mcp/sketchup_plugin
./deploy.sh

The script will:

  • Find your SketchUp Plugins directory automatically
  • Copy all necessary files (main plugin + lib/ modules)
  • Create the required directory structure
  • Warn if SketchUp is running

Manual Installation

If you prefer manual installation:

Plugins folder location:

OS Path
macOS ~/Library/Application Support/SketchUp /SketchUp/Plugins/
Windows %APPDATA%\SketchUp\SketchUp \SketchUp\Plugins\

Copy these files:

PLUGINS="~/Library/Application Support/SketchUp 2024/SketchUp/Plugins"

cp sketchup_plugin/sketchup_mcp_server.rb "$PLUGINS/"
mkdir -p "$PLUGINS/lib/construction"
cp sketchup_plugin/lib/construction.rb "$PLUGINS/lib/"
cp sketchup_plugin/lib/construction/roof_truss.rb "$PLUGINS/lib/construction/"

Start the Server

Restart SketchUp. The server auto-starts on port 8080 when SketchUp loads.

You can also use:

  • Plugins → MCP Server → Start Server
  • Plugins → MCP Server → Stop Server
  • Plugins → MCP Server → Restart Server

Verify

Open the SketchUp Ruby Console. You should see these startup messages:

====== LOADING SKETCHUP MCP PLUGIN ======
====== REQUIRES COMPLETE ======
====== CONSTRUCTION MODULES LOADED ======
====== SKETCHUP MCP SERVER STARTED ======

Test the connection:

require 'net/http'
Net::HTTP.get(URI('http://localhost:8080/model/info'))

You should see a JSON response with your model’s details.


Part 2 — Install the Python MCP Server

Prerequisites

  • Python 3.10+
  • uv (recommended) or pip
# Install uv if you don't have it
curl -LsSf https://astral.sh/uv/install.sh | sh

# Clone or navigate to this repository
cd sketchup-mcp

# Install the package and dependencies
uv pip install -e .

# The CLI command 'sketchup-mcp' is now available

Install with pip

cd sketchup-mcp
pip install -e .

Test it standalone

# With SketchUp running and plugin loaded:
sketchup-mcp

The server will start and communicate via stdio. Press Ctrl+C to stop.


Part 3 — Connect to Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "sketchup": {
GitHub에서 전체 README 보기

설치

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

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

설정

{ "mcpServers": { "sketchup": { "command": "sketchup-mcp" } } }