JC

jingcheng-chen/rhinomcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

1181 stars 108 forks 质量 87 趋势 42MIT

RhinoMCP 通过模型上下文协议(MCP)将 Rhino 3D 连接到 AI 代理

概览

RhinoMCP通过模型上下文协议将犀牛与AI代理连接起来,因此像Claude和Cursor这样的助手只需聊天,就能建模几何体、阅读你的文档并为你构建Grasshopper定义。 - 描述你想要的内容,助手会在 Rhino 中构建。- 它读取你的文档并能捕获视口,因此它能根据屏幕上实际显示的内容来工作。- 它为你编写 Grasshopper 脚本:寻找组件、布线、设置滑块和解题。- 一个插件和一个配置文件条目即可覆盖 Rhino 和 Grasshopper。- 当你需要更多控制时,它可以运行原生 Rhino 命令、RhinoScript-Python 或 RhinoCommon C#。 AI在Rhino内部编写并运行脚本。 喜欢攻略?Nate在YouTube上做了一个展示和安装教程。 三个步骤:安装 Rhino 插件,连接你的 AI 客户端,然后在 Rhino 中启动桥接器。 在Rhino中,打开,搜索,然后点击。重启Rhino。

概述(AI 翻译)

用AI控制犀牛3D和蚱蜢,用通俗易懂的语言。

RhinoMCP 通过模型上下文协议将犀牛与人工智能代理连接起来, 所以像Claude和Cursor这样的助手可以建模几何体、阅读你的文档并构建 Grasshopper的定义,只需聊天即可。

快速入门 ·它能做什么 ·用途 ·示例 ·工具参考

英语 ·简体中文


精彩片段

对于自主改进实验的开发,可以从以下内容开始 续集指南。

  • 描述你想要的东西,助理用犀牛语言构建。
  • 它读取你的文档并能捕捉视口,因此它能从屏幕上实际显示的内容出发。
  • 它会帮你编写Grasshopper脚本:找组件、接线、设置滑块和解题。
  • 一个插件和一个配置文件条目同时覆盖 Rhino 和 Grasshopper。
  • 当你需要更多控制时,它可以运行本地 Rhino 命令、RhinoScript-Python 或 RhinoCommon C#。

[!注] RhinoMCP 在 Windows 和 macOS 上针对 Rhino 8。

演示

双向交互: AI 既创建又读取几何体。

自定义脚本: AI 在 Rhino 内部编写并运行脚本。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。


Highlights

For development of the autonomous improvement experiments, start with the continuation guide.

  • Describe what you want and the assistant builds it in Rhino.
  • It reads your document and can capture the viewport, so it works from what is actually on screen.
  • It scripts Grasshopper for you: finding components, wiring them, setting sliders, and solving.
  • A single plugin and a single config entry cover both Rhino and Grasshopper.
  • When you need more control, it can run native Rhino commands, RhinoScript-Python, or RhinoCommon C#.

[!NOTE] RhinoMCP targets Rhino 8 on Windows and macOS.

Demos

Prefer a walkthrough? Nate made a showcase and install tutorial on YouTube.

What it can do

Rhino

Area What the AI can do
Create geometry Points, lines, polylines, circles, arcs, ellipses, curves, boxes, spheres, cones, cylinders, and surfaces, one at a time or in batches
在 GitHub 查看完整 README

安装

uvx rhinomcp@latest
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "rhino": { "command": "uvx", "args": ["rhinomcp@latest"], "env": { "RHINO_MCP_HOST": "127.0.0.1" } } } }