
reer-ide/rhino_mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
このプロジェクトは、REER, INC. が開発し、コミュニティが利用・テストを行うために公開しました。 RhinoMCP の機能を改善し、拡大するために貢献者を歓迎します.
概要
このプロジェクトは、REER, INC. が開発し、コミュニティが利用・テストを行うために公開しました。 RhinoMCP の機能を改善し、拡大するために貢献者を歓迎します。 RhinoMCP は、モデルコンテキストプロトコル (MCP) を介して Rhino, Grasshopper と Claude AI に接続し、Claude は Rhino と直接やり取りし、制御できるようにします。 この統合により、迅速な3Dモデリング、シーン作成、操作が可能になります。 (ブレンダーでインスパイアされたmcp) プロジェクトは2つのサーバーの実装を提供します。 - Claudeデスクトップの統合のための標準的なStdioプロトコルMCPサーバー-カスタムWebクライアントの統合のためのSSE(サーバーサイドイベント)プロトコルサーバー - : ソケットベースのサーバーを介してClaude AIをRhinoに接続します - : メタデータを含むRhinoで3Dオブジェクトを作成および変更 - : Rhinoレイヤーで表示および相互作用 - : 現在のRhinoシーンに関する詳細な情報を入手(を含む).
概要(AI 翻訳)
このプロジェクトは、REER, INC. が開発し、コミュニティが利用・テストを行うために公開しました。 RhinoMCP の機能を改善し、拡大するために貢献者を歓迎します。 RhinoMCP は、モデルコンテキストプロトコル (MCP) を介して Rhino, Grasshopper と Claude AI に接続し、Claude は Rhino と直接やり取りし、制御できるようにします。 この統合により、迅速な3Dモデリング、シーン作成、操作が可能になります。 (ブレンダーでインスパイアされたmcp)
プロジェクトは2つのサーバーの実装を提供します。
- Claudeデスクトップの統合のための標準的なStdioの議定書MCPサーバー
- カスタムWebクライアントの統合のためのSSE(Server-Side Events)プロトコルサーバー
##特徴
################################################################################################################################################################################################################################################################
- 双方向通信: Claude AIをRhinoにソケットベースのサーバーに接続 -オブジェクト操作と管理: メタデータを含むRhinoで3Dオブジェクトを作成および変更する
- 層管理: Rhinoレイヤーで表示してやり取り -Scene check: 現在のRhinoシーン(スクリーンキャプチャを含む)に関する詳細情報を入手
- コード実行: ClaudeからRhinoで任意のPythonコードを実行 -オブジェクト選択: Rhinoで選択したオブジェクトに関する情報を入手
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
RhinoMCP - Rhino Model Context Protocol Integration
This project is developed by REER, INC. and made public for the community to use and test. We welcome contributors to help improve and expand the functionality of RhinoMCP. RhinoMCP connects Rhino, Grasshopper and more to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Rhino. This integration enables prompt-assisted 3D modeling, scene creation, and manipulation. (inspired by blender_mcp)
The project provides two server implementations:
- Standard Stdio protocol MCP server for Claude Desktop integration
- SSE (Server-Side Events) protocol server for custom web client integration
Features
Rhino
- Two-way communication: Connect Claude AI to Rhino through a socket-based server
- Object manipulation and management: Create and modify 3D objects in Rhino including metadata
- Layer management: View and interact with Rhino layers
- Scene inspection: Get detailed information about the current Rhino scene (incl. screencapture)
- Code execution: Run arbitrary Python code in Rhino from Claude
- Object selection: Get information about the currently selected objects in Rhino
- RhinoScriptSyntax documentation: Look up the documentation for a RhinoScriptSyntax
Grasshopper (Under Development)
Important Note: While Grasshopper integration tools may appear available in Claude, they are still under active development and not fully usable yet. We’re working to implement complete Grasshopper functionality in future releases.
Components
The system consists of two main components:
- Rhino-side Script (
rhino_script.py): A Python script that runs inside Rhino to create a socket server that receives and executes commands - MCP Server (
rhino_mcp/server.py): A Python server that implements the Model Context Protocol and connects to the Rhino script
Installation
Prerequisites
- Rhino 7 or newer
- Python 3.10 or newer
- uv package manager
- Conda (for environment management) or an existing Python installation
Installation Options
Install uv
If you’re on Mac, open terminal and run:
brew install uv
On Windows open Powershell and run
irm https://astral.sh/uv/install.ps1 | iex
and then
set Path=C:\Users\\.local\bin;%Path% # cmd
$env:Path = "C:\Users\\.local\bin;";$env:Path # powershell
Otherwise installation instructions are on their website: Install uv
⚠️ Do not proceed before installing UV
Option 1: Quick Installation with uvx/pip (Recommended)
First, you need to integrate with Claude Desktop:
- Go to Claude Desktop > Settings > Developer > Edit Config
インストール
uvx reer-rhino-mcp設定
{
"mcpServers": {
"rhino": {
"command": "uvx",
"args": ["reer-rhino-mcp"]
}
}
}