Grasshopper MCP
Skills
add_component
Add a component to the Grasshopper canvas Args: component_type: Component type (point, curve, circle, line, panel, slider) x: X coordinate on the canvas y: Y coordinate on the canvas Returns: Result of adding the component
load_document
Load a Grasshopper document Args: path: Document path Returns: Result of the load operation
save_document
Save the Grasshopper document Args: path: Save path Returns: Result of the save operation
clear_document
Clear the Grasshopper document
create_pattern
Create a pattern of components based on a high-level description Args: description: High-level description of what to create (e.g., '3D voronoi cube') Returns: Result of creating the pattern
get_document_info
Get information about the Grasshopper document
connect_components
Connect two components in the Grasshopper canvas Args: source_id: ID of the source component (output) target_id: ID of the target component (input) source_param: Name of the source parameter (optional) target_param: Name of the target parameter (optional) source_param_index: Index of the source parameter (optional, used if source_param is not provided) target_param_index: Index of the target parameter (optional, used if target_param is not provided) Returns: Result of connecting the components
get_available_patterns
Get a list of available patterns that match a query Args: query: Query to search for patterns Returns: List of available patterns