Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

io.github.gpambrozio/onshape

NPM · @GPAMBROZIO/ONSHAPE-MCP

Drive Onshape CAD from an assistant: documents, sketches, solid features, assemblies and exports.

+1 this week 94 Trust /100

Last scanned (1 hour ago)

Scores higher than 92% of npm servers

Category Design and Media

Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security99
  • No malware found by supply-chain analysis.Pass
  • No known CVEs affecting this package version or its production dependencies.Pass
  • No install/post-install scripts declared.Pass
  • 30 of 117 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency100
  • Source repository is publicly reachable at the declared URL. View diagnostics → Pass
  • Cryptographically verified build provenance (signed, bound to gpambrozio/onshape-mcp). View diagnostics → Pass
  • Clear OSI-approved license (MIT).Pass
  • Actively maintained (last published 33 days ago).Pass
  • Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability70
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 14503 tokens (~155/item across 93 items; 93 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management100
  • No destabilizing schema changes in the last 30 days.Pass
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
Tool Safety94
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • 6 of 8 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation; "onshape_eval_featurescript" implies "eval" and declares no destructiveHint at all, which the MCP spec reads as destructive by default. See how to fix → Partial
  • An AI judge read all 94 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
What we tested

Checks we ran (16)

  • Malware scan
  • Known CVEs
  • Install scripts
  • Dependency health
  • Source repository
  • Provenance
  • License
  • Maintenance
  • Security disclosure
  • Schema quality
  • Stability
  • Tool coverage
  • Injection markers
  • Destructive annotations
  • Judged manipulation
  • MCP protocol

Does not apply to this package (2)

  • Endpoint SecurityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.
  • Transport & ReachabilityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.

The score does not measure everything. What the score does not measure →

Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 27 Nov 26 0
    • Stability: 0.97 → pass security
  • 26 Nov 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 93 to 97. That category is still filling its 30-day observation window: 28 days of observed history at the previous scan, 29 at this one. The score rises as the window fills, whether or not the server changes.

  • 24 Nov 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 87 to 90. That category is still filling its 30-day observation window: 26 days of observed history at the previous scan, 27 at this one. The score rises as the window fills, whether or not the server changes.

  • 23 Nov 26 −2
    • Stability: pass → 0.87 functional
  • 17 Nov 26 0
    • Stability: 0.97 → pass security
  • 16 Nov 26 0
    • Stability: pass → 0.97 functional
  • 10 Nov 26 0
    • Stability: 0.97 → pass security
  • 9 Nov 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 93 to 97. That category is still filling its 30-day observation window: 28 days of observed history at the previous scan, 29 at this one. The score rises as the window fills, whether or not the server changes.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 1 Dec 2026 · Analysed npm/@gpambrozio/onshape-mcp@0.3.0

Provenance Verified

A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.

Result Verified
Ecosystem npm
Reason Verified
Discovered via Registry attestation endpoint
Source repo gpambrozio/onshape-mcp
Certificate issuer https://token.actions.githubusercontent.com
Certificate SAN https://github.com/gpambrozio/onshape-mcp/.github/workflows/release.yml@refs/tags/v0.3.0
Rekor log index 3545935205
Predicate type SLSA build provenance https://slsa.dev/provenance/v1
Subject digest sha512:f9084304ecd294953e513d103d8bdd13c7f6a4f4b27f3f168e51988eb0e7ea3e117d967b9af42b01d380d4fa3a0f23d773e8aa9ce54cbc786ce41f9c8

Background: How many MCP packages publish verified provenance →

Dependencies 117 packages
Packages resolved 117
Stale 30
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 93 exposed · ~14,178 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
onshape_add_feature ~163

Post a hand-written BTM feature payload to a Part Studio. The escape hatch for feature types this server has no dedicated tool for — read onshape_get_feature_specs first.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
featureobjectyesThe feature JSON, usually a BTFeatureDefinitionCall-1406 envelope.
validateboolean–Re-read the feature list afterwards and fail if the feature regenerated with an error (default true).
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_assembly_add_feature ~139

Post a hand-written assembly feature payload — the escape hatch for mate types with no tool here.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
featureobjectyesThe assembly feature JSON.
validateboolean–Re-read the feature list afterwards and fail if the feature regenerated with an error (default true).
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_assembly_group ~141

Lock several instances together without individual mates.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
namestring–Feature name (default "Group").
occurrencesarrayyesOccurrence ids to group.
validateboolean–Re-read the feature list afterwards and fail if the feature regenerated with an error (default true).
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_assembly_mass_properties ~96

Mass, volume, centroid and inertia for a whole assembly.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_assembly_mate ~242

Join two mate connectors with a mate: FASTENED, REVOLUTE, SLIDER, CYLINDRICAL, PLANAR, and so on. Each connector is an assembly-level mate connector's feature id, or a Part Studio mate connector given as {path: [instance id], connector: feature id} from onshape_get_assembly. The mate's value measures the first connector against the second, so list the moving part first.

NameTypeReqDescription
connectorsarrayyesThe mate connectors to join, moving part first.
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
namestring–Feature name (default "Mate").
typestring–Mate type (default FASTENED).
validateboolean–Re-read the feature list afterwards and fail if the feature regenerated with an error (default true).
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_assembly_mate_connector ~198

Place an implicit mate connector on an instance by inference (CENTROID, TOP, ...). Its feature id is what onshape_assembly_mate then joins.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
inferencestring–Inference type, e.g. CENTROID, TOP, MID_PLANE (default CENTROID).
namestring–Feature name (default "Mate connector").
occurrencestringyesOccurrence id of the instance to attach to.
validateboolean–Re-read the feature list afterwards and fail if the feature regenerated with an error (default true).
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_assembly_relation ~331

Couple mates so one drives the other: GEAR (two revolutes, ratio), RACK_AND_PINION (a revolute and a slider, distance per revolution), SCREW (one cylindrical mate, distance per revolution) or LINEAR (two sliders, ratio). Each mate's degree of freedom follows from its type; cylindrical mates contribute whichever the relation needs. Mates missing the parameter relations need (made by hand-written payloads) are completed first and listed in completedMates. Fails if the relation does not regenerate.

NameTypeReqDescription
distance_per_revolutionnumber–RACK_AND_PINION and SCREW: travel per full turn, inches. A pinion's is its pitch circumference.
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
dofsarray–Override the degree of freedom per mate: Rz rotation about, Tz translation along, its Z axis.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
matesarrayyesMate feature ids: two, or one for SCREW.
namestring–Feature name (default "Relation").
rationumber–GEAR and LINEAR: the ratio between the mates (default 1).
reverseboolean–Reverse the direction of the coupling.
typestringyesRelation type.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_auth_status ~53

Report which Onshape credential is active, where it came from and whether it still works. Secrets are redacted.

NameTypeReqDescription
verifyboolean–Also make a live API call to confirm the credential (default true).

No output schema declared.

No examples provided.

onshape_boolean ~218

Combine bodies: UNION, SUBTRACTION or INTERSECTION. Subtraction also needs the targets query.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
keep_toolsboolean–Keep the tool bodies after the operation.
namestring–Feature name shown in the tree (default "Boolean").
opstring–Boolean operation (default UNION).
targetsstring–FeatureScript query selecting the target bodies (SUBTRACTION).
tool_idsarray–Deterministic ids of the tool bodies.
toolsstring–FeatureScript query selecting the tool bodies.
validateboolean–Re-read the feature list afterwards and fail if the feature regenerated with an error (default true).
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_boolean_union ~143

Merge all modifiable solid bodies into one. The usual cleanup before exporting a single part.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
namestring–Feature name shown in the tree (default "Union bodies").
validateboolean–Re-read the feature list afterwards and fail if the feature regenerated with an error (default true).
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_chamfer ~294

Bevel the selected edges. Selection works exactly as for onshape_fillet.

NameTypeReqDescription
allboolean–Select all edges of all solid bodies.
anglenumber–Angle in degrees, for type=OFFSET_ANGLE.
circularboolean–Select only circular edges.
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
edgesarray–Explicit deterministic edge ids, from onshape_get_edges.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
featurestring–Select every edge created by this feature id.
namestring–Feature name shown in the tree (default "Chamfer").
querystring–FeatureScript query, e.g. query = qCreatedBy(makeId("FID"), EntityType.EDGE);
typestring–Chamfer type (default EQUAL_OFFSETS).
validateboolean–Re-read the feature list afterwards and fail if the feature regenerated with an error (default true).
widthnumber–Chamfer width in inches (default 0.1).
width_variablestring–Use a Part Studio variable for the width.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_circular_pattern ~239

Repeat geometry around an axis.

NameTypeReqDescription
anglenumber–Total angle covered, degrees (default 360).
axisstring–FeatureScript query selecting the axis.
axis_idsarray–Deterministic id of the axis entity.
countintegeryesTotal number of instances, including the original.
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
entitiesstringyesFeatureScript query selecting what to pattern.
equal_spacingboolean–Space instances evenly over the angle (default true).
namestring–Feature name shown in the tree (default "Circular Pattern").
typestring–What kind of thing is patterned (default PART).
validateboolean–Re-read the feature list afterwards and fail if the feature regenerated with an error (default true).
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_clearance ~190

Minimum distance between two solid bodies in the same Part Studio, each named by part id or by the feature that created it. 0 (clear: false) means they touch or overlap, so this is also the interference check — e.g. a bracket against a dummy servo body. Returns inches and millimetres, plus the closest point on each body.

NameTypeReqDescription
aobjectyesThe first body: give exactly one of part or feature.
bobjectyesThe second body: give exactly one of part or feature.
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_create_assembly ~78

Add an assembly tab to a workspace.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
namestringyesTab name.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_create_document ~77

Create a document. Free Onshape accounts may only create public documents, so pass public=true there. The result carries the new document id and its default workspace id.

NameTypeReqDescription
descriptionstring–Document description.
namestringyesDocument name.
publicboolean–Make the document public (required on free accounts).

No output schema declared.

No examples provided.

onshape_create_drawing ~162

Create a drawing of a part, Part Studio or assembly. The source must be referenced by version — call onshape_create_version first and pass its id as src_version.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
namestringyesDrawing name.
partstring–Part id, to draw a single part.
src_docstring–Source document id (defaults to the target document).
src_elemstringyesElement id being drawn.
src_versionstringyesVersion id of the source element.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_create_feature_studio ~81

Add a Feature Studio tab for custom FeatureScript.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
namestringyesTab name.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_create_part_studio ~90

Add a Part Studio tab to a workspace. The new element id is at result.response.id.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
namestringyesTab name.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_create_sketch ~216

Add a sketch from a list of entities: lines, circles, rectangles and arcs. Use this when the single-shape sketch tools cannot express the profile. Close the profile if you intend to extrude it.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
entitiesarrayyesEntities making up the sketch.
namestring–Feature name shown in the tree (default "Sketch").
planestring–Default plane to sketch on (default Front).
plane_featurestring–Sketch on a face created by this feature id instead of a default plane.
validateboolean–Re-read the feature list afterwards and fail if the feature regenerated with an error (default true).
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_create_version ~124

Snapshot the workspace as an immutable version. Do this before restructuring an existing design: it is the only way back to the previous state, and drawings must reference a version.

NameTypeReqDescription
descriptionstring–Why this snapshot was taken.
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
namestringyesVersion name, e.g. what is about to change.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_delete_assembly_feature ~117

Remove a mate, mate connector, group or relation. Relations on a deleted mate stop solving.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
feature_idstringyesId of the feature to delete.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_delete_document ~59

Move a document to the trash. This affects the whole document, not a single tab.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.

No output schema declared.

No examples provided.

onshape_delete_element ~92

Delete one element (tab) from a workspace.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_delete_feature ~112

Remove one feature from the tree. Features added after it may fail to regenerate.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
feature_idstringyesId of the feature to delete.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_delete_instance ~108

Remove one instance from an assembly by its occurrence node id.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
nodestringyesOccurrence node id of the instance.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_draft ~189

Taper faces away from a neutral plane — the usual requirement for moulded or cast parts.

NameTypeReqDescription
anglenumber–Draft angle in degrees (default 3).
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
facesstringyesFeatureScript query selecting the faces to draft.
namestring–Feature name shown in the tree (default "Draft").
neutralstringyesFeatureScript query selecting the neutral plane or face.
validateboolean–Re-read the feature list afterwards and fail if the feature regenerated with an error (default true).
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_encode_configuration ~111

Turn configuration parameter values into the encoded string other tools accept as `configuration`.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
paramsarrayyesParameter ids and the values to set.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_eval_featurescript ~153

Run a FeatureScript function against the Part Studio and return its decoded value. The general-purpose way to inspect geometry: 'function(context is Context, queries) { ... }'.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
rawboolean–Return Onshape's raw response instead of the decoded value.
scriptstringyesA FeatureScript function expression taking (context, queries).
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_export ~203

Export through Onshape's translation service: STEP, IGES, 3MF, PARASOLID, SOLIDWORKS and others. Slower than STL because the translation is queued server-side.

NameTypeReqDescription
configurationstring–Encoded configuration string.
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
formatstring–Format name, e.g. STEP, IGES, 3MF, PARASOLID (default STEP).
kindstring–Element kind being exported (default partstudios).
outstring–Output file path (default onshape-<timestamp>.<format> in the output directory).
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_export_drawing ~143

Export a drawing as PDF (or DWG/DXF) through the translation service.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
formatstring–Format name: PDF, DWG, DXF (default PDF).
outstring–Output file path (default onshape-drawing-<timestamp>.<format>).
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_export_stl ~211

Export the Part Studio as STL, for 3D printing. The file is in millimetres by default, which is what slicers assume; STL carries no unit, so only change `units` if the consumer expects otherwise. Measure the model before exporting it.

NameTypeReqDescription
asciiboolean–Write ASCII STL instead of binary.
configurationstring–Encoded configuration string.
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
outstring–Output file path (default onshape-<timestamp>.stl in the output directory).
resolutionstring–Tessellation quality (default medium).
unitsstring–STL units (default millimeter).
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_extrude ~339

Extrude the closed regions of a sketch into a solid. op=NEW makes a body, ADD merges into existing bodies, REMOVE cuts them, INTERSECT keeps the overlap. end_type picks blind, symmetric or through-all; opposite flips the direction.

NameTypeReqDescription
depthnumber–Extrusion depth in inches; the total depth when symmetric. Required unless THROUGH_ALL or depth_variable.
depth_variablestring–Use a Part Studio variable (by name) for the depth instead.
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
end_typestring–BLIND goes `depth` along the sketch normal (default); SYMMETRIC goes `depth` in total, half each side of the sketch plane; THROUGH_ALL goes past every body and ignores `depth`.
namestring–Feature name shown in the tree (default "Extrude").
opstring–NEW makes a new body; ADD/REMOVE/INTERSECT combine with existing bodies (default NEW).
oppositeboolean–Go against the sketch normal instead of along it. Not with SYMMETRIC.
sketchstringyesFeature id of the sketch to extrude.
validateboolean–Re-read the feature list afterwards and fail if the feature regenerated with an error (default true).
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_fillet ~291

Round the selected edges. Name the edges with one of: edges (ids), query (FeatureScript), feature (every edge that feature made), all, or circular.

NameTypeReqDescription
allboolean–Select all edges of all solid bodies.
circularboolean–Select only circular edges.
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
edgesarray–Explicit deterministic edge ids, from onshape_get_edges.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
featurestring–Select every edge created by this feature id.
namestring–Feature name shown in the tree (default "Fillet").
querystring–FeatureScript query, e.g. query = qCreatedBy(makeId("FID"), EntityType.EDGE);
radiusnumber–Fillet radius in inches (default 0.1).
radius_variablestring–Use a Part Studio variable for the radius.
typestring–Fillet type (default EDGE).
validateboolean–Re-read the feature list afterwards and fail if the feature regenerated with an error (default true).
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_find_circular_edges ~159

Circular edges (full circles and arcs), optionally only those matching a radius, with each one's centre in inches — the usual way to pick hole rims to fillet, or to check where the holes are.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
radiusnumber–Only return edges with this radius, in inches.
tolerancenumber–Radius match tolerance in inches (default 0.001).
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_find_edges_by_feature ~114

Deterministic ids of the edges a given feature created, evaluated by Onshape.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
featurestringyesFeature id whose edges you want.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_find_part_studios ~92

List the Part Studios in a workspace, optionally filtered by a substring of the name.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
namestring–Case-insensitive substring to match.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_get_assembly ~146

The assembly's instances, occurrences, mate features and mate connectors.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
include_mate_connectorsboolean–Include mate connectors (default true).
include_mate_featuresboolean–Include mate features (default true).
include_non_solidsboolean–Include non-solid instances (default false).
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_get_assembly_features ~109

The mates, mate connectors, groups and relations defined in an assembly, with their feature ids, payloads and regeneration states.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_get_body_details ~100

Bodies, faces and edges with their deterministic ids — the source for explicit edge selection.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_get_bom ~121

The assembly's BOM table.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
indentedboolean–Return the indented BOM (default true).
multi_levelboolean–Expand sub-assemblies (default false).
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_get_configuration ~96

The configuration parameters an element exposes, with their ids and allowed values.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_get_document ~53

Read one document's metadata, including its default workspace id.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.

No output schema declared.

No examples provided.

onshape_get_document_summary ~73

Document metadata plus every workspace and the elements (tabs) inside each — the fastest way to orient in an unfamiliar document and collect the ids other tools need.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.

No output schema declared.

No examples provided.

onshape_get_drawing_views ~92

The views placed on a drawing sheet.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_get_edges ~112

Every edge of every solid body, with its deterministic id, owning body, type, and for circles and arcs the radius and centre (inches).

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_get_elements ~93

List the elements (tabs) in a workspace: Part Studios, assemblies, drawings, Feature Studios.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
typestring–Only return elements of this type.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_get_feature_specs ~116

The parameter ids, enum names and defaults Onshape expects for every feature type in this Part Studio. Read this before hand-writing a payload for onshape_add_feature.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_get_feature_studio ~93

The FeatureScript source of a Feature Studio.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_get_feature_studio_specs ~99

The feature specifications a Feature Studio defines, for calling its custom features.

NameTypeReqDescription
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_get_features ~136

The full feature tree with each feature's id, type, parameters and regeneration state. Large — prefer onshape_measure or onshape_get_parts when you only need the result of the tree.

NameTypeReqDescription
configurationstring–Encoded configuration string from onshape_encode_configuration.
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

Install

How do I install the io.github.gpambrozio/onshape MCP server?

io.github.gpambrozio/onshape runs locally as an npm package, launched with npx -y @gpambrozio/onshape-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

npm · @gpambrozio/onshape-mcp

# add to Claude Code
claude mcp add gpambrozio-onshape -- npx -y @gpambrozio/onshape-mcp
Common questions

What is the io.github.gpambrozio/onshape MCP server?

io.github.gpambrozio/onshape is an MCP server listed in the public MCP registry as io.github.gpambrozio/onshape. Drive Onshape CAD from an assistant: documents, sketches, solid features, assemblies and exports. This page covers its npm package (@gpambrozio/onshape-mcp).

Is the io.github.gpambrozio/onshape MCP server safe to use?

io.github.gpambrozio/onshape scores 94 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 1 December 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the io.github.gpambrozio/onshape MCP server expose?

io.github.gpambrozio/onshape exposes 93 tools: onshape_login, onshape_login_status, onshape_set_api_key, onshape_auth_status, onshape_logout, and 88 more. Their descriptions and schemas cost roughly 14,178 tokens of context every time the server is loaded.

Is the io.github.gpambrozio/onshape MCP server still maintained?

io.github.gpambrozio/onshape is still listed as active in the MCP registry. We last reached this channel on 1 December 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

What licence is the io.github.gpambrozio/onshape MCP server under?

io.github.gpambrozio/onshape declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

What did VerifyMCP test on the io.github.gpambrozio/onshape MCP server?

VerifyMCP ran 16 checks on io.github.gpambrozio/onshape, covering Malware scan, Known CVEs, Install scripts, Dependency health and 12 more. Endpoint Security and Transport & Reachability do not apply to an npm package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.