Skip to main content
Glama
millik66n
by millik66n

Rhino MCP

The low-friction Rhino and Grasshopper bridge for Codex, Claude, and Cursor.

The Windows experience is deliberately short:

  1. Download and run RhinoMCP-Windows-Setup.

  2. Choose Codex, Claude, or Cursor.

  3. Open Rhino, open Grasshopper, and start prompting.

No Rhino Package Manager, repository clone, Python installation, uv, Conda environment, Rhino Python script, Grasshopper file, Python-path change, terminal command, or hand-edited MCP configuration is part of normal setup.

Install

Requires Rhino 8.0 or newer and the AI client you want to use. Rhino 8.1 is supported without updating Rhino. Close Rhino, download the single RhinoMCP-Windows-Setup-*.exe file from the latest release, and double-click it. The installer asks for the AI client and then automatically:

  • installs the Rhino and Grasshopper bridges using Rhino's bundled installer;

  • installs a self-contained MCP server with its complete runtime;

  • writes the Codex, Claude, or Cursor MCP entry safely;

  • selects the safe Grasshopper tool profile;

  • runs the doctor checks; and

  • adds a normal entry to Windows Installed apps for clean removal.

The installer does not need Rhino to be online, does not download dependencies, and Rhino MCP never updates itself. Installing a different version always requires deliberately running another installer.

When Rhino starts, it automatically opens a local connection dashboard in the Windows default browser. It works without internet access and does not require a separate app, service, or browser extension.

Related MCP server: Grasshopper MCP

Architecture regulation checks

Rhino MCP includes a compact, offline search index built from the supplied Google Drive regulation library. The original files are preserved outside this public source repository; the bundled index stores searchable page text, source metadata, and links back to the originals. It is a fixed snapshot and never syncs or updates itself. The snapshot contains 289 source files, with 272 searchable documents and 7,896 indexed pages. Azerbaijani, Russian, and English OCR recovered 553 scanned PDF pages and 66 image/TIFF sheets without extraction errors.

For architecture, building, accessibility, fire-safety, structural, sanitary, energy, drainage, shelter, site-planning, or related Grasshopper requests, every MCP client receives an always-on workflow instruction to:

  1. establish the jurisdiction, occupancy/project type, design stage, and constraints;

  2. search the regulatory library before proposing regulated dimensions or editing the model;

  3. cite the exact document title, Drive source ID, and page for each requirement;

  4. separate verified source requirements from recommendations and inference; and

  5. flag missing evidence, conflicts, uncertain applicability, and the need for a licensed local review.

Document text is treated as untrusted reference data, not as executable instructions. The AI must not invent code values or describe its review as a permit, approval, or legal compliance certificate.

The always-available regulation tools are:

  • regulation_library_status

  • search_regulations

  • get_regulation_page

  • architecture_regulation_checklist

The search expands common English architecture terms into Azerbaijani and Russian so the model can find the multilingual source material. Check the installed snapshot or try a search with:

rhino-mcp regulations status
rhino-mcp regulations search "fire evacuation stairs"

The source collection and its effective legal status have not been independently certified. A responsible architect or engineer must confirm jurisdiction, applicability, amendments, conflicts, and current requirements before construction.

For managed or silent deployment, the same download supports:

.\RhinoMCP-Windows-Setup-0.4.2.exe /CLIENT=codex /SILENT

Valid client values are codex, claude, and cursor. Restart the selected AI client after setup. Codex users can run /mcp to confirm that rhino-mcp is enabled.

Connection dashboard

Every time Rhino launches, Rhino MCP opens one dashboard tab in the Windows default browser. It uses whichever browser the user has chosen; Chrome is not required. The page shows the live state of:

  • Rhino Bridge — connected or stopped

  • Codex / Claude / Cursor — connected, waiting, or not configured

  • Grasshopper — connected or not open

  • Regulations — loaded or not installed

The page refreshes its status once per second. If Rhino closes, the existing tab changes to Rhino is offline and keeps trying; when Rhino reopens, it reconnects automatically. The tab can be closed at any time. Run RhinoMCPDashboard in Rhino to open it again.

The default address is http://127.0.0.1:9877/. It is served directly by the Rhino plug-in, binds only to this computer, is read-only, loads no web assets, and sends nothing to the internet. If that port is already occupied, Rhino MCP chooses a private local fallback automatically and opens the correct address.

What appears in Rhino

The Rhino MCP connection strip appears automatically in the top-right of the active modeling viewport every time Rhino launches. It stays visible without taking up side-panel space, follows the active viewport, and appears again on the next Rhino launch even if it was hidden during the previous session.

The headline says CONNECTED — READY, WAITING FOR CODEX/CLAUDE/CURSOR, SETUP NEEDED, or BRIDGE STOPPED. Four live dots show:

  • Bridge — green when Rhino is listening

  • Codex / Claude / Cursor — green when the selected AI client is connected

  • Grasshopper — green when Grasshopper is open and its bridge is available

  • Rules — green when the offline regulatory library is loaded

