1. Conduid
  2. AI
  3. Rhinomcpserver
MCP server · AI

Rhinomcpserver

RhinoMCP connects Rhino to Claude AI through the Model Context Protocol (MCP), enabling AI-assisted 3D modeling and architectural design.

Unclaimed last commit a year ago ai
46Fair

Scored 3 months ago · breakdown

About Rhinomcpserver

Rhinomcpserver is an MCP server published by always-tinkering in the AI category: rhinoMCP connects Rhino to Claude AI through the Model Context Protocol (MCP), enabling AI-assisted 3D modeling and architectural design. It has been installed 0 times through Conduid.

The repository has 44 stars and 6 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues (0) before depending on it in production.

Install

Install
npx rhinomcpserver

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about Rhinomcpserver

Powered by Claude · Grounded in docs

I know everything about Rhinomcpserver. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

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:

graph TD
    %% Client Applications
    client[Client Applications] --> socketProxy
    
    %% Socket Proxy
    subgraph "Python Socket Proxy"
        socketProxy[socket_proxy.py] --> daemonServer
    end
    
    %% Daemon Server
    subgraph "Python Daemon Server"
        daemonServer[daemon_mcp_server.py] --> combinedServer
    end
    
    %% Combined MCP Server
    subgraph "Python Combined MCP Server"
        combinedServer[combined_mcp_server.py]
        mcp[FastMCP] --> tools
        combinedServer --> mcp
        combinedServer --> rhinoConn
        subgraph "MCP Tools"
            tools[MCP Tool Methods]
        end
        rhinoConn[RhinoConnection]
    end
    
    %% Rhino Plugin Components
    subgraph "C# Rhino Plugin"
        rhinoPlugin[RhinoMcpPlugin.cs]
        socketServer[RhinoSocketServer.cs]
        utilities[RhinoUtilities.cs]
        commands[RhinoMcpCommand.cs]
        
        rhinoPlugin --> socketServer
        rhinoPlugin --> commands
        socketServer --> utilities
    end
    
    %% Connections between components
    rhinoConn <==> socketServer
    
    %% Logger Components
    subgraph "Logging System"
        logManager[log_manager.py]
        nlogConfig[NLog.config]
    end
    
    combinedServer --> logManager
    rhinoPlugin --> nlogConfig
    
    %% Connection to Rhino
    rhino[Rhino 3D Software]
    rhinoPlugin --> rhino
    
    classDef pythonClass fill:#3572A5,color:white;
    classDef csharpClass fill:#178600,color:white;
    classDef rhinoClass fill:#555555,color:white;
    
    class socketProxy,daemonServer,combinedServer,mcp,tools,rhinoConn,logManager pythonClass;
    class rhinoPlugin,socketServer,utilities,commands csharpClass;
    class rhino rhinoClass;

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):

    • combined_mcp_server.py - Direct implementation that uses stdin/stdout for communication
  2. Socket-based Servers:

    • daemon_mcp_server.py - Background server that receives commands via socket connection
    • socket_proxy.py - Proxy that forwards commands from stdin to the daemon server and back
  3. Standalone Server:

    • standalone-mcp-server.py - Original standalone implementation

Setup Instructions

1. Set up Claude Desktop

  1. Install Claude Desktop if you haven't already
  2. 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:

./server_launcher.sh [mode]

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:

# Run the combined server (recommended)
./server_launcher.sh combined

# Or simply
./server_launcher.sh

# Run the socket-based approach (daemon + proxy)
./server_launcher.sh direct

# Monitor logs in real-time
./server_launcher.sh monitor

Available Tools

The server provides several tools for 3D modeling:

  1. geometry_tools.create_sphere - Create a sphere with specified center and radius
  2. geometry_tools.create_box - Create a box with specified dimensions
  3. geometry_tools.create_cylinder - Create a cylinder with specified parameters
  4. scene_tools.get_scene_info - Get information about the current scene
  5. scene_tools.clear_scene - Clear objects from the scene
  6. 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:

    ./server_launcher.sh help  # This will clean up existing processes
    
  2. Check the log files:

    ./server_launcher.sh logs   # View logs
    ./server_launcher.sh errors # View errors
    
  3. 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:

# View logs
./server_launcher.sh logs

# Monitor logs in real-time
./server_launcher.sh monitor

# View errors with context
./server_launcher.sh errors

# Generate error reports (using the log manager directly)
./log_manager.py report

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
  2. Use the existing logging framework for consistent error handling
  3. Update diagnostic tools if needed

README mirrored from the source repository 3 months ago. The original is authoritative.

Questions

About Rhinomcpserver

How do I install Rhinomcpserver?

Run npx rhinomcpserver, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is Rhinomcpserver safe to use with an AI agent?

Its trust score is 46 out of 100 (fair). It passes 0 of 1 static security checks; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Rhinomcpserver still maintained?

The last commit was a year ago, with 0 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.