rhino3dm-mcp
v0.7.3MCP server connecting Claude to McNeel Rhino 8 / Rhino 9 and Grasshopper via rhino3dm and an in-Rhino bridge plugin.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
rhino_point
Add a single point to the document.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_line
Add a line between two points.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_polyline
Add a polyline through the given points; optionally closed.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_arc
Add an arc by centre, radius, and sweep angle (in degrees).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_circle
Add a circle by centre and radius (optionally on a custom plane).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_ellipse
Add an ellipse on the world XY plane (rhino3dm builds it as a NURBS approximation).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_rectangle
Add a rectangle as a closed polyline on the XY plane.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_polygon
Add a regular polygon (inscribed or circumscribed) on the XY plane.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_helix
Add a helix sampled into a NURBS curve.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_spiral
Add a tapered spiral sampled into a NURBS curve.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_nurbs_curve
Add a NURBS curve from a control polygon.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_interpolate_curve
Add an interpolated NURBS curve passing through the given points.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_rebuild_curve
Rebuild an existing curve with a new point count and degree.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_curve_length
Return the curve's parametric domain and approximate length.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_curve_point_at
Evaluate position and tangent at a parameter on the curve.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_curve_split
Split a curve at the given parameters; original is preserved.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_box
Add a rectangular box (axis-aligned in standalone mode).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_sphere
Add a sphere primitive.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_cylinder
Add a cylinder; in standalone mode the axis must be world Z.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_cone
Add a cone primitive with its apex above ``base_center`` (world Z axis). Standalone builds an exact revolved Brep (``RevSurface`` + base cap).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_torus
Add a torus primitive around the world Z axis through ``center``. Standalone builds an exact revolved Brep (circle profile on the XZ plane).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_boolean_union
Boolean-union the given Brep groups. Bridge required.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_boolean_difference
Subtract ``b_ids`` from ``a_ids``. Bridge required.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_boolean_intersection
Intersect ``a_ids`` with ``b_ids``. Bridge required.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_shell
Hollow a closed Brep, optionally leaving the listed faces open.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_cap_holes
Cap all open holes of a Brep.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_plane_surface
Add a finite plane (rectangular trim) on the given plane.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_extrude
Linearly extrude a profile curve by ``distance`` along ``direction``.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_revolve
Revolve a profile curve about an axis.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_loft
Loft a sequence of profile curves into a surface.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_sweep1
Sweep profiles along a single rail.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_sweep2
Sweep profiles along two rails.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_network_surface
Build a surface from a network of crossing curves.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_patch
Patch a region defined by boundary curves.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_blend_surface
Create a blend surface between two edges.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_fillet_surface
Create a constant-radius fillet between two surfaces.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_offset_surface
Offset a surface by ``distance`` along its normal.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_mesh_box
Add a quad mesh box with the given subdivisions.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_mesh_from_surface
Mesh a surface (bridge only).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_mesh_from_brep
Mesh a Brep (bridge only).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_weld_mesh
Weld coincident vertices in a mesh.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_unweld_mesh
Unweld vertices to break mesh smoothing.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_reduce_mesh
Reduce a mesh to a target face count.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_mesh_boolean_union
Boolean-union meshes.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_mesh_boolean_difference
Boolean-difference meshes (a - b).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_move
Translate (or copy) the given objects by a vector.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_rotate
Rotate objects about an axis through a centre point.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_scale
Scale objects non-uniformly about a centre.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_mirror
Mirror objects across a plane (copies by default).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_array_linear
Array objects along a vector with constant spacing.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_array_polar
Array objects in a polar pattern.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_array_rectangular
Array objects in a 3D rectangular grid.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_orient
Orient objects from one plane to another (PlaneToPlane transform).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_selection_bbox
Return the union bounding box of all objects in the document.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_flow
Flow objects from one curve onto another (bridge only).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_cage_edit
Deform objects with a control cage (bridge only).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_place_grid
Replicate a source object on a count_x x count_y grid with given spacing. Returns the new object IDs in row-major (x outer, y inner) order. The source is preserved; when ``skip_origin`` is True the (0,0) cell is left untouched and the source itself fills it.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_stack_floors
Replicate a source object N times along world +Z with constant spacing. Architectural shortcut for "stack this slab N floors high". The source sits at level 0; copies populate levels 1 .. floor_count.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_scatter
Scatter ``count`` copies of a source inside a 2-D AABB with optional Z-rotation jitter. The boundary is interpreted in world XY; Z is taken from ``boundary_min.z``. Use ``seed`` for deterministic output.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_replicate_along_curve
Distribute copies of a source object along a curve at evenly-spaced parameters. With ``align_to_tangent`` (default), each copy is reoriented so that the world-X direction maps to the curve tangent at its sample point. ``include_endpoints`` controls whether the first/last samples land on the curve's start/end points.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_text_dot
Add a small label that always faces the camera in Rhino.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_text
Add 3D text annotation. Bridge mode honours the active dim style; standalone uses text-dot fallback.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_annotation_north_arrow
Draw a north arrow centred on ``location``. ``angle_deg`` rotates the arrow clockwise from world +Y so callers can adapt to a site whose true north differs from grid north.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_annotation_scale_bar
Draw a divided scale bar with a label. Bar is drawn in document units; the label reports the represented real-world distance based on ``scale_denominator``.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_annotation_revision_cloud
Draw a revision cloud (bumpy polyline) around a region of interest with a revision label.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_annotation_callout
Add a callout (leader + balloon or boxed label).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_annotation_dimension_style
Register a reusable dimension style in the document's DimStyle table. Standalone writes a ``rhino3dm.DimensionStyle`` (name, font, text height, arrow length) into the 3dm DimStyle table. ``color`` is only honoured by bridge mode; rhino3dm's DimensionStyle has no text colour.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_dimension_linear
Add a linear dimension between two points.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_dimension_aligned
Add an aligned dimension between two points.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_dimension_angular
Add an angular dimension at a vertex.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_leader
Add a multi-point leader (with optional text).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_hatch
Add a hatch over the given closed curves.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_clipping_plane
Add a clipping plane to all viewports.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_layer_create
Create a layer with optional colour and visibility.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_layer_delete
Delete a layer by name (in standalone mode the layer is hidden + name-prefixed).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_layer_set_color
Change a layer's display colour.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_layer_set_material
Bind a render material to a layer so layer-source objects inherit it. Bridge-only: rhino3dm exposes ``material_index`` on the layer but the in-document material table is read-only. Use ``rhino_material_create`` first to define the material.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_object_move_to_layer
Reassign one or more objects to a different layer (creating it if absent).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_object_select
Select objects by ID and/or attribute filters. Filter fields combine with AND semantics. ``object_ids`` short-circuits the other filters when provided. Standalone mode marks matches with the ``rhino_mcp_selected`` user-string (since rhino3dm has no selection state); bridge mode delegates to Rhino's native selection.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_object_delete
Delete the given objects from the document.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_group
Group objects together under a (named) group.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_material_create
Create a material with diffuse colour, transparency, and glossiness.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_material_assign
Assign an existing material to one or more objects.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_material_preset_list
List physical-material presets bundled with rhino-mcp. Returns the full catalogue (or a single category subset) so the LLM can pick a known-good name before calling ``rhino_material_preset_create``.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_material_preset_create
Create a document material from a bundled physical preset. Standalone uses rhino3dm's basic Material (diffuse / transparency / shine). Bridge mode also pushes the matching Rhino PBR render content + IOR for photoreal output.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_render_viewport
Render the active viewport to an image file (bridge required).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_environment_set
Attach an HDRI/EXR environment used for lighting + background (bridge only).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_open
Open a .3dm file and bind it to a doc_id.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_save
Write the document to disk.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_export_obj
Export selected (or all) objects to a Wavefront OBJ file (mesh-only).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_export_stl
Export meshes to an ASCII STL file.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_import
Import an external file into the active document (bridge required for non-3DM).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_export_draco
Compress mesh objects to a Google Draco ``.drc`` file (standalone, rhino3dm). Exports one mesh by id, a list of meshes, or every mesh in the document; several meshes are merged into one Draco mesh. Non-mesh objects are skipped (rhino3dm cannot tessellate Breps).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_export_step
Export to STEP (bridge required).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_export_iges
Export to IGES (bridge required).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_export_dxf
Export to DXF (bridge required).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_screenshot
Capture a viewport screenshot (bridge required). Returns MCP image content (JPEG, at most ``max_width`` px wide by default) plus a summary, so the model sees the viewport directly. When ``path`` is given the full-size file is written there too; ``include_image=False`` (or legacy ``as_base64=False``) with a ``path`` returns only the summary.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_viewport_preview
Capture a viewport preview restricted to a selection or layer set. Spotlights ``selection_ids`` and/or objects on ``layers``; everything else is either ghosted (default) or hidden during the capture and restored afterwards. Selection and visibility are restored, so the document is left unchanged. Returns MCP image content plus a summary (see ``rhino_screenshot`` for the image controls). Bridge only.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_area
Compute the surface area of a mesh (Brep area requires bridge).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_volume
Compute the volume of a closed mesh (Brep volume requires bridge).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_bounding_box
Return the union bounding box of one or more objects.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_distance
Euclidean distance between two points.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_curvature_analysis
Sample Gaussian/mean curvature of a surface (bridge required).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_draft_angle
Compute draft angles relative to the world Z axis (bridge required).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_zebra
Run zebra-stripe surface continuity analysis (bridge required).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_section
Slice the listed objects with a plane (bridge required).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_contour
Generate equally spaced section curves (bridge required).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_probe_intersection
Cast a ray and report intersection points against Breps/Extrusions. Returns ``hits`` sorted by distance from the ray origin. Bridge-only — rhino3dm has no ray-shoot primitive.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_list_objects
List objects in the document with optional layer/type filter. Returns up to ``limit`` objects starting at ``offset`` (after filters). The response carries a ``pagination`` block — ``{total, offset, limit, returned, has_more}`` — so the caller can iterate without guessing. Async so concurrent ``rhino_*`` queries don't block FastMCP's event loop while the bridge round-trip is in flight.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_object_info
Get detailed info about a single object (geometry type, layer, bbox, etc.).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_document_summary
Get a high-level summary of the document (object counts, layers, etc.).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_layer_list
List all layers with their properties (color, visibility, object count).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_get_user_text
Read user text (key-value metadata) attached to an object.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_set_user_text
Attach a key-value user text entry to an object.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_document_units_get
Read the current document unit system.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_document_units_set
Set the document unit system, optionally scaling existing geometry.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_tolerance_get
Read absolute / angle / relative model tolerances.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_tolerance_set
Set absolute / angle / (optional) relative tolerances on the document.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_origin_set
Set the model base point. ``mode='reference'`` stores the point as metadata only — useful for geo-referencing without disturbing existing geometry. ``mode='translate'`` shifts every object so the supplied point becomes the new (0,0,0).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_document_settings
Bundled units / tolerances / base point in one call.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_validate_brep
Validate a Brep — closed/solid/manifold, face/edge counts, log of issues. Standalone surfaces ``IsValid``/``IsSolid``/``IsManifold``/edge+face counts and the rhino3dm validation log. Bridge mode adds a list of naked-edge identifiers and lengths via RhinoCommon.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_report_mesh_health
Mesh health — closed, manifold, vertex/face counts, validity log.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_curve_continuity
Curve sanity — span count, closed flag, planarity, periodic, validity log.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_check_naked_edges
Enumerate naked (boundary) edges of a Brep with their lengths. Returns ``[{edge_index, length}, ...]`` plus the gap count. Standalone derives edge valence from Brep trims (an edge referenced by exactly one trim is naked) and also reports non-manifold edges (3+ trims). Bridge mode forwards to RhinoCommon ``BrepEdge.Valence``.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_drawing_sheet_create
Create a sheet container — a rectangle on layer ``Sheets::<name>`` carrying user_text metadata. The rectangle's corners define the sheet bounds; user_text holds the sheet name, paper size (mm), and scale denominator so subsequent view-placement / title-block / export tools can re-derive it.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_drawing_view_place
Project objects to a 2-D view (Make2D) and place the result on a sheet (bridge only).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_drawing_section_cut
Cut a section through objects with a plane and place the trace on a sheet (bridge only).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_drawing_title_block_add
Add the bottom-right title block, north arrow, and scale bar to a sheet.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_drawing_export_pdf
Export a sheet to PDF (bridge only).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_schedule_by_layer
Aggregate objects per layer with optional filter and sublayer merging. Returns ``rows`` (one entry per layer) plus a ``totals`` block.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_schedule_by_user_text
Aggregate objects grouping by ``user_text[group_key]`` value. Useful for BIM-style schedules: ``group_key='assembly_type'`` produces a wall/window schedule, ``group_key='material'`` produces a material BOM.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_schedule_by_material
Aggregate objects grouped by assigned material name. Standalone treats ``MaterialIndex == -1`` (default material) as 'Default'. Bridge mode resolves each object's effective material via Rhino's render content lookup.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_object_quantity
Per-object measurement table — one row per object_id with the requested fields.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_schedule_export_csv
Write rows produced by any rhino_schedule_* tool to CSV.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_block_define
Create a block definition from a list of objects. Standalone uses ``rhino3dm.InstanceDefinitionGeometry`` to register the geometry under ``name``. Bridge mode mirrors that and additionally replaces the source objects with a single instance at the base point when ``replace_objects=True``.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_block_insert
Insert a block instance at ``insertion_point`` with optional scale + rotation. Standalone constructs a ``rhino3dm.InstanceReferenceGeometry`` and applies the transform to it. Bridge mode forwards to RhinoCommon's ``Doc.Objects.AddInstanceObject`` which honours the active layer and links the instance to the definition.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_block_list
List every block definition with a per-definition object + instance count.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_block_explode
Explode a block instance into individual objects (bridge only).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_block_redefine
Replace a block definition's geometry, propagating to every instance (bridge only).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_sun_position
Compute solar azimuth + altitude for a location/time. Pure calculation, no doc edits.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_sun_path
Draw monthly sun-path polylines on a hemisphere of given radius around ``center_point``. Standalone draws into the active rhino3dm document; bridge mode forwards so the path is visible in Rhino's viewport.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_shadow_project
Project objects' bounding-box corners along ``sun_vector`` to the ground plane. Standalone produces a coarse 4-corner shadow polygon per object (suitable for sketch-grade studies). Bridge mode emits accurate wireframe-projection shadow polygons.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_direct_irradiance
Direct Normal Irradiance (W/m^2) clear-sky estimate via Bird + Kasten-Young air mass. Includes Linke turbidity (1 = very clear, 7 = industrial haze) and site altitude. Pure calculation — no doc edits.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_daylight_factor
BRE simplified daylight factor for a side-lit room. DF = (W * theta * tau * M) / (A_total * (1 - R^2)) (% as decimal). For early-stage architectural studies; for radiance-grade accuracy use ladybug-tools or DAYSIM.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_solar_exposure_estimate
Estimate cumulative solar exposure (lit minutes / total minutes) on an object (bridge only). Bridge implementation samples the time range, casts a ray from the target's centroid toward the sun at each step, and counts lit samples (no obstruction along the ray). Returns a 0-1 ratio.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_export_ifc
Export the active document (or a subset) to IFC2x3 / IFC4 / IFC4x3 (bridge only).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_import_ifc
Import an IFC file, mapping each entity to a layer under ``target_layer_root`` (bridge only).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_export_gbxml
Export thermal / structural BIM payload to gbXML (bridge only).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_bim_metadata_set
Tag objects with IFC entity + property-set metadata. Standalone writes ``Pset_RhinoMcp::<key>`` user_text on each object; bridge mode does the same and additionally pushes into Rhino's IFC property-set table so a subsequent IFC export carries them across.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_bim_pset_get
Read PropertySet entries off an object. Bridge mode reads from the live RhinoCommon UserString table; standalone mode reads from rhino3dm UserStrings on the saved 3dm document. The result groups properties by PropertySet name (``psets`` field).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_bim_pset_set
Persist a PropertySet block on an object.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_bim_pset_delete
Remove every property under a named PropertySet from an object.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_camera_set
Position the active viewport's camera (location + target + lens length).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_light_add
Add a point / spot / directional / rectangular / linear light to the document.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_render_setup
Set render resolution / samples / engine / transparency on the active render context.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_render_to_file
Execute the configured render and write the result to ``output_path``.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_turntable_render
Render a turntable sequence (camera orbits around ``target``) to ``output_dir``.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_render_queue_submit
Submit a frame sequence to the bridge render queue (bridge only). Returns a ``job_id`` immediately while frames are captured on a background worker. Use ``rhino_render_queue_status`` to poll progress and ``rhino_render_queue_cancel`` to interrupt. The v0.5 backend captures viewport frames (``_-ViewCaptureToFile``); true photo-realistic engine integration is on the roadmap.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_render_queue_status
Inspect a queued render job's status, progress, and completed frames.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_render_queue_cancel
Cancel a running or queued render job.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_render_queue_list
List recent render jobs and their progress.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_skin_from_sections
Generate a skin (loft-equivalent) through ordered section curves. - Standalone: chains ``CreateRuledSurface`` between adjacent section pairs and returns the list of surface IDs; the caller can join them downstream if needed. - Bridge: emits a single Brep loft via ``Brep.CreateFromLoft``.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_section_at_axis
Slice a surface (or Brep / mesh in bridge) into ``count`` section curves. Standalone supports ``axis='u'`` and ``axis='v'`` (surface isocurves). World-axis slicing (``axis='x'/'y'/'z'``) requires bridge mode.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_axis_ribs
Generate two orthogonal sets of section ribs (waffle-style fabrication, bridge only).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_uv_grid_panels
Sample a surface on a regular UxV grid and emit it as panels. ``output='mesh'`` writes a single quad mesh (one face per panel) to the doc; ``'curves'`` writes count_u+count_v isocurves; ``'corners'`` only returns the (count_u+1) x (count_v+1) sample points without writing geometry.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_panel_planarity
Per-panel planarity report on a UxV grid sampled from a surface. Each cell's planarity error = distance of the 4th corner from the plane fitted through the first three. Cells whose error > tolerance are flagged. The returned ``stats`` block summarises max / mean / non-planar count for high-level reporting.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_panel_curvature_classify
Classify each UxV panel by curvature class (planar / single_* / synclastic / anticlastic). Standalone uses a 4-corner normal heuristic (no full Gaussian K). Bridge mode reports true Gaussian + mean curvature per cell.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_surface_normal_at
Evaluate the surface unit normal at a normalised (u, v). ``u`` and ``v`` are 0..1 ratios over the surface's domain; the actual parameters are computed internally so the LLM doesn't need to know the domain bounds.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_surface_developable_score
Estimate how far a surface deviates from being developable. Samples a (sample_u+1) x (sample_v+1) grid of normals; for each interior 2x2 block computes the maximum angle (in radians) between adjacent normals. Reports max / mean / RMS over the whole sheet plus a 0..1 normalised score (0 = perfectly developable, 1 = π/2 normal swing within a single cell). A truly developable surface (cone, cylinder, plane) returns ~0; a sphere section returns a positive value proportional to the spanned solid angle.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_surface_curvature_at
Evaluate true Gaussian / mean / principal curvatures at (u, v) (bridge only).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_attractor_displace_points
Displace each input point along the vector to an attractor with a falloff. Positive ``strength`` pulls toward the attractor; negative pushes away. The attractor is either a fixed point (``attractor_point``) or a curve (``attractor_curve_id``); for curves each point's attractor is the closest sample on the curve. Returns the *new* point IDs (the originals are deleted; this is a form-finding move, not a duplicating one).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_smooth_polyline
Apply Laplacian smoothing to a polyline (or NURBS curve via its control points). Each iteration replaces every interior point P_i with ``(1 - factor) * P_i + factor * (P_{i-1} + P_{i+1}) / 2``. With ``pin_endpoints=True`` the first and last points are held. Returns the new curve's object_id (the input is replaced).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_search_rhinoscript_functions
Search RhinoScript functions by keyword or description. Use this BEFORE writing any RhinoScript Python code to find correct function names and signatures. Returns matching functions sorted by relevance. Example queries: "loft surface", "boolean union", "rotate object", "create curve", "extrude".
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_get_rhinoscript_docs
Get comprehensive RhinoScript documentation for a topic. CRITICAL: You MUST call this tool before using rhino_execute_python. Returns full signatures, parameter descriptions, return values, and optional code examples for the most relevant functions.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_list_rhinoscript_modules
List all available RhinoScript modules with function counts. Use this to discover what areas of the API are available when you are not sure which module contains the functions you need.
rhino_get_module_functions
Get all functions in a specific RhinoScript module with signatures. Use rhino_list_rhinoscript_modules() first to see available modules, then call this to browse a module's full API.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_bridge_list_instances
Enumerate live Rhino bridge endpoints discovered via announcement files. Returns one row per running Rhino on this host. Each row carries ``pid``, ``host``, ``port``, ``doc_path``, ``doc_title``, version, and an ``alive`` flag derived from a cheap TCP probe.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_bridge_select_instance
Switch the next bridge call to target a specific Rhino session. Exactly one selector among ``pid``, ``port``, ``doc_path_contains``, and ``index`` should be set. The active bridge client is closed; the next tool call goes through lazy promotion against the new endpoint.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_execute_python
Execute RhinoScript Python code in a live Rhino session. CRITICAL — BEFORE USING THIS TOOL: 1. Call rhino_get_rhinoscript_docs(topic) to find correct signatures. 2. Read the documentation carefully — note exact parameter types. 3. Write code using ONLY the documented signatures. 4. Call this tool with the code. Code requirements: - Import rhinoscriptsyntax: ``import rhinoscriptsyntax as rs`` - Use ``print()`` to return output/results to the caller. - Handle ``None`` returns from functions that might fail. Ch…
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_execute_csharp
Execute RhinoCommon C# code in a live Rhino session using Roslyn. SAFETY: This tool runs arbitrary code with full RhinoCommon access. It is gated behind ``RHINO_MCP_ALLOW_CSHARP=1`` so it cannot fire accidentally. Set the env var only in trusted sessions. Globals available to the script: - ``doc``: the active ``RhinoDoc`` - ``output``: a ``StringBuilder`` — call ``output.AppendLine("...")`` to return text to the caller. Pre-imported namespaces: System, System.Collections.Generic, System.Linq, System.Text, Rhino, Rhi…
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_undo
Undo the last operation(s) in the Rhino document. Each step reverses one undo record. Changes made by MCP tools are grouped into undo records automatically.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_redo
Redo the last undone operation(s) in the Rhino document.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_batch_modify
Modify many objects in a single call. Each spec can include any combination of: translation, rotation, scale, colour, layer, visibility, and name. All changes are wrapped in one undo record — ``rhino_undo(steps=1)`` reverts the entire batch. When ``apply_to_all`` is ``True``, the modifications from the first spec are applied to every object in the document.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_batch_call
Dispatch multiple bridge methods in a single round-trip. IMPORTANT: ``steps[].method`` is a **bridge dispatcher route**, not an MCP tool name. The MCP tool ``rhino_layer_create`` maps to the dispatcher route ``rhino.layer.create``; ``rhino_document_summary`` maps to ``rhino.query.document_summary`` (NOT ``rhino.document.summary``). Standalone-only tools (``rhino_set_user_text`` etc. that have no ``bridge_call`` path) cannot be batched. A wrong route name returns an ``error`` row with ``HandlerError``; the batch aborts when ``on_e…
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_bend
Bend objects along an axis through a specified point.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_twist
Twist objects around an axis by a specified angle.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_taper
Taper objects along an axis with start/end radii.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_flow_along_curve
Reposition objects from a base curve onto a target curve.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_rebuild_surface
Rebuild a surface with new point counts and degrees in U/V.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_surface_from_points
Create a NURBS surface from a 2D grid of control points.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_unroll
Unroll a developable surface or polysurface flat.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_surface_closest_point
Find the UV parameters and 3D point closest to a test point on a surface.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_evaluate_surface
Evaluate a surface at UV parameters to get 3D point, normal, and tangents.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_create_subd
Create a SubD object from an existing mesh.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_subd_to_nurbs
Convert a SubD object to a NURBS polysurface (Brep).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_subd_inspect
Report SubD topology: vertex/edge/face counts, vertex and edge tags, boundary / crease / sharp edges, corners, and face side-count histogram. Standalone reads the SubD control net through rhino3dm 8.32+ iterators.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_match_surface
Adjust a surface edge to match the continuity of a target surface.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_blend_surface_edges
Create a blend surface connecting two surface edges with continuity control.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_merge_surfaces
Merge multiple surfaces into a single surface.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_dup_edge
Extract edge curves from a Brep (all or specific indices).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_dup_border
Extract border curves from a surface or mesh.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_isocurve
Extract an isocurve from a surface at a specific U or V parameter.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_make2d
Generate a 2D drawing projection of 3D objects.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_get_control_points
Get all control points (and weights) of a NURBS curve or surface.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_set_control_points
Replace control points of a NURBS curve or surface.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_panelize_surface
Subdivide a surface into panels (quad, triangle, or diamond).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_create_uv_grid
Create a point grid on a surface at even UV intervals.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_panel_frames
Generate oriented frames (planes) at panel centres for construction.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_view_set
Activate a saved named view.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_zoom_extent
Zoom the active view to the extent of selected (or all) objects.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_named_view_save
Save the current camera as a named view.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_display_mode_set
Switch the active viewport's display mode.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_turntable
Render a turntable animation to ``output_path`` (PNG sequence or GIF).
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_zoom_object
Zoom the active viewport to fit the given object ids exactly.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_zoom_layer
Zoom the active viewport to fit every object on ``layer``.
| Parameter | Type | Description |
|---|---|---|
args * |
rhino_viewport_image
Capture the viewport pixels and return them as MCP image content. Lightweight alternative to ``rhino_render_to_file`` — no render engine is invoked, just a viewport bitmap dump. Use 0 for ``width``/``height`` to inherit the on-screen viewport size; the inline image is then downscaled to ``max_width`` (default 1024, JPEG). Pass ``output_path`` to also keep the full-size PNG.
| Parameter | Type | Description |
|---|---|---|
args * |
gh_add_component
Drop a Grasshopper component onto the active canvas.
| Parameter | Type | Description |
|---|---|---|
args * |
gh_connect_components
Create a wire from one component output to another component input.
| Parameter | Type | Description |
|---|---|---|
args * |
gh_connect_many
Add multiple wires in a single round-trip. Returns a per-row ``results`` array so partial failures are visible (each row carries ``status`` and, on error, ``error``).
| Parameter | Type | Description |
|---|---|---|
args * |
gh_delete_component
Remove a component from the canvas.
| Parameter | Type | Description |
|---|---|---|
args * |
gh_component_list
List components currently on the active canvas (optionally filtered).
| Parameter | Type | Description |
|---|---|---|
args * |
gh_cluster_create
Group components into a named cluster.
| Parameter | Type | Description |
|---|---|---|
args * |
gh_cluster_expand
Expand a cluster back into its constituent components.
| Parameter | Type | Description |
|---|---|---|
args * |
gh_plugin_list
Enumerate Grasshopper plugin libraries currently loaded. Returns one entry per ``GH_AssemblyInfo`` library: id, name, author, version, description, and the on-disk path. Useful for the LLM to discover whether the user has LunchBox / Ladybug / Kangaroo etc. installed before attempting to drop in a custom component.
| Parameter | Type | Description |
|---|---|---|
args * |
gh_components_search
Search the Grasshopper component catalog (built-in + plugin-supplied). Returns ``rows`` of ``{guid, name, nickname, category, subcategory, description, plugin}`` and a ``summary`` block with match counts. Use this to find the GUID needed by ``gh_add_component`` before dropping a component on the canvas.
| Parameter | Type | Description |
|---|---|---|
args * |
gh_get_parameter
Read the current value of a component parameter.
| Parameter | Type | Description |
|---|---|---|
args * |
gh_set_parameter
Push a value into a component parameter.
| Parameter | Type | Description |
|---|---|---|
args * |
gh_set_slider
Set a Number Slider component to a numeric value.
| Parameter | Type | Description |
|---|---|---|
args * |
gh_set_panel
Set the text contents of a Panel component.
| Parameter | Type | Description |
|---|---|---|
args * |
gh_set_toggle
Set a Boolean Toggle component to true or false.
| Parameter | Type | Description |
|---|---|---|
args * |
gh_place_slider
Create a Number Slider on the canvas with bounds and initial value. Returns the new ``component_id`` so subsequent ``gh_connect_components`` or ``gh_set_slider`` calls can target it.
| Parameter | Type | Description |
|---|---|---|
args * |
gh_open_file
Open a Grasshopper definition.
| Parameter | Type | Description |
|---|---|---|
args * |
gh_save_file
Save the active Grasshopper definition.
| Parameter | Type | Description |
|---|---|---|
args * |
gh_new_canvas
Create a fresh empty Grasshopper canvas.
| Parameter | Type | Description |
|---|---|---|
args * |
gh_run
Run the current solution.
| Parameter | Type | Description |
|---|---|---|
args * |
gh_reset
Reset the canvas (clear cached solution).
gh_preview_toggle
Toggle preview on/off for a list of components (or all).
| Parameter | Type | Description |
|---|---|---|
args * |
gh_bake_to_rhino
Bake the output of one or more components into the active Rhino document.
| Parameter | Type | Description |
|---|---|---|
args * |
gh_data_tree_get
Read a component output as a DataTree (list of branches).
| Parameter | Type | Description |
|---|---|---|
args * |
gh_data_tree_set
Push a DataTree into a component input.
| Parameter | Type | Description |
|---|---|---|
args * |
gh_data_tree_get_batch
Read multiple component outputs in a single bridge round-trip.
| Parameter | Type | Description |
|---|---|---|
args * |
gh_data_tree_set_batch
Apply many DataTree assignments at once with a single GH solve. With ``defer_solve=True`` (default) the GH document is paused while the assignments are applied and recomputed exactly once at the end — critical for parameter sweeps where N independent ``set`` calls would otherwise trigger N solver runs.
| Parameter | Type | Description |
|---|---|---|
args * |
gh_template_list
List bundled Grasshopper templates with their parameter contracts. ``available=False`` means the .gh binary has not been shipped yet — the contract is described in the manifest but loading it will fail until the binary is placed alongside the manifest.
| Parameter | Type | Description |
|---|---|---|
args * |
gh_load_template
Open a bundled template on the canvas and return its template_id + parameter map.
| Parameter | Type | Description |
|---|---|---|
args * |
gh_bind_template_parameter
Set a single named parameter on a loaded template (slider / panel / toggle).
| Parameter | Type | Description |
|---|---|---|
args * |
gh_run_template
Force a fresh solution and (optionally) bake the declared outputs.
| Parameter | Type | Description |
|---|---|---|
args * |