
quocvibui/rhino3d-mcp
Analytics & monitoringこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Claude を通してプレーン・イングリッシュで Rhino に話したり、Python スクリプトを書いたり、パターンを生成したりします。 100以上のモデリングツール、Rhino 8でテスト済み。 純粋なPython実装.
概要
Rhino 8 でモデルコンテキストプロトコルを通した 3D モデリング コード実行、ジオメトリ作成、表面/カーブ/メッシュ操作、変換、ボリアン、レイヤー/マテリアル/グループ/ブロック管理、ビュー、アノテーション、およびRhino 8.の解析のための135以上のツールを備えたMCPサーバー。 - 135の包括的な3Dモデリングツール - TCPソケット上の安全なJSONプロトコル - 簡単な拡張のためのモジュラーアーキテクチャ - CPython 3互換(Rhino 8) - 直接スクリプトAPI(Claudeなしで動作します) ~/Library/Application Support/Claude/claude desktop config.json の編集: 試してみる: Rhino からシーン情報を取得し、元のボックスを作成します。 現在の Rhino MCP では、コードの実行が可能で、Claude は Rhino で直接コードを実行できます。 最良の結果を得るために。 リソース/ のドキュメントをプロジェクトフォルダにドロップします.
概要(AI 翻訳)
Rhino 8 でモデルコンテキストプロトコルを通した 3D モデリング
概要
コード実行、ジオメトリ作成、表面/カーブ/メッシュ操作、変換、ボリアン、レイヤー/マテリアル/グループ/ブロック管理、ビュー、アノテーション、およびRhino 8.の解析のための135以上のツールを備えたMCPサーバー。
主な特徴:
- 135包括的な3Dモデリングツール
- TCPソケット上の安全なJSONプロトコル
- 容易な拡張のためのモジュラー建築
- CPython 3対応(Rhino 8)
- 直接スクリプトAPI(Claudeなしで動作します)
クイックスタート
##1. 依存関係のインストール
##2. Rhino リスナーを起動する
Rhino 8 で実行します。
参照してください:
##3。 Claudeデスクトップの設定
編集 [~/Library/Application Support/Claude/claude_desktop_config.json]:
##4。 Claudeデスクトップ&テストを再起動する
試してみる: [Get scene info from Rhino and create a box at origin
##5. クラウデプロジェクトをカスタマイズする
現在の Rhino MCP は、コードの実行を可能にしています。つまり、Claude は直接コードを実行できます。
ログイン 最良の結果を得るために。 resources/のドキュメントをプロジェクトフォルダにドロップします。 プロジェクトにこの指示を追加します。
ドキュメント
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Rhino MCP
AI-powered 3D modeling in Rhino 8 through Model Context Protocol.
Overview
MCP server with 135+ tools for code execution, geometry creation, surface/curve/mesh operations, transformations, booleans, layer/material/group/block management, views, annotations, and analysis in Rhino 8.
Key Features:
- 135 comprehensive 3D modeling tools
- Safe JSON protocol over TCP sockets
- Modular architecture for easy expansion
- CPython 3 compatible (Rhino 8)
- Direct scripting API (works without Claude)
Quick Start
1. Install Dependencies
pip install -r requirements.txt
2. Start Rhino Listener
In Rhino 8, run:
_-RunPythonScript "/path/to/rhino-mcp/server.py" _Enter
You should see:
============================================================
RhinoMCP Listener
============================================================
Starting background listener thread...
Listener started successfully
135+ commands ready
============================================================
3. Configure Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"rhino": {
"command": "/usr/local/bin/python3",
"args": ["/path/to/rhino-mcp/main.py"]
}
}
}
4. Restart Claude Desktop & Test
Try: Get scene info from Rhino and create a box at origin
5. Customizing your Claude Project
Our current Rhino MCP allows for code execution, this means Claude can execute code directly
in Rhino. In order to get the best result. Drop the documents in resources/ into your project folder. Add this instruction to the project:
If you have problems with debugging, search up: "https://developer.rhino3d.com/api/RhinoScriptSyntax/" or "RhinoAPI", "RhinoScriptSyntax"
Documentation
- SYSTEM_PROMPT - Recommended system prompt for Claude (modeling workflow, best practices)
- MCP.md - Using with Claude Desktop
- SCRIPT.md - Direct scripting without Claude
- TESTING.md - Testing guide
- IMPLEMENTED.md - Implementation features and status
- STYLE.md - Code style guide
Architecture
┌─────────────────┐
│ Claude Desktop │ (Python 3.10+)
└────────┬────────┘
│ MCP Protocol
▼
┌─────────────────┐
│ main.py │ FastMCP server with 135+ tools
│ tools/ │ Modular tool definitions
└────────┬────────┘
│ JSON over TCP (localhost:54321)
▼
┌─────────────────┐
│ server.py │ Socket server (CPython 3 - Rhino 8)
│ rhino/ │ RhinoScriptSyntax wrappers
└─────────────────┘
│
▼
Rhino 8 API
Three Layers:
- MCP Layer (
main.py,tools/) - Python 3.10+, exposes 135+ tools to Claude - Socket Server (
server.py) - CPython 3, runs inside Rhino 8 - Rhino Modules (
rhino/) - Organized by API category
File Structure
rhino-mcp/
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"rhino": {
"command": "/usr/local/bin/python3",
"args": ["/path/to/rhino-mcp/main.py"]
}
}
}