BC

brookstalley/cordyceps

开发工具

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

113 stars 9 forks 质量 79 趋势 15MIT

Brookstalley/Cordyceps是一个MCP服务器候选,导入自https://github.com/brookstalley/cordyceps.

概览

Brookstalley/Cordyceps是一个MCP服务器候选,导入自https://github.com/brookstalley/cordyceps.

概述(AI 翻译)

Grasshopper 的 MCP 服务器。 让 AI 代理或脚本直接控制你的参数化设计画布和 Rhino 渲染工具。

模型上下文协议(MCP)为控制应用程序提供了标准化接口——无论是来自AI助手还是您自己的代码。

特色

  • 完整的Grasshopper控制 — 添加组件、线路连接、设置数值、管理组
  • Rhino 集成 — 烘焙几何体,管理图层,应用 PBR 材质,渲染场景
  • 自然语言 — 描述你想要的内容,让AI来构建它
  • 直接脚本 — 调用Python或任何MCP客户端的工具,无需AI。

要求

  • Rhino 8.21+(需要 .NET 8)
  • 用于 AI:Claude Desktop、Claude Code、Cursor、VS Code 或任何兼容 MCP 的助手
  • 用于脚本:任何MCP客户端库(Python、TypeScript等)

安装

Rhino 软件包管理器(推荐)

  1. 在Rhino 8中,运行**PackageManager**命令(或Tools → Package Manager)
  2. 搜索虫夏草并点击安装
  3. 重启犀牛

包管理器会下载插件,将其放入正确的文件夹,并为你解封——未来的更新只需一键完成。

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

README

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

Cordyceps

MCP server for Grasshopper. Give AI agents or scripts direct control over your parametric design canvas and Rhino rendering tools.

Model Context Protocol (MCP) provides a standardized interface for controlling applications — whether from AI assistants or your own code.

Features

  • Full Grasshopper control — add components, wire connections, set values, manage groups
  • Rhino integration — bake geometry, manage layers, apply PBR materials, render scenes
  • Natural language — describe what you want and let AI build it
  • Direct scripting — call tools from Python or any MCP client, no AI required

Requirements

  • Rhino 8.21+ (requires .NET 8)
  • For AI use: Claude Desktop, Claude Code, Cursor, VS Code, or any MCP-compatible assistant
  • For scripting: Any MCP client library (Python, TypeScript, etc.)

Installation

  1. In Rhino 8, run the PackageManager command (or Tools → Package Manager)
  2. Search for Cordyceps and click Install
  3. Restart Rhino

The Package Manager downloads the plugin, places it in the right folder, and unblocks it for you — and future updates are one click.

Manual install

  1. Download Cordyceps.gha — always the current release (see all releases)

  2. Copy to your Grasshopper components folder: File → Special Folders → Components Folder

  3. Unblock the file so Rhino will load it:

    • Windows: right-click → Properties → check “Unblock” → OK
    • macOS: clear the quarantine flag (e.g. xattr -dr com.apple.quarantine )
  4. Restart Rhino

Usage

  1. Drop the Cordyceps component on your canvas (Params → Util → Cordyceps)

    The server starts on port 26929 by default. Optional inputs:

    • HttpPort: Change the HTTP port
    • DebugLevel: Set to 1+ to see request/response traffic in Rhino
  2. Configure your MCP client:

在 GitHub 查看完整 README

安装

npx -y mcp-remote http://127.0.0.1:26929/mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "cordyceps": { "command": "npx", "args": ["-y", "mcp-remote", "http://127.0.0.1:26929/mcp"] } } }