Rhino3D

by a01110946

6 stars
Not rated
GitHub

About

Connects Rhino3D to Claude through a WebSocket bridge, enabling AI-assisted 3D modeling capabilities for creating and manipulating geometry, running Python scripts, and interacting with the modeling environment.

Details

Author
a01110946
Repository
fernandomaytorena/RhinoMCP
GitHub stars
6
Categories
Productivity, Design, Developer Tools, AI, Infrastructure
Tags
#integration, #web

- Socket-based bidirectional communication between Python and Rhino
- Model Context Protocol server for Claude AI integration
- Support for NURBS curve creation (initial test feature)
- Python script execution within Rhino's context
- Compatible with both Claude Desktop and Windsurf as clients

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Rhino3D
    Command (node, npx, python, etc.) rhinomcp

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository


python -m venv .venv
.venv\Scripts\activate  # On Windows

pip install -e .

```bash

source .venv/Scripts/activate # On Windows with Git Bash

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "rhino3d": {
            "cwd": "",
            "env": {},
            "args": [],
            "shell": false,
            "command": "rhinomcp"
        }
    }
}

Linux

{
    "cwd": "",
    "env": [],
    "args": [],
    "shell": false,
    "command": "rhinomcp"
}

Macos

{
    "cwd": "",
    "env": [],
    "args": [],
    "shell": false,
    "command": "rhinomcp"
}

Windows

{
    "cwd": "",
    "env": [],
    "args": [],
    "shell": false,
    "command": "rhinomcp"
}

RhinoMCP

RhinoMCP connects Rhino3D to Claude AI via the Model Context Protocol (MCP), enabling Claude to directly interact with and control Rhino3D for AI-assisted 3D modeling, analysis, and design workflows.

Project Overview

This integration consists of two main components:

1. Rhino Plugin: A socket server that runs inside Rhino's Python editor, providing a communication interface to Rhino's functionality.
2. MCP Server: An implementation of the Model Context Protocol that connects Claude AI to the Rhino plugin, enabling AI-controlled operations.

Features

- Socket-based bidirectional communication between Python and Rhino
- Model Context Protocol server for Claude AI integration
- Support for NURBS curve creation (initial test feature)
- Python script execution within Rhino's context
- Compatible with both Claude Desktop and Windsurf as clients

Installation

Requirements

- Rhinoceros 3D (Version 7 or 8)
- Python 3.10 or higher
- Windows 10 or 11

Install Using uv (Recommended)

# Create and activate a virtual environment 
mkdir -p .venv
uv venv .venv
source .venv/Scripts/activate  # On Windows with Git Bash

Install the package

uv pip install -e .

Install Using pip

# Create and activate a virtual environment
python -m venv .venv
.venv\Scripts\activate  # On Windows

Install the package

pip install -e .

Usage

Step 1: Start the Rhino Bridge Server

1. Open Rhino
2. Type EditPythonScript in the command line to open Rhino's Python editor
3. Open the Rhino server script from src/rhino_plugin/rhino_server.py
4. Run the script (F5 or click the Run button)
5. Verify you see "Rhino Bridge started!" in the output panel

Step 2: Start the MCP Server

# Activate your virtual environment
source .venv/Scripts/activate  # On Windows with Git Bash

Start the MCP server

rhinomcp

Or run with custom settings:

rhinomcp --host 127.0.0.1 --port 5000 --rhino-host 127.0.0.1 --rhino-port 8888 --debug

Step 3: Connect with Claude Desktop or Windsurf

Configure Claude Desktop or Windsurf to connect to the MCP server at:

```

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.