RhinoMCP
ライノMCP
RhinoMCP は、モデル コンテキスト プロトコル (MCP) を介して Rhino3D を Claude AI に接続し、Claude が Rhino3D と直接対話して制御し、AI 支援の 3D モデリング、分析、設計ワークフローを実行できるようにします。
プロジェクト概要
この統合は、次の 2 つの主要コンポーネントで構成されます。
Rhino プラグイン: Rhino の Python エディター内で実行されるソケット サーバー。Rhino の機能への通信インターフェイスを提供します。
MCP サーバー: Claude AI を Rhino プラグインに接続し、AI 制御の操作を可能にするモデル コンテキスト プロトコルの実装。
Related MCP server: SketchupMCP
特徴
PythonとRhino間のソケットベースの双方向通信
Claude AI 統合のためのモデル コンテキスト プロトコル サーバー
NURBS 曲線作成のサポート (初期テスト機能)
Rhino のコンテキスト内での Python スクリプトの実行
Claude DesktopとWindsurfの両方のクライアントと互換性があります
インストール
要件
Rhinoceros 3D(バージョン7または8)
Python 3.10以上
Windows 10または11
uv を使用してインストールする(推奨)
# 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 .pipを使ってインストールする
# Create and activate a virtual environment
python -m venv .venv
.venv\Scripts\activate # On Windows
# Install the package
pip install -e .使用法
ステップ1: Rhino Bridge Serverを起動する
オープンライノ
コマンドラインに
EditPythonScriptと入力して、RhinoのPythonエディタを開きます。src/rhino_plugin/rhino_server.pyからRhinoサーバースクリプトを開きます。スクリプトを実行します(F5 または実行ボタンをクリックします)
出力パネルに「Rhino Bridge が起動しました!」と表示されていることを確認します。
ステップ2: MCPサーバーを起動する
# Activate your virtual environment
source .venv/Scripts/activate # On Windows with Git Bash
# Start the MCP server
rhinomcpまたはカスタム設定で実行します:
rhinomcp --host 127.0.0.1 --port 5000 --rhino-host 127.0.0.1 --rhino-port 8888 --debugステップ3: Claude DesktopまたはWindsurfに接続する
次の MCP サーバーに接続するように Claude Desktop または Windsurf を構成します。
ws://127.0.0.1:5000例: NURBS曲線の作成
Claude に接続すると、次のようなプロンプトを使用して Rhino で NURBS 曲線を作成するように要求できます。
Create a NURBS curve in Rhino using points at (0,0,0), (5,10,0), (10,0,0), and (15,10,0).発達
開発環境のセットアップ
# Clone the repository
git clone https://github.com/FernandoMaytorena/RhinoMCP.git
cd RhinoMCP
# Create and activate virtual environment
uv venv .venv
source .venv/Scripts/activate # On Windows with Git Bash
# Install development dependencies
uv pip install -e ".[dev]"テストを実行する
pytestコードスタイル
このプロジェクトでは、リンティングとフォーマットに Ruff を使用します。
ruff check .
ruff format .プロジェクト構造
RhinoMCP/
├── src/
│ ├── rhino_plugin/ # Code that runs inside Rhino
│ │ └── rhino_server.py
│ └── rhino_mcp/ # MCP server implementation
│ ├── rhino_client.py
│ └── mcp_server.py
├── tests/ # Test modules
├── docs/ # Documentation
├── config/ # Configuration files
├── ai/ # AI documentation and prompts
├── setup.py # Package installation
├── requirements.txt # Package dependencies
└── README.md # Project documentationライセンス
貢献
貢献を歓迎します!お気軽にプルリクエストを送信してください。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
CAD in ChatGPT and Claude: editable parts, STEP/STL/drawings, in-chat 3D, automatic checks.
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Related MCP Servers
- AlicenseBqualityBmaintenanceConnects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender for AI-assisted 3D modeling, scene manipulation, and rendering.2136,015MIT
- AlicenseBqualityDmaintenanceConnects Sketchup to Claude AI through the Model Context Protocol, allowing Claude to directly interact with and control Sketchup for prompt-assisted 3D modeling and scene manipulation.10568MIT
- AlicenseAqualityBmaintenanceConnects SketchUp to Claude AI through the Model Context Protocol, enabling prompt-assisted 3D modeling, scene manipulation, and woodworking joinery operations.204,459 PyPI75MIT
- AlicenseNot gradedqualityDmaintenanceConnects Claude AI to Houdini via the Model Context Protocol, enabling prompt-assisted 3D modeling, scene manipulation, and rendering within Houdini.11GPL 3.0