
goldsmith323/rhino_gh_mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
MCP providing 30+ tools for interacting with Rhino 3D and Grasshopper through LLM
概要
A Model Context Protocol (MCP) server providing 30+ tools for interacting with Rhino 3D and Grasshopper through natural language. Features include parametric geometry generation, cross-file workflows, intelligent geometry transfer, and automated workflow suggestions. Uses an HTTP bridge architecture to handle Python version compatibility between MCP (Python 3.10+) and Rhino's IronPython. - - Comprehensive toolset for Rhino 3D and Grasshopper automation - - Automatically converts and validates geometry between files (Lines, Curves, Surfaces, Meshes, Breps) - - Automated parameter discovery using eml_ prefix for cross-file workflows - - JSON metadata system suggests file sequences and parameter connections - - Auto-launching Grasshopper, batch file operations, file verification - - Toggle verbose output via .
README
以下は原文 README の抜粋です。原文を見る。
Workshop 1: Agentic AI Design Orchestration using MCP
AAG2025: Advances in Architectural Geometry - Massachusetts Institute of Technology | 16—17 November 2025 | Workshop Page
Rhino Grasshopper MCP Server
A Model Context Protocol (MCP) server providing 30+ tools for interacting with Rhino 3D and Grasshopper through natural language. Features include parametric geometry generation, cross-file workflows, intelligent geometry transfer, and automated workflow suggestions. Uses an HTTP bridge architecture to handle Python version compatibility between MCP (Python 3.10+) and Rhino’s IronPython.
Architecture
┌─────────────────┐ ┌──────────────────┐ ┌─────────────┐
│ MCP Client │ ◄─────► │ MCP Server │ ◄─────► │ Rhino │
│ │ MCP │ (Python 3.10+) │ HTTP │ Bridge │
└─────────────────┘ └──────────────────┘ └─────────────┘
▲
│
Rhino API
Grasshopper API
Key Features
- 30+ Tools - Comprehensive toolset for Rhino 3D and Grasshopper automation
- Smart Geometry Transfer - Automatically converts and validates geometry between files (Lines, Curves, Surfaces, Meshes, Breps)
- EML Convention - Automated parameter discovery using
eml_prefix for cross-file workflows - Workflow Suggestions - JSON metadata system suggests file sequences and parameter connections
- File Management - Auto-launching Grasshopper, batch file operations, file verification
- DEBUG_MODE - Toggle verbose output via
.envfile for 60-80% token savings in production - Custom Scripts - Execute Python code in Grasshopper with full access to component data
- Geometry Baking - User-controlled baking to Rhino with layer management and confirmation
- Auto-Discovery - Decorator-based tool registration - no manual configuration needed
Project Structure
MCP/
MCP server and client integration:
main.py- MCP server with auto-discoverybridge_client.py- HTTP client for Rhino communicationconfig/- Configuration templatesrequirements.txt- Python 3.10+ dependencies
Rhino/
HTTP bridge server running inside Rhino:
rhino_bridge_server.py- HTTP server (IronPython 2.7/3.9)start_rhino_bridge.py- Startup script
Tools/
Tool definitions with decorator-based auto-discovery:
rhino_tools.py- Rhino 3D toolsgh_tools.py- Grasshopper toolstool_registry.py- Auto-discovery system
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"rhino_gh": {
"command": "python",
"args": ["C:\\path\\to\\rhino_gh_mcp\\MCP\\main.py"]
}
}
}