Skip to content

Releases

rhino-mcp 0.20.0

Choose a tag to compare

@hov172 hov172 released this 05 Oct 04:01

0.20.0 gives Grasshopper 1 and Grasshopper 2 one argument shape and makes the GH2 write tools report whether the canvas solved. All 358 tools remain available, with matching Python and Rhino plugin versions. The Rhino plugin changed; install it with the server.

  • gh2_connect takes from_guid, from_output, to_guid, to_input, the same four names as gh_connect_params. Calls that still pass from_instance or to_instance fail validation; gh2_connect_many keeps accepting both spellings.
  • gh_add_component accepts type_name as well as component_guid, matching gh2_place_component. gh_connect_params and gh_disconnect_params accept a 0-based port index as well as a nickname, matching GH2; an integer port no longer raises a JSON type error inside the plugin.
  • gh2_apply_graph, gh2_place_component, and gh2_place_slider gain solve (default true) and return solve: {solved, error_count, warning_count, errors, diagnostics}, where each diagnostic is {instance_guid, name, level, message}. ok still reflects placement only. gh2_solve_graph returns the same fields alongside its existing error_count and errors.

Validation: 547 tests plus five subtests, lint, and the skill tool-name check passed. The plugin built with no warnings. The Docker image was rebuilt; inside it the package reports 0.20.0, the compact registry lists 358 tools, and a loopback HTTP server answered /health. No persistent Rhino MCP container is running. The installed Rhino bundle matches the released plugin by content. Name-based GH1 placement, index-based GH1 ports, and the GH2 solve summary compile against RhinoCommon 8 and are covered at the Python contract level but were not exercised in a live Rhino before this release; Grasshopper 2 needs Rhino 9 WIP.

Use the universal signed installer for macOS. Quit Rhino before installing, then restart Rhino and AI clients. On macOS the login LaunchAgent re-installs the plugin from /Users/Shared/rhino_mcp/plugin, so a hand-copied bundle must also be copied there. The plugin ZIP includes the dependencies required for manual installation; the raw .rhp is not a complete standalone bundle.

Read the upgrade guide for the renamed and widened arguments and the new result keys. The third-party archive contains the notices and inventories from the actual installer.

See validation-0.20.0.md and SHA256SUMS-0.20.0 for final package checks.

rhino-mcp 0.19.0 — contract corrections and Agent Skills

Choose a tag to compare

@hov172 hov172 released this 04 Oct 05:12

0.19.0 corrects tool contracts so that what a tool accepts is what it does. All 358 tools remain available, with matching Python and Rhino plugin versions. The Rhino plugin changed; install it with the server.

  • Fix Grasshopper 2: gh2_connect works, gh2_apply_graph honours type_name, inline sliders, and from_key/to_key wires, gh2_describe_component accepts an instance GUID, and placement verifies the object was added. gh_migrate_to_gh2 works as a result.
  • Make gh_add_script_component reshape its ports to the requested input and output names and return the final lists.
  • Implement set_environment_map with RhinoCommon render environments for background, skylighting, and reflections.
  • Derive the studio pipeline's solar layer, climate zone, and FAR from the baked massing and brief instead of hard-coded values. Read viewport captures from the key the backend populates.
  • Apply parameters that have a real API (FBX file type, DWG 2000, PBR opacity IOR, independent ground-plane altitude, V-Ray resolution and quality preset through the V-Ray Python module) and remove every parameter that was accepted but never applied. Tools now report applied and not_applied. Lands Design and VisualARQ placement tools are documented as interactive launchers.
  • Add a skills/ folder of eight Agent Skills for Claude Code, Codex CLI, and ChatGPT Skill Creator, written against the tool source, with a checker for the tool names they reference.
  • Complete truncated Grasshopper docstrings and document health_check.

Validation: 538 tests plus five subtests, lint, and the skill tool-name check passed. The plugin built with no warnings. The Docker image was rebuilt and its loopback HTTP health endpoint and 358-tool registry were verified; no persistent Rhino MCP container was running. The installed Rhino bundle matches the released plugin by content. Environment map assignment, script component port reshaping, and Grasshopper 2 placement compile against RhinoCommon 8 and are covered at the Python contract level but were not exercised in a live Rhino before this release. V-Ray and Enscape macros follow vendor documentation and were not run against installed plugins.

