sketchup-mcp

95

SketchupMCP integrates Sketchup with Claude AI through the Model Context Protocol, enabling AI-driven 3D modeling and scene management. It features two-way communication, component and material manipulation, and direct Ruby code execution within Sketchup.

SketchupMCP - Sketchup Model Context Protocol Integration

SketchupMCP connects Sketchup to Claude AI via MCP, facilitating 3D modeling and scene manipulation within Sketchup through AI assistance.

Features

  • Two-way communication through TCP socket
  • Component manipulation
  • Material control
  • Scene inspection
  • Selection handling
  • Ruby code evaluation

Components

  1. Sketchup Extension: TCP server for command execution
  2. MCP Server: Python server implementing MCP connection

Installation

  • Install uv via Homebrew
  • Install the Sketchup extension via Extension Manager

Usage

  • Start server in Sketchup and ensure MCP server is running
  • Configure Claude for MCP server integration

Troubleshooting

  • Ensure both servers are running
  • Check Sketchup's Ruby Console for errors

Technical Details

  • JSON-based protocol over TCP sockets

Contributing

  • Pull Requests are welcome

License

  • MIT License