RhinoMCP
RhinoMCP 通过模型上下文协议 (MCP) 将 Rhino3D 连接到 Claude AI,使 Claude 能够直接与 Rhino3D 交互并控制 Rhino3D,以实现 AI 辅助的 3D 建模、分析和设计工作流程。
项目概述
这种集成由两个主要部分组成:
Rhino 插件:在 Rhino 的 Python 编辑器中运行的套接字服务器,为 Rhino 的功能提供通信接口。
MCP 服务器:模型上下文协议的实现,将 Claude AI 连接到 Rhino 插件,从而实现 AI 控制的操作。
特征
Python与Rhino之间基于Socket的双向通信
用于 Claude AI 集成的模型上下文协议服务器
支持 NURBS 曲线创建(初始测试功能)
在 Rhino 上下文中执行 Python 脚本
兼容 Claude Desktop 和 Windsurf 客户端
安装
要求
Rhinoceros 3D(版本 7 或 8)
Python 3.10 或更高版本
Windows 10 或 11
使用 uv 安装(推荐)
使用 pip 安装
用法
步骤 1:启动 Rhino Bridge 服务器
打开 Rhino
在命令行中输入
EditPythonScript
以打开 Rhino 的 Python 编辑器从
src/rhino_plugin/rhino_server.py
打开 Rhino 服务器脚本运行脚本(F5 或单击运行按钮)
确认输出面板中显示“Rhino Bridge started!”
步骤 2:启动 MCP 服务器
或者使用自定义设置运行:
步骤 3:连接 Claude Desktop 或 Windsurf
配置 Claude Desktop 或 Windsurf 以连接到 MCP 服务器:
示例:创建 NURBS 曲线
连接到 Claude 后,您可以要求它在 Rhino 中创建 NURBS 曲线,提示如下:
发展
设置开发环境
运行测试
代码风格
该项目使用 Ruff 进行 linting 和格式化:
项目结构
执照
贡献
欢迎贡献代码!欢迎提交 Pull 请求。
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
通过模型上下文协议将 Rhino3D 连接到 Claude AI,通过直接控制 Rhino 的功能实现 AI 辅助 3D 建模和设计工作流程。
Related MCP Servers
- AsecurityFlicenseAqualityConnects 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.Last updated -10138
- -securityFlicense-qualityConnects Houdini to Claude AI through Model Context Protocol, enabling AI-assisted 3D modeling, scene creation, simulation setup, and rendering through natural language commands.Last updated -46
- -security-license-qualityA Model Context Protocol server that connects Rhino and Grasshopper to Claude AI, enabling prompt-assisted 3D modeling, scene creation, and manipulation through direct AI interaction with the Rhino environment.Last updated -MIT License
- AsecurityAlicenseAqualityConnects Blender to Claude AI through the Model Context Protocol, enabling AI-assisted 3D modeling, scene creation, and manipulation through natural language commands.Last updated -17MIT License