Skip to main content
Glama

ライノMCP

RhinoMCP は、モデル コンテキスト プロトコル (MCP) を介して Rhino3D を Claude AI に接続し、Claude が Rhino3D と直接対話して制御し、AI 支援の 3D モデリング、分析、設計ワークフローを実行できるようにします。

プロジェクト概要

この統合は、次の 2 つの主要コンポーネントで構成されます。

  1. Rhino プラグイン: Rhino の Python エディター内で実行されるソケット サーバー。Rhino の機能への通信インターフェイスを提供します。

  2. MCP サーバー: Claude AI を Rhino プラグインに接続し、AI 制御の操作を可能にするモデル コンテキスト プロトコルの実装。

Related MCP server: SketchupMCP

特徴

  • PythonとRhino間のソケットベースの双方向通信

  • Claude AI 統合のためのモデル コンテキスト プロトコル サーバー

  • NURBS 曲線作成のサポート (初期テスト機能)

  • Rhino のコンテキスト内での Python スクリプトの実行

  • Claude DesktopとWindsurfの両方のクライアントと互換性があります

インストール

要件

  • Rhinoceros 3D(バージョン7または8)

  • Python 3.10以上

  • Windows 10または11

uv を使用してインストールする(推奨)

# Create and activate a virtual environment 
mkdir -p .venv
uv venv .venv
source .venv/Scripts/activate  # On Windows with Git Bash

# Install the package
uv pip install -e .

pipを使ってインストールする

# Create and activate a virtual environment
python -m venv .venv
.venv\Scripts\activate  # On Windows

# Install the package
pip install -e .

使用法

ステップ1: Rhino Bridge Serverを起動する

  1. オープンライノ

  2. コマンドラインにEditPythonScriptと入力して、RhinoのPythonエディタを開きます。

  3. src/rhino_plugin/rhino_server.pyからRhinoサーバースクリプトを開きます。

  4. スクリプトを実行します(F5 または実行ボタンをクリックします)

  5. 出力パネルに「Rhino Bridge が起動しました!」と表示されていることを確認します。

ステップ2: MCPサーバーを起動する

# Activate your virtual environment
source .venv/Scripts/activate  # On Windows with Git Bash

# Start the MCP server
rhinomcp

またはカスタム設定で実行します:

rhinomcp --host 127.0.0.1 --port 5000 --rhino-host 127.0.0.1 --rhino-port 8888 --debug

ステップ3: Claude DesktopまたはWindsurfに接続する

次の MCP サーバーに接続するように Claude Desktop または Windsurf を構成します。

ws://127.0.0.1:5000

例: NURBS曲線の作成

Claude に接続すると、次のようなプロンプトを使用して Rhino で NURBS 曲線を作成するように要求できます。

Create a NURBS curve in Rhino using points at (0,0,0), (5,10,0), (10,0,0), and (15,10,0).

発達

開発環境のセットアップ

# Clone the repository
git clone https://github.com/FernandoMaytorena/RhinoMCP.git
cd RhinoMCP

# Create and activate virtual environment
uv venv .venv
source .venv/Scripts/activate  # On Windows with Git Bash

# Install development dependencies
uv pip install -e ".[dev]"

テストを実行する

pytest

コードスタイル

このプロジェクトでは、リンティングとフォーマットに Ruff を使用します。

ruff check .
ruff format .

プロジェクト構造

RhinoMCP/
├── src/
│   ├── rhino_plugin/  # Code that runs inside Rhino
│   │   └── rhino_server.py
│   └── rhino_mcp/     # MCP server implementation
│       ├── rhino_client.py
│       └── mcp_server.py
├── tests/             # Test modules
├── docs/              # Documentation
├── config/            # Configuration files
├── ai/                # AI documentation and prompts
├── setup.py           # Package installation
├── requirements.txt   # Package dependencies
└── README.md          # Project documentation

ライセンス

MITライセンス

貢献

貢献を歓迎します!お気軽にプルリクエストを送信してください。

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    A
    maintenance
    Connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender for AI-assisted 3D modeling, scene manipulation, and rendering.
    21
    25,746
    MIT
  • A
    license
    B
    quality
    F
    maintenance
    Connects Sketchup to Claude AI through the Model Context Protocol, allowing Claude to directly interact with and control Sketchup for prompt-assisted 3D modeling and scene manipulation.
    10
    378
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Connects SketchUp to Claude AI through the Model Context Protocol, enabling prompt-assisted 3D modeling, scene manipulation, and woodworking joinery operations.
    22
    13
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Connects Claude AI to Houdini via the Model Context Protocol, enabling prompt-assisted 3D modeling, scene manipulation, and rendering within Houdini.
    11
    GPL 3.0

View all related MCP servers

Related MCP Connectors

  • Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer

  • Persistent context for Claude. Your AI always knows your projects and next actions across sessions.

  • Connect Claude to Fathom meeting recordings, transcripts, and summaries

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fernandomaytorena/RhinoMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server