Skip to main content

RhinoClaw Server

Python MCP server that connects AI agents to Rhino 3D via the Model Context Protocol.

Overview

This server bridges AI agents (Claude, Cursor, etc.) to Rhino through:

  • FastMCP: Python MCP implementation
  • TCP Socket: Communication with Rhino plugin on localhost:1999

Installation

# Install uv (if not already installed)
# macOS: brew install uv
# Windows: powershell -c "irm https://astral.sh/uv/install.ps1 | iex"

# Install dependencies
cd rhinoclaw_server
uv pip install -e .

Usage

# Development mode
uv run python -m rhinoclaw

# Or via uvx (installed)
uvx rhinoclaw

Note: Start the Rhino plugin first (mcpstart in Rhino command line).

Project Structure

rhinoclaw_server/
├── src/rhinoclaw/
│   ├── server.py          # Main server, FastMCP setup
│   ├── tools/             # MCP tool implementations
│   │   ├── create_object.py
│   │   ├── modify_object.py
│   │   ├── get_document_info.py
│   │   └── ...
│   ├── utils/             # Helper utilities
│   └── prompts/           # AI prompts
├── dev/                   # Development scripts
│   ├── dev_test.py        # Basic testing
│   └── dev_castle.py      # Example: castle generation
└── pyproject.toml         # Package configuration

Available Tools

For the complete and up-to-date tool list, see USAGE.md.

Categories:

  • System: ping, get_document_info, get_logs, set_debug_mode
  • Object Creation: create_object, create_objects, create_text, create_text_dot
  • Object Manipulation: modify_object, delete_object, select_objects, get_object_properties, set_object_properties
  • Boolean Operations: boolean_operation (union, difference, intersection)
  • Transform: copy_object, mirror_object, array_linear, array_polar
  • Curves: offset_curve, fillet_curves, chamfer_curves
  • Surfaces: loft_curves, extrude_curve, revolve_curve
  • Dimensions: create_linear_dimension, create_angular_dimension, create_radial_dimension
  • Layers & Materials: create_layer, create_material, assign_material_to_layer
  • Scripts: execute_rhinoscript_python_code

Development

# Run tests
uv run python dev/dev_test.py

# Build package
uv build

# Publish to PyPI
uv publish

Documentation

Metadata

Release files for rhinoclaw 0.7.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rhinoclaw 0.7.5
File Size Uploaded Provenance Actions
rhinoclaw-0.7.5.tar.gz 860.0 kB Without provenance Details for rhinoclaw-0.7.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rhinoclaw 0.7.5
File Interpreter ABI Platform Actions
rhinoclaw-0.7.5-py3-none-any.whl Python 3 none any Details for rhinoclaw-0.7.5-py3-none-any.whl

Total release size: 1.7 MB

Release files / rhinoclaw-0.7.5.tar.gz

Download URL rhinoclaw-0.7.5.tar.gz
Size 860.0 kB
Tags Source
SHA-256 checksum
How to use checksums
03304d827a74836298513b602eba4bab327b08093976db37f867b58a9b43fcd0
BLAKE2b-256 checksum
How to use checksums
f34230fd1b551eb7855ade31c1708f24da85c53904872eb055837cfa7172de64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / rhinoclaw-0.7.5-py3-none-any.whl

Download URL rhinoclaw-0.7.5-py3-none-any.whl
Size 803.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
634a505f2849b1167f611a15f71c21ae670fd213f042e40cf7e75431fde9c8b5
BLAKE2b-256 checksum
How to use checksums
d4ea7c5bd3890e5758851a456fd4e05a4babc9fd7c95725434558792f92aca33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for rhinoclaw 0.7.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page