create_assembly
Create a new Assembly in a document
How to use it
create_assembly is exposed by the Onshape MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the create_assembly tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Onshape MCP
pip install -e .Other tools in Onshape MCP (39)
Add a part or sub-assembly instance to an assembly
Align one instance flush against a face of another
Check for overlapping/interfering parts using bounding box detection
Union, subtract, or intersect bodies by deterministic IDs
Bevel edges by edge IDs with distance (supports variable references)
Repeat features around an axis with count and angle spread
Create a slide+rotate mate. First instance moves relative to second.
Create a new Onshape document
Extrude a sketch with depth, optional variable reference, and operation type
Create a rigid (fastened) mate between two instances
Round edges by edge IDs with radius (supports variable references)
Repeat features along an axis (X/Y/Z) with distance and count
Create an explicit mate connector on a face with offsets
Create a new Part Studio in a document
Create a rotational mate. First instance rotates relative to second.
Revolve a sketch around an axis (X/Y/Z) with angle and operation type
Arc with center, radius, start angle, and end angle
Circle with center point and radius
Line from start point to end point
Rectangle with optional variable references for width/height
Create a linear motion mate. First instance slides relative to second.
Thicken a sketch into a solid with optional midplane/opposite direction
Delete a feature (mate, mate connector, etc.) from an assembly or Part Studio
Evaluate FeatureScript expressions, get bounding boxes
Find Part Studios with optional name filtering
Get assembly structure with instances and occurrences
Get all features with their state (OK/ERROR/SUPPRESSED)
Get positions, sizes, and bounds of all instances (in inches)
Get face IDs, surface types, normals, and origins for all parts
Get detailed document information
Get comprehensive summary with workspaces and elements
Get all elements (Part Studios, Assemblies, BOMs) in a workspace
Query the outward-facing coordinate system for a specific face
Get all parts from a Part Studio
Get all variables from a Part Studio variable table
List documents with filtering and sorting
Search documents by name or description
Set absolute position (resets rotation). Fails on fixed instances.
Apply a relative transform (inches/degrees). Fails on fixed instances.