MCP server for CAD modeling with build123d and Shapr3D via STEP file exchange
Server has 7 tools with complete input schemas and descriptions. Naming follows verb_noun convention (create_model, open_in_shapr3d, inspect_model, modify_model, list_models, assemble_models, build123d_guide). Descriptions are substantive (100-250 chars) and explain WHAT, WHEN, and prerequisites. However, parameter descriptions lack detail on constraints (e.g., 'formats' array has no min/max length, no validation guidance). Output schemas are not documented, LLMs cannot predict response structure. Error handling is present in code (RuntimeError, ValueError) but not surfaced in tool descriptions. No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk levels (WRITE vs READ_ONLY). Parameter 'script' accepts arbitrary Python code, security risk not mentioned in description.
Import multiple CAD files, assemble them with a build123d script, and export.
Return a quick reference guide for build123d syntax and common patterns.
Create a 3D model from a build123d Python script and export it. The script runs with `from build123d import *` already in scope and MUST assign the final shape to a variable named `result`. Dimensions are in mm.
Import and inspect a CAD file (STEP, STL, BREP, IGES, 3MF) and return geometry stats.
List all model files in the working directory.
Import a CAD file, apply a build123d transformation script, and export.
Open a STEP, STL, BREP, IGES, or 3MF file in Shapr3D and capture a screenshot.
Output schemas not documented. LLMs cannot predict response structure (e.g., what fields does inspect_model return? Is it a dict with 'stats' key or a list?). Forces agents to guess and parse unstructured output.
Parameter 'script' in create_model, modify_model, assemble_models accepts arbitrary Python code with no validation or sandboxing mentioned. Security risk (code injection) not documented. Description should warn: 'Script is executed server-side; only trusted input.'
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). Tools have clear risk levels (create_model=WRITE, inspect_model=READ_ONLY) but LLMs cannot see them in schema. Agents cannot reason about retry safety or side effects.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 58 | <=2025-11-25 | v2 |
'formats' parameter in create_model, modify_model, assemble_models lacks constraint documentation. No min/max array length, no guidance on invalid format handling. Description says 'Options: step, stl, 3mf, gltf, glb, brep' but should be an enum constraint.
list_models has no pagination (limit, offset, page_size). If WORKDIR contains hundreds of models, response could be massive and blow context window. No documented result limit.