Use the universal signed installer for macOS. Quit Rhino before installing, then restart Rhino and AI clients. On macOS the login LaunchAgent re-installs the plugin from /Users/Shared/rhino_mcp/plugin, so a hand-copied bundle must also be copied there. The plugin ZIP includes the dependencies required for manual installation; the raw .rhp is not a complete standalone bundle.

Read the upgrade guide for the full table of removed parameters and changed result keys. Calls that still pass a removed parameter fail validation. The third-party archive contains the notices and inventories from the actual installer.

See validation-0.19.0.md and SHA256SUMS-0.19.0 for final package checks.

rhino-mcp 0.18.0

Choose a tag to compare

@hov172 hov172 released this 07 Sep 06:27

0.18.0 replaces PyMuPDF with PDFium/pdfplumber and fixes the reviewed PDF processing defects. All 358 tools remain available, with matching Python and Rhino plugin versions.

  • Correct drawing scale at different render DPIs; support cubic curves and rotated/cropped pages.
  • Run PDF parsing in bounded child processes with cancellation, timeouts, memory limits, pagination, and explicit invalid/encrypted-file errors.
  • Install locked, hash-checked dependencies on both macOS architectures; include third-party notices, package inventories, and Intel cryptography build provenance.
  • Add 36 PDF regression tests and a dependency-policy/advisory CI job.

Validation: 512 tests plus five subtests, Python 3.10/3.11/3.12 CI, lint, and locked production dependency audit passed. Both macOS architectures passed packaged and installed PDF checks. Live Rhino plugin 0.18.0 and read-only MCP round trips were verified. The Docker image was rebuilt and tested; no persistent Rhino MCP container was running.

Use the universal signed installer for macOS. Quit Rhino before installing, then restart Rhino and AI clients. The plugin ZIP includes the dependencies required for manual installation; the raw .rhp is not a complete standalone bundle.

Read the upgrade guide for PDF coordinate/scale changes and limits. The third-party archive contains the notices and inventories from the actual installer. Replacing PyMuPDF changes new builds; it does not resolve earlier release obligations.

See validation-0.18.0.md and SHA256SUMS-0.18.0 for final package checks.

rhino-mcp 0.17.1 — macOS plugin registration fix

Choose a tag to compare

@hov172 hov172 released this 07 Sep 04:51

Fixes missing MCPStart on macOS after installation or a Rhino update. The installer now puts the plugin and dependencies in Rhino’s version-specific MacPlugIns bundle, repairs stale cached paths, and backs up conflicting legacy copies. Rerunning configuration also restores missing plugin files.

Python server, C# plugin, Yak package, Docker metadata, and macOS installers are version 0.17.1. The tool count remains 358.

Quit Rhino before installation, then restart Rhino and your AI client. See the updated upgrade guide.

Both universal macOS packages are signed, Apple-notarized, and stapled. Validation includes 476 tests plus five subtests, Python 3.10–3.12 CI, both packaged runtimes, and a packaged-helper installation/migration check.

Installed-system verification on 2026-09-07 confirmed plugin 0.17.1 running in Rhino 8.34.26223.11002. The installed MCP server initialized as 0.17.1 and completed a read-only document query through the plugin. Installed plugin files matched the release by SHA-256, and cached registration pointed to the correct bundle. See the attached validation record for scope and limits. A clean-machine installation test was not performed.

Documentation was updated after release; the v0.17.1 binary tag and seven binary asset checksums remain unchanged.

v0.17.0 — Reliability, security, and universal macOS installer

Choose a tag to compare

@hov172 hov172 released this 07 Sep 04:27

Rhino MCP 0.17.0 improves command reliability, remote transport security, workflow isolation, and macOS packaging. The tool count remains 358.

Upgrade requirements

Remote HTTP and Rhino-plugin connections require TLS. Upgrade both the Python server and Rhino plugin. See the upgrade guide and secure operation guide.

