Grasshopper MCP 服务器实现
为 Rhinoceros/Grasshopper 集成设计的 Model Context Protocol (MCP) 服务器,支持 AI 模型与参数化设计工具交互。
快速入门
概述
此项目实现了支持 Rhinoceros 和 Grasshopper 的 Model Context Protocol (MCP) 服务器,允许通过自然语言操作参数化设计。
架构
系统由两部分组成:
- MCP 服务器 - 基于 .NET Core 实现。
- Grasshopper 插件 - 用于与 MCP 服务器通信。
[LLM] <--HTTP/WebSocket--> [MCP服务器] <--API--> [Grasshopper插件] <--> [Rhinoceros]
版本
- main 分支 (.NET 6.0): 适用于 Rhinoceros 7。
- rhino8-net7 分支 (.NET 7): 适用于 Rhinoceros 8。
根据环境选择合适分支。
要求
Rhinoceros 7
- Rhinoceros 7+
- .NET 6.0 SDK+
- Visual Studio 2022 或 VS Code。
Rhinoceros 8
- Rhinoceros 8
- .NET 7.0 SDK+
- Visual Studio 2022 或 VS Code。
安装
参考 docs 目录中的安装指南。
开发
更多信息见 docs 中的开发者指南。