The strip is deliberately not included in viewport images returned to the AI. Run RhinoMCP to hide or show it. For troubleshooting, Rhino also provides:

  • RhinoMCPDashboard — reopen the browser dashboard

  • RhinoMCPStatus — show the strip and print the full status, ports, and dashboard URL

  • RhinoMCPRestart — restart the local Rhino bridge

  • RhinoMCPTest — create, verify, and automatically remove a test cube

The installer includes both Rhino 8 runtime builds. Rhino automatically uses net7.0 in its normal runtime or net48 if Rhino is configured for the legacy .NET Framework runtime; the user does not need to choose or configure this.

The connection test creates a one-unit cube, verifies it, and removes it. If cleanup is disabled, the test cube is left in the document.

Advanced commands

Source and Python-package installations can use:

rhino-mcp setup [codex|claude|cursor]
rhino-mcp doctor [--json]
rhino-mcp status [--json]
rhino-mcp update
rhino-mcp uninstall [--all]
rhino-mcp config [codex|claude|cursor]
rhino-mcp config --profile basic|grasshopper|developer

doctor reports pass/fail/wait states for the package, settings, every AI client, Rhino, Grasshopper, and the server launcher. Rhino and Grasshopper being closed are shown as WAIT, with the exact next action, rather than as socket traces.

Tool profiles

Basic (default)

The safe everyday set:

  • rhino_status

  • get_scene_summary

  • list_layers

  • list_objects

  • get_scene_changes

  • create_geometry

  • modify_objects

  • delete_objects

  • organize_layers

  • batch_geometry

  • test_connection

  • capture_viewport

Grasshopper

Adds paginated definition context, selected/object inspection, and recompute tools. The bundled .gha starts its bridge automatically when Grasshopper opens; there is no .gh definition or Python component to load.

Developer

Explicitly adds arbitrary Rhino and Grasshopper Python tools. They are absent from the Basic and Grasshopper tool schemas, so an AI client cannot discover or call them accidentally. Safe high-level operations are still preferred.

Safe editing behavior

  • Every modifying request gets a named Rhino undo record.

  • A batch performs all operations in one transaction and redraws once.

  • Geometry and layer tools accept dry_run: true for validation and preview.

  • Deletes require explicit Rhino object IDs.

  • Read results are structured objects, not JSON encoded inside strings.

  • Object and Grasshopper lists are filtered and paginated.

  • get_scene_changes sends only additions, edits, and deletions since a supplied scene version.

Example prompt:

Create a 10 × 8 × 3 box on a layer named Massing. Dry-run it first, then create it
and show me a compressed viewport capture.

Reliability and performance

  • 4-byte length-prefixed messages replace the old giant receive buffer.

  • Requests are read in bounded 64 KiB chunks with a 64 MiB hard limit.

  • Rhino TCP and Grasshopper HTTP connections are kept alive and reused.

  • A failed safe read reconnects once automatically.

  • Mutations are never retried blindly, preventing duplicate geometry.

  • Short-lived scene metadata is cached and invalidated after edits.

  • Scene changes and large documents are paginated instead of repeatedly returned in full.

  • Grasshopper context is simplified by default.

  • View captures default to compressed JPEG with configurable size and quality.

  • Socket work and image encoding run away from Rhino's UI thread; only Rhino API calls are marshalled onto it.

  • Tool descriptions and normal responses are intentionally compact to reduce model token usage.

Change image defaults with:

rhino-mcp config --image-size 1280 --image-quality 82

Developer build

Python package:

python -m venv .venv
.venv/bin/pip install -e ".[dev]"
.venv/bin/pytest -q
python -m build

Rhino 8 plug-in and Package Manager archive:

./scripts/build-yak.sh Release

The script builds RhinoMCP.rhp, RhinoMCP.Grasshopper.gha, and a .yak under dist/.

Complete Windows installer (run in PowerShell on Windows):

python -m pip install -e ".[dev]" "pyinstaller==6.22.2"
choco install innosetup --yes
.\scripts\build-windows-installer.ps1

CI compiles and smoke-tests the bundled Windows executable and the single-file installer. Tagged releases attach the installer, its SHA-256 checksum, and the manual developer artifacts.

Architecture

Codex / Claude / Cursor
        │ MCP stdio
        ▼
bundled rhino-mcp.exe
        ├── offline regulation search index
        │
        │ framed, persistent localhost TCP
        ▼
RhinoMCP.rhp ── Rhino document + visible viewport status strip
        ├── read-only browser dashboard at 127.0.0.1
        │
        └── RhinoMCP.Grasshopper.gha (persistent localhost HTTP)

Both bridges and the dashboard bind only to 127.0.0.1; they are not exposed to the network.

License

MIT. This repository is standalone and has no upstream Git remote.

A
license - permissive license
Not graded
quality - not tested
A
maintenance

Maintenance

Maintainers
Response time
0dRelease cycle
10Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…

  • Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.

  • Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/millik66n/rhino-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server