|
Description
|
Cassis consists of the plugin library Cassis and a transport library for Streamable HTTP-based MCP communication for Rhino Grasshopper. Cassis implements the functionality specific to connecting agentic AI systems to Rhino Grasshopper through the Model Context Protocol. The plugin can, in principle, be referenced from any AI coding assistant that supports MCP, including IDE Copilots / Agents, Terminal CLI agents, and proprietary systems. Cassis defines three service interfaces for component manipulation, document management, and UI thread coordination, and the MCP host class. In addition to the service layer, the plugin provides tool categories: script tools for C# and Python components, component tools for adding and configuring Grasshopper objects, connection tools for wiring parameters, panel tools, group tools, canvas and viewport capture tools, document tools, solver control tools, component analytics tools, diagnostics tools, and ABxM interoperability tools for agent-based modelling. The necessary tool, service, and transport classes are derived from the corresponding interfaces and discovered at startup. A Grasshopper component exposes the server on the canvas and lets users select which tools the AI assistant can call. Instructions for the use of the source code are included in the file "README.md". (2026-03-06)
|