rhino 3d.com
rhino 3d.com logo

Rhino 3D

Integrates with Rhino 3D's Python scripting environment to enable generation and manipulation of 3D models through geome...

Created byApr 22, 2025

Rhino MCP Server

** UNDER CONSTRUCTION **This project is currently under active development and is not yet in working order. The Rhino plugin is experiencing issues with creating objects. We are actively seeking support from the community to help resolve these issues. If you have experience with Rhino API development, C# plugins, or MCP integration, please consider contributing. Contact us by opening an issue on GitHub.
A Model Context Protocol (MCP) server implementation for Rhino 3D, allowing Claude to create and manipulate 3D objects.

Overview

This project implements an MCP server for Rhino 3D that enables AI assistants like Claude to interact with Rhino through the Model Context Protocol. The server allows for the creation and manipulation of 3D objects directly from the AI interface.

System Architecture

The system consists of Python components that implement the MCP server and C# components that integrate with Rhino. Here's an overview of how the system components interact:
For more detailed information about the system architecture, including component descriptions and data flow, see code_architecture.md.

Components

There are several implementations available:
  1. Combined MCP Server (Recommended):
  1. Socket-based Servers:
  1. Standalone Server:

Setup Instructions

1. Set up Claude Desktop

  1. Install Claude Desktop if you haven't already
  1. Configure the MCP server connection in Claude Desktop settings

2. Run the Server

We now have a unified server launcher that allows you to run any of the server implementations:
Available modes:
  • combined (default) - Run the combined MCP server
  • standalone - Run the standalone MCP server
  • daemon - Run the daemon MCP server
  • socket-proxy - Run the socket proxy
  • direct - Run both daemon and socket proxy
  • logs - View recent logs
  • monitor - Monitor logs in real-time
  • errors - View recent errors
  • help - Show help message
Examples:

Available Tools

The server provides several tools for 3D modeling:
  1. geometry_tools.create_sphere - Create a sphere with specified center and radius
  1. geometry_tools.create_box - Create a box with specified dimensions
  1. geometry_tools.create_cylinder - Create a cylinder with specified parameters
  1. scene_tools.get_scene_info - Get information about the current scene
  1. scene_tools.clear_scene - Clear objects from the scene
  1. scene_tools.create_layer - Create a new layer in the document

Troubleshooting

If you encounter connection issues:
  1. Make sure no old servers are running:
  1. Check the log files:
  1. Restart Claude Desktop completely

License

This project is released under the MIT License. See the LICENSE file for details.

Improved Logging System

The system features a unified logging framework that centralizes logs from all components:
  • Server logs
  • Plugin logs
  • Claude AI logs
  • Diagnostic logs
All logs follow a consistent format and are stored in the logs/ directory with separate subdirectories for each component.

Log Management

A log management tool is provided that offers powerful capabilities for viewing, monitoring, and analyzing logs:
For detailed information on using the logging system, see LOGGING.md.

Development

Project Structure

  • combined_mcp_server.py: Main MCP server implementation
  • diagnose_rhino_connection.py: Diagnostic tool for testing Rhino connection
  • log_manager.py: Tool for managing and analyzing logs
  • server_launcher.sh: Unified script to start any server implementation
  • logs/: Directory containing all logs

Adding New Features

  1. Add new tools as methods in the combined_mcp_server.py file
  1. Use the existing logging framework for consistent error handling
  1. Update diagnostic tools if needed

Rhino MCP Server

** UNDER CONSTRUCTION **This project is currently under active development and is not yet in working order. The Rhino plugin is experiencing issues with creating objects. We are actively seeking support from the community to help resolve these issues. If you have experience with Rhino API development, C# plugins, or MCP integration, please consider contributing. Contact us by opening an issue on GitHub.
A Model Context Protocol (MCP) server implementation for Rhino 3D, allowing Claude to create and manipulate 3D objects.

Overview

This project implements an MCP server for Rhino 3D that enables AI assistants like Claude to interact with Rhino through the Model Context Protocol. The server allows for the creation and manipulation of 3D objects directly from the AI interface.

System Architecture

The system consists of Python components that implement the MCP server and C# components that integrate with Rhino. Here's an overview of how the system components interact:
For more detailed information about the system architecture, including component descriptions and data flow, see code_architecture.md.

Components

There are several implementations available:
  1. Combined MCP Server (Recommended):
  1. Socket-based Servers:
  1. Standalone Server:

Setup Instructions

1. Set up Claude Desktop

  1. Install Claude Desktop if you haven't already
  1. Configure the MCP server connection in Claude Desktop settings

2. Run the Server

We now have a unified server launcher that allows you to run any of the server implementations:
Available modes:
  • combined (default) - Run the combined MCP server
  • standalone - Run the standalone MCP server
  • daemon - Run the daemon MCP server
  • socket-proxy - Run the socket proxy
  • direct - Run both daemon and socket proxy
  • logs - View recent logs
  • monitor - Monitor logs in real-time
  • errors - View recent errors
  • help - Show help message
Examples:

Available Tools

The server provides several tools for 3D modeling:
  1. geometry_tools.create_sphere - Create a sphere with specified center and radius
  1. geometry_tools.create_box - Create a box with specified dimensions
  1. geometry_tools.create_cylinder - Create a cylinder with specified parameters
  1. scene_tools.get_scene_info - Get information about the current scene
  1. scene_tools.clear_scene - Clear objects from the scene
  1. scene_tools.create_layer - Create a new layer in the document

Troubleshooting

If you encounter connection issues:
  1. Make sure no old servers are running:
  1. Check the log files:
  1. Restart Claude Desktop completely

License

This project is released under the MIT License. See the LICENSE file for details.

Improved Logging System

The system features a unified logging framework that centralizes logs from all components:
  • Server logs
  • Plugin logs
  • Claude AI logs
  • Diagnostic logs
All logs follow a consistent format and are stored in the logs/ directory with separate subdirectories for each component.

Log Management

A log management tool is provided that offers powerful capabilities for viewing, monitoring, and analyzing logs:
For detailed information on using the logging system, see LOGGING.md.

Development

Project Structure

  • combined_mcp_server.py: Main MCP server implementation
  • diagnose_rhino_connection.py: Diagnostic tool for testing Rhino connection
  • log_manager.py: Tool for managing and analyzing logs
  • server_launcher.sh: Unified script to start any server implementation
  • logs/: Directory containing all logs

Adding New Features

  1. Add new tools as methods in the combined_mcp_server.py file
  1. Use the existing logging framework for consistent error handling
  1. Update diagnostic tools if needed