Changes

  • Fix project timestamp generation on Python 3.10.
  • Prevent command replay after dispatch begins; report ambiguous execution outcomes explicitly.
  • Enforce execution gates and HTTP identity/tool/project/instance grants; isolate workflow state and concurrent mutations.
  • Recover supported failed document edits through Rhino undo records.
  • Report missing metrics, partial workflows/migrations, and HTML export fallback accurately.
  • Report application version 0.17.0 in MCP initialization; constrain the dependency to compatible MCP SDK 1.x.
  • Build universal macOS installers in temporary staging with verified runtime paths and plugin dependencies.

Downloads and verification

  • macOS: use rhino-mcp-0.17.0-universal-signed.pkg (Apple Silicon and Intel). The signed uninstaller is also included. Both are notarized, stapled, and Gatekeeper-approved.
  • Manual plugin installation: use the Yak package or plugin ZIP, which includes dependencies.
  • Python: matching wheel and source distribution are attached.
  • Verify downloads against SHA256SUMS-0.17.0.

Validation: 472 tests plus five subtests passed; GitHub CI passed on Python 3.10, 3.11, and 3.12, and lint passed. Both extracted installer runtimes registered all 358 tools, initialized MCP as 0.17.0, and completed a read-only query against live Rhino. Full mutation/Grasshopper integration and clean-machine installer testing remain separate validation steps. These assets are published to GitHub; this does not publish to PyPI, Yak, or a Docker registry.

v0.16.0 — Deep-review fix release

Choose a tag to compare

@hov172 hov172 released this 27 Jul 05:43

Deep-review fix release: five parallel code reviews across the Python server, tool modules, and C# plugin — every confirmed defect fixed. 73 files changed.

Highlights

Reliability

  • Fixed silent duplicate command execution: a socket timeout re-sent the request (up to 6×) — long renders/booleans/scripts ran repeatedly
  • HTTP/Docker transport was entirely broken (500 on every MCP request — mounted app lifespan never started); now verified end-to-end in the container
  • Plugin-side failures were wrapped in status: ok and reported as success; they now surface as ok: false
  • ~15 curve tools returned "Unsupported command type" whenever the plugin was connected; they now fall back to the script path
  • No more NullReferenceException when no Rhino document is open; listener recovers after a failed port bind; UTF-8-safe framing on both sides

Tools

  • Grasshopper plugin suite (Kangaroo, Ladybug/Honeybee, LunchBox, Pufferfish, Weaverbird, Anemone, Elefront/Human — ~35 tools) rewritten against the real plugin protocol (was 100% non-functional); wires can now connect standalone params/sliders/panels
  • Poly Haven downloads fixed for all three asset types; Hunyuan3D job imports fixed
  • Replaced ~10 calls to nonexistent rhinoscript/RhinoCommon APIs and multiple wrong signatures; export tools honor object selections and report unapplied options honestly

Security (behavior change)

  • The plugin now refuses to listen on a non-loopback address unless RHINO_MCP_PLUGIN_SECRET is set (previously warning-only)
  • New RHINO_MCP_AUTH_TOKEN for a stable HTTP bearer token (Docker/Cloud Run); SSRF guard blocks 0.0.0.0/8 and checks all resolved addresses

See CHANGELOG.md for the full list.

Install

  • Yak: rhino-mcp-0.16.0-rh8_17-any.yak (attached) or Rhino Package Manager
  • Plugin only: rhino-mcp.rhp (attached)
  • Docker: docker build -t rhino-mcp . — remember to set RHINO_MCP_AUTH_TOKEN
  • macOS installer: signed + notarized universal .pkg attached below

v0.15.1 — zoom_to_fit fix

Choose a tag to compare

@hov172 hov172 released this 24 May 17:14

Fixed

  • capture_rhino_view with zoom_to_fit=True raised AttributeError in Rhino's IronPython runtime. Fixed by importing rhinoscriptsyntax as rs and calling rs.ZoomExtents() — neither RhinoView.ZoomExtents nor RhinoViewport.ZoomExtents are exposed as callable Python methods in IronPython.

Python MCP server only — no plugin rebuild required.

v0.15.0 — Keep-alive, safety gates, viewport fix

Choose a tag to compare

@hov172 hov172 released this 20 May 05:49

What's new in v0.15.0

Added

  • Keep-alive TCP connection — the Python client reuses a single persistent TCP connection to the Rhino plugin instead of opening a new connection per tool call. Eliminates per-call TCP handshake overhead; transparent reconnect on stale connections (e.g. after Rhino restart). Disable with RHINO_MCP_KEEPALIVE=0 if needed.

  • C# plugin keep-alive — RhinoMcpServer now handles multiple requests on the same connection and accepts new connections concurrently (fire-and-forget per client task), so a long-lived Python connection never blocks new connects.

  • Retry delay reduced from 500 ms to 50 ms — faster recovery from transient connection failures on localhost.

  • Execution safety gates — three env vars let operators disable arbitrary-code execution tools at the server level:

    • RHINO_MCP_ENABLE_RHINOSCRIPT=0 — disables execute_rhino_python and execute_rhinoscript_python_code. Default: 1 (enabled).
    • RHINO_MCP_ENABLE_CSHARP=0 — disables execute_rhino_csharp and execute_rhinocommon_csharp_code. Default: 1 (enabled).
    • RHINO_MCP_ENABLE_RUN_COMMAND=0 — disables run_rhino_command and run_command. Default: 1 (enabled).

    Disabled tools return {"ok": false, "error_code": "TOOL_DISABLED"} rather than raising, so clients receive a clear message instead of a server error.

  • Remote host guard — the MCP server now refuses to connect to a non-loopback Rhino plugin host unless RHINO_MCP_ALLOW_REMOTE=1 is set. Prevents accidental connections to production Rhino instances or LAN hosts. Docker deployments have this set automatically via the Dockerfile.

Fixed

  • Viewport captures fit the Claude Desktop 1 MB limit — captures at 1200×900 Rendered mode produced ~500 KB base64 payloads that exceeded Claude Desktop's tool-result size limit, forcing a sidecar-file workaround. Two changes fix this permanently:
    • Default capture dimensions lowered from 1200×900 to 800×600 across all capture entry points (capture_rhino_view, capture_viewport, render_urban_preview).
    • New shrink_png() safety net: if a returned PNG still exceeds 280 KB (e.g. complex Rendered scene or explicit large-dimension request), it is automatically downscaled using Pillow until it fits. Applies to all Image() return sites; urban_renders.py captures sent to fal.ai are intentionally excluded.

Documentation

  • README deep-dive: removed duplicate TOC entries, replaced hardcoded v0.12.1 download links with /releases/latest, added five missing env vars (RHINO_MCP_KEEPALIVE, RHINO_MCP_ENABLE_*, RHINO_MCP_ALLOW_REMOTE), expanded Remote Host Support section with two-setting table (C# bind host vs Python-side guard), added execution gates table to Scripting section, updated test count to 467.
  • .env.example — added RHMCP_PROFILE, RHMCP_COMPACT, RHINO_MCP_KEEPALIVE.

Upgrading

Plugin — replace rhino-mcp.rhp in your Rhino plug-ins folder with the file attached to this release, or install the .yak via _PackageManager → Install from File. Restart Rhino after installing.

Python server — pull and sync:
```bash
git pull && uv sync
```
No config changes required — all new env vars default to safe values (KEEPALIVE=1, all gates =1, ALLOW_REMOTE=0).

Docker — rebuild the image:
```bash
docker build -t rhino-mcp .
```

Locked-down deployments — to disable arbitrary-code execution, add to your MCP client config env block:
```json
"RHINO_MCP_ENABLE_RHINOSCRIPT": "0",
"RHINO_MCP_ENABLE_CSHARP": "0",
"RHINO_MCP_ENABLE_RUN_COMMAND": "0"
```

v0.14.0 — Compact Mode (Schema-on-Demand)

Choose a tag to compare

@hov172 hov172 released this 20 May 04:53

What's new

Compact mode is now on by default — ~1.5k tokens per request

Every session now starts in compact mode automatically. Instead of sending all 358 tool schemas upfront (~52k tokens), the server registers 3 meta-tools and lets the AI fetch schemas on demand:

Tool Purpose
list_rhino_tools Browse all tools with one-line descriptions (optional category filter)
describe_rhino_tool Fetch the full schema for a specific tool on demand
call_rhino_tool Execute any tool by name with a dict of arguments

No configuration changes needed — existing Claude Desktop configs work as-is. Opt out with --no-compact or RHMCP_COMPACT=0.

Token comparison:

Mode Tools sent upfront ~Tokens/request
Compact (default) 3 meta-tools ~1.5k
Full All 358 tools ~52k
Core profile + compact 3 meta-tools ~1.5k

Keep-alive TCP connection — faster tool calls

The Python client now reuses a single persistent TCP connection to the Rhino plugin instead of opening a new connection per call. Eliminates TCP handshake overhead on every tool invocation. The C# plugin was updated to handle multiple requests on the same connection and accept new connections concurrently.

  • Transparent reconnect if Rhino is restarted mid-session
  • Retry delay reduced from 500ms → 50ms for faster local recovery
  • Opt out: RHINO_MCP_KEEPALIVE=0

Execution safety gates

Three new env vars let operators disable arbitrary-code execution tools at the server level — useful for shared or hosted deployments:

Env var Tools controlled Default
RHINO_MCP_ENABLE_RHINOSCRIPT execute_rhino_python, execute_rhinoscript_python_code 1 (on)
RHINO_MCP_ENABLE_CSHARP execute_rhino_csharp, execute_rhinocommon_csharp_code 1 (on)
RHINO_MCP_ENABLE_RUN_COMMAND run_rhino_command, run_command 1 (on)

Set any to 0 to refuse execution. Disabled tools return a structured error (error_code: TOOL_DISABLED) rather than crashing.


Remote host guard

The server now refuses to connect to a non-loopback Rhino plugin host by default. Prevents accidental connections to remote or production Rhino instances.

  • Loopback (127.0.0.1, localhost, ::1) always allowed
  • Any other host requires RHINO_MCP_ALLOW_REMOTE=1
  • Docker deployments have this set automatically in the Dockerfile (RHINO_MCP_HOST=host.docker.internal needs it)

Upgrading

Claude Desktop / stdio: no config changes needed. Compact mode activates automatically.

Docker: rebuild the image to get keep-alive and the safety gates. The Dockerfile already sets RHINO_MCP_ALLOW_REMOTE=1 for Docker networking.

Locked-down deployments: add to your environment:

RHINO_MCP_ENABLE_RHINOSCRIPT=0
RHINO_MCP_ENABLE_CSHARP=0
RHINO_MCP_ENABLE_RUN_COMMAND=0

Rhino plugin: rebuild and reinstall rhino-mcp.rhp to get the keep-alive server-side changes (multiple requests per connection, concurrent accept loop).

v0.13.0 — Tool Profiles & Token Reduction

Choose a tag to compare

@hov172 hov172 released this 20 May 02:46

What's new

Tool profiles — cut context window usage by up to 55%

A new --profile flag (and RHMCP_PROFILE env var) lets you load only the tool modules you actually need. Previously, all 360 tools loaded unconditionally, consuming ~62k tokens just for tool definitions.

Profile Tools ~Tokens Savings
full (default) 360 ~52k —
core 194 ~28k 55%
grasshopper 277 ~40k 35%
rendering 225 ~35k 43%
urban 226 ~34k 45%
bim 212 ~31k 50%

core covers everything for standard Rhino modeling: geometry creation, layers, transforms, booleans, curves, surfaces, meshes, materials, export, annotations, and document management. Specialty profiles extend core with their respective plugin tools (Grasshopper, V-Ray/Enscape, urban design, VisualARQ/Lands Design).

Usage:

rhino-mcp --profile core
rhino-mcp --profile grasshopper
RHMCP_PROFILE=core rhino-mcp

In Claude Desktop claude_desktop_config.json:

"rhino": {
  "command": "rhino-mcp",
  "args": ["--profile", "core"]
}

Trimmed tool descriptions — 16% reduction even on full

Stripped verbose Parameters/Args/Notes documentation sections from all 360 tool docstrings. These sections duplicated information already present in the JSON schema. The full profile now costs ~52k tokens vs. ~62k before (~9k tokens saved permanently, regardless of profile).

Upgrade

pip install --upgrade rhino-mcp