Skip to main content
Tools your AI assistant can call at http://127.0.0.1:4010/mcp. Document units: create and transform tools use the current document unit system. If you say “32 inches” and the file is in Feet, the assistant should convert first, then create, then measure to verify.

Core document and view

capture_viewport notes

  • macOS: scripted ViewCaptureToFile (no width/height into the script). Default PNG under ~/Library/Logs/MCP4Rhino/.
  • Windows: ViewCaptureToFile first; CaptureToBitmap fallback uses width/height. Default under %LOCALAPPDATA%\MCP4Rhino\.
  • When embedded, content includes type: "image" / mimeType: "image/png". Oversize omit: image_embedded: false, image_omitted_reason: "exceeds_max_bytes" (1 MiB raw).

Curves and solids

  • Create: create_point, create_line, create_polyline, create_circle, create_arc, create_ellipse, create_polygon, create_rectangle, create_curve
  • Edit: join_curves, trim_curve, split_curve, explode_objects, offset_curve, fillet_curve, extrude_curve
  • Other: boolean tools, transform_objects, layers, blocks, set_document_units, get_geometry, select_objects, clear_selection

Surfaces

  • Create: create_plane_surface, create_srf_pt, create_planar_surface, create_edge_surface, loft_surface, sweep1_surface, sweep2_surface, revolve_surface, rail_revolve_surface, network_surface, patch_surface, pipe_surface, extrude_curve_along_curve
  • Edit: fillet_surfaces, blend_surfaces, chamfer_surfaces, offset_surface, trim_surface, split_surface, join_surfaces, cap_planar_holes
  • Edges: list_surface_edges, dup_border, dup_edge, extract_isocurve
Surface face pick for fillet/chamfer: face_index_* or pick_point_*. Edge pick for blend/dup_edge: edge_index or pick_point from list_surface_edges.

Building elements

set_project_info, get_project_info, create_level, list_levels, set_active_level, create_grid, create_site, create_building, create_wall, create_slab, create_roof, create_column, create_beam, create_door, create_window, create_stair, create_ramp, create_railing, create_curtain_wall, create_space, update_space, list_spaces, apply_opening, element types, get_building_model, query_elements, measure_distance, measure_area, measure_clear_width. Semantic tags use mcp4: user-text keys on model objects.

Drawings and documentation

create_section, create_elevation, create_detail_view, create_dimension, create_text, create_leader, create_hatch, room/door/window tags, create_schedule, create_sheet, list_sheets, place_view_on_sheet, export_pdf, export_dwg, export_images, apply_layer_standard.

Interop and analysis

check_rhino_license, export_3dm (requires valid license / active eval — call check_rhino_license first), export_ifc, clash_detect, quantity_takeoff, and related helpers.

Code checks

set_code_context, run_code_checks, get_code_report

Grasshopper

Available in MCP4Rhino 0.7 and later, for Grasshopper 1 in Rhino 8. See getting started. Start with gh_help topic index. See the Grasshopper tool reference for all arguments, defaults, limits, typed values, and recovery. Follow the parametric array tutorial for an editable example.