RI

reer-ide/rhino_mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

31 stars 10 forks Качество 72 Тренд 12MIT

Этот проект разработан REER, INC. и обнародован для сообщества для использования и тестирования. Мы приветствуем вкладчиков, которые помогают улучшить и расширить функциональность RhinoMCP.

Обзор

Этот проект разработан REER, INC. и обнародован для сообщества для использования и тестирования. Мы приветствуем вкладчиков, которые помогают улучшить и расширить функциональность RhinoMCP. RhinoMCP соединяет Rhino, Grasshopper и многое другое с Claude AI через протокол Model Context Protocol (MCP), позволяя Claude напрямую взаимодействовать и контролировать Rhino. Эта интеграция обеспечивает быстрое 3D-моделирование, создание сцен и манипуляции. (перенаправлено с «Blinder mcp») Проект предусматривает две реализации сервера: Стандартный MCP-сервер протокола Stdio для интеграции Claude Desktop - сервер протокола SSE (Server-Side Events) для интеграции пользовательских веб-клиентов Подключите Claude AI к Rhino через сервер на основе сокетов: Создавайте и модифицируйте 3D-объекты в Rhino, включая метаданные - : Просмотр и взаимодействие со слоями Rhino - : Получите подробную информацию о текущей сцене Rhino (в том числе).

Обзор (машинный перевод)

Этот проект разработан REER, INC. и обнародован для сообщества для использования и тестирования. Мы приветствуем вкладчиков, которые помогают улучшить и расширить функциональность RhinoMCP. RhinoMCP соединяет Rhino, Grasshopper и многое другое с Claude AI через протокол Model Context Protocol (MCP), позволяя Claude напрямую взаимодействовать и контролировать Rhino. Эта интеграция обеспечивает быстрое 3D-моделирование, создание сцен и манипуляции. (перенаправлено с «Blinder mcp»)

Проект предусматривает две реализации сервера:

Стандартный MCP-сервер протокола Stdio для интеграции с Claude Desktop Сервер протокола SSE (Server-Side Events) для пользовательской интеграции веб-клиентов

Особенности

#####Розовый

  • ** Двухстороннее сообщение**: Подключите Claude AI к Rhino через сервер на основе сокетов Манипуляция объектами: Создание и модификация 3D-объектов в Rhino, включая метаданные -** Управление уровнями**: Просмотр и взаимодействие со слоями носорогов Сценическая инспекция: Получите подробную информацию о текущей сцене Rhino (в т.ч. скриншот) Исполнение кода: Запустите произвольный код Python в Rhino от Claude ** Выбор объекта**: Получите информацию о выбранных объектах в Rhino

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

RhinoMCP - Rhino Model Context Protocol Integration

This project is developed by REER, INC. and made public for the community to use and test. We welcome contributors to help improve and expand the functionality of RhinoMCP. RhinoMCP connects Rhino, Grasshopper and more to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Rhino. This integration enables prompt-assisted 3D modeling, scene creation, and manipulation. (inspired by blender_mcp)

The project provides two server implementations:

  • Standard Stdio protocol MCP server for Claude Desktop integration
  • SSE (Server-Side Events) protocol server for custom web client integration

Features

Rhino

  • Two-way communication: Connect Claude AI to Rhino through a socket-based server
  • Object manipulation and management: Create and modify 3D objects in Rhino including metadata
  • Layer management: View and interact with Rhino layers
  • Scene inspection: Get detailed information about the current Rhino scene (incl. screencapture)
  • Code execution: Run arbitrary Python code in Rhino from Claude
  • Object selection: Get information about the currently selected objects in Rhino
  • RhinoScriptSyntax documentation: Look up the documentation for a RhinoScriptSyntax

Grasshopper (Under Development)

Important Note: While Grasshopper integration tools may appear available in Claude, they are still under active development and not fully usable yet. We’re working to implement complete Grasshopper functionality in future releases.

Components

The system consists of two main components:

  1. Rhino-side Script (rhino_script.py): A Python script that runs inside Rhino to create a socket server that receives and executes commands
  2. MCP Server (rhino_mcp/server.py): A Python server that implements the Model Context Protocol and connects to the Rhino script

Installation

Prerequisites

  • Rhino 7 or newer
  • Python 3.10 or newer
  • uv package manager
  • Conda (for environment management) or an existing Python installation

Installation Options

Install uv

If you’re on Mac, open terminal and run:

brew install uv

On Windows open Powershell and run

irm https://astral.sh/uv/install.ps1 | iex

and then

set Path=C:\Users\\.local\bin;%Path% # cmd
$env:Path = "C:\Users\\.local\bin;";$env:Path # powershell

Otherwise installation instructions are on their website: Install uv

⚠️ Do not proceed before installing UV

First, you need to integrate with Claude Desktop:

  1. Go to Claude Desktop > Settings > Developer > Edit Config
Открыть полный README на GitHub

Установка

uvx reer-rhino-mcp
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "rhino": { "command": "uvx", "args": ["reer-rhino-mcp"] } } }