
reer rhino mcp plugin
reer's rhino mcp plugin
Repository Info
About This Server
reer's rhino mcp plugin
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
REER Rhino MCP Plugin
A production-ready Rhino plugin that provides seamless AI-assisted 3D modeling through the Model Context Protocol (MCP). Features automatic startup, persistent sessions, and comprehensive Rhino integration for professional CAD workflows.
Overview
The REER Rhino MCP Plugin is the official implementation of the Rhino MCP project, designed to provide enterprise-grade AI integration for Rhino users. This plugin offers automatic connection management, persistent sessions, and comprehensive MCP tool library for professional 3D modeling workflows.
Key Features
- 🚀 Auto-Start: Plugin loads automatically on Rhino startup and connects to your preferred configuration
- 🔄 Session Persistence: Remote connections maintain context across Rhino restarts
- 🔐 Enterprise Security: License-based authentication with machine fingerprinting and encrypted storage
- ⚡ Smart Session Management: Intelligent session preservation and cleanup options
- 🛠️ Complete MCP Library: Comprehensive set of tools for object creation, manipulation, and scene analysis
- 🌐 Dual Connection Modes: Support for both local (Claude Desktop) and remote (cloud) connections
- 💾 Automatic Configuration: Successful connections automatically saved as defaults
- 🔧 Advanced Commands: Multiple commands for different workflow scenarios
Installation
Via Rhino Package Manager (Recommended)
- In Rhino, go to Tools > Package Manager
- Search for "REER Rhino MCP"
- Click Install
- Restart Rhino when prompted
Manual Installation
- Download the latest release from the Releases page
- In Rhino, go to Tools > Options > Plugins
- Click Install... and select the downloaded .rhp file
- Restart Rhino when prompted
Usage
Quick Start (Auto-Connection)
For most users, no setup is needed after installation:
- Install the plugin (see Installation section above)
- Plugin automatically loads and connects when you start Rhino
- Begin working with AI - the connection is ready!
First-Time Setup
For Remote Connections (Recommended)
- Register your license:
ReerLicense - Start remote connection:
ReerStart→ Select "Remote" - Settings automatically saved - future Rhino sessions will auto-connect
For Local Connections (Claude Desktop)
- Start local server:
ReerStart→ Select "Local" → Configure host/port - Settings automatically saved - server will auto-start on future Rhino sessions
- Configure Claude Desktop to connect to your server (default: localhost:1999)
Daily Workflow
The plugin is designed for "set-and-forget" operation:
- Start Rhino → Plugin auto-loads and connects automatically
- Work normally → AI assistance available immediately
- Restart Rhino → Automatically reconnects to your sessions
Available Commands
ReerStart: Start new connection (auto-saves settings for future use)ReerStop: Stop connection (preserves session for remote connections)ReerRestart: Force fresh session cleanup and restartReerLicense: Manage licenses for remote connectionsReerRhinoMCP: Check status and manual control
Testing
To test the plugin without Claude AI:
- Start the server:
RhinoReer→local_start - Run the test client:
python test_client.py - The test client will connect and send sample commands to verify the server is working
Session Management
The plugin provides intelligent session management for uninterrupted workflows:
For Remote Connections
- Persistent Sessions: Sessions maintain context across Rhino restarts
- File-Linked Security: Sessions are securely linked to your current Rhino file
- Automatic Reconnection: Plugin attempts to resume existing sessions
- Smart Preservation:
ReerStoppreserves sessions,ReerRestartcleans them
For Local Connections
- Stateless Operation: Each session is independent
- Port Management: Server automatically starts/stops as needed
- Claude Desktop Integration: Seamless connection with Claude Desktop
Example Interactions
Once connected, you can ask Claude AI to perform complex CAD operations:
Basic Modeling
- "Create a cube at the origin with side length 10"
- "Make a sphere with radius 5 at point (10, 0, 0)"
- "Draw a line from (0,0,0) to (10,10,5)"
Advanced Operations
- "Create a parametric spiral staircase with 20 steps"
- "Generate a lattice structure for this organic form"
- "Optimize this geometry for 3D printing"
Analysis & Inspection
- "Calculate the total surface area of all objects on layer 'Walls'"
- "Analyze the structural integrity of this beam"
- "Create a section view through the building at Y=50"
Scene Management
- "Organize objects by material type into separate layers"
- "Create a rendered viewport showing the south elevation"
- "Export all curves on the 'Construction' layer to DXF"
Configuration
Advanced users can configure the plugin by editing the config file located at:
- Windows:
%APPDATA%\REER\RhinoMCP\config.json - macOS:
~/Library/Application Support/REER/RhinoMCP/config.json
Development
This plugin is built using RhinoCommon with modern architecture patterns including auto-start, session management, and comprehensive MCP tool library.
Architecture Highlights
- Auto-Start System: Plugin loads automatically using
PlugInLoadTime.AtStartup - Session Persistence: File-linked sessions with integrity validation
- Modular MCP Tools: Attribute-based function discovery with
MCPToolAttribute - Multi-Target Support: .NET Framework 4.8 and .NET 7.0 for Rhino compatibility
- Enterprise Security: License validation with machine fingerprinting
Prerequisites
- Visual Studio 2022 or JetBrains Rider
- .NET Framework 4.8 SDK (for Rhino 7/8 .NET Framework support)
- .NET 7.0 SDK (for Rhino 8 .NET Core support)
- Rhino 7 or 8 installed
Building from Source
# Clone the repository
git clone https://github.com/reer-ide/reer-rhino-mcp-plugin.git
cd reer-rhino-mcp-plugin
# Build for both target frameworks
dotnet build
# Build release version
dotnet build --configuration Release
Output files:
bin/Debug/net48/ReerConnector.rhp(Rhino 7/8 .NET Framework)bin/Debug/net7.0/ReerConnector.rhp(Rhino 8 .NET Core)
Debugging
Visual Studio / Rider
- Open
ReerConnector.csproj - Use configured launch profiles:
Rhino 8 - netcore: Debug with .NET Core runtimeRhino 8 - netfx: Debug with .NET Framework runtime
- Set breakpoints and press F5
VS Code
- Open project in VS Code
- Use
.vscode/launch.jsonconfigurations - Select appropriate debug configuration and start debugging
Troubleshooting
Common Issues
Plugin doesn't auto-connect on startup
- Check that auto-start is enabled (default: enabled)
- Verify settings with
ReerRhinoMCPcommand - Try
ReerRestartto force fresh connection
Claude Desktop can't connect to local server
- Ensure local server is running:
ReerStart→ "Local" - Check firewall settings for port 1999
- Verify Claude Desktop MCP configuration points to
localhost:1999
Remote connection license issues
- Run
ReerLicenseto check license status - Re-register license if machine fingerprint changed
- Contact support if validation fails
Session lost after Rhino restart
- For remote connections, sessions should auto-reconnect
- Ensure the same Rhino file is open (sessions are file-linked)
- Try
ReerRestartif auto-reconnection fails
Getting Help
For detailed troubleshooting and workflow guides, see:
- User Workflows Guide
- Architecture Documentation
- Rhino Integration Guide
Contributing
We welcome contributions to the REER Rhino MCP Plugin! To contribute:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
This project is licensed under a modified BSD 3-Clause License with additional protections for REER branding - see the LICENSE file for details.
Acknowledgments
- This plugin is built upon the Rhino MCP project
- Special thanks to the Rhino development community
- Inspired by Blender MCP
Contact
For questions, feedback, or support, please contact:
- Email: support@reer.co
- Website: https://reer.co
- GitHub Issues: Report a bug
Quick Start
Clone the repository
git clone https://github.com/reer-ide/reer-rhino-mcp-pluginInstall dependencies
cd reer-rhino-mcp-plugin
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.