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 (2 hours 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_get_mate_values ~117

Where every mate currently sits: each degree of freedom's value, translations in inches and rotations in degrees, keyed by unit (translationZ_in, rotationZ_deg).

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_metadata ~114

Read the properties of an element, or of one part when part is given.

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.
partstring–Part id, to read that part's properties.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_get_parts ~98

The parts a Part Studio produces, with part ids for export and assembly insertion.

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_sketch_info ~114

Entities and solved geometry for every sketch in a Part Studio, or for one sketch.

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.
sketchstring–Limit to this sketch feature id.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_get_thumbnail ~176

Save Onshape's stored thumbnail. Thumbnails are generated asynchronously and lag edits — prefer onshape_shaded_view to see the current state.

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.
outstring–Output PNG path (default onshape-thumb-<timestamp>.png).
return_imageboolean–Also return the PNG inline (default true).
sizestring–Thumbnail size, e.g. "600x340" or "300x300" (default 600x340).
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_get_variables ~96

The variable table of a Part Studio: names, expressions and descriptions.

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_workspaces ~51

List a document's workspaces (branches).

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

No output schema declared.

No examples provided.

onshape_hole ~305

Extrude a sketch as a cut (op=REMOVE). Sketch a circle first, then cut it through the body: end_type THROUGH_ALL needs no depth. A sketch on a body's face points out of the body, so pass opposite to cut into it.

NameTypeReqDescription
depthnumber–Cut depth in inches; the total depth when symmetric. Required unless THROUGH_ALL or depth_variable.
depth_variablestring–Use a Part Studio variable for the depth.
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 "Hole").
oppositeboolean–Go against the sketch normal instead of along it. Not with SYMMETRIC.
sketchstringyesFeature id of the sketch to cut with.
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_insert_instance ~265

Insert a part, a whole Part Studio or another assembly into an assembly. Insert from a version when pulling from a different document.

NameTypeReqDescription
configurationstring–Encoded configuration for the inserted element.
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
fixedboolean–Fix the new instance in place, to ground the assembly. Onshape has no public call to fix or unfix an instance afterwards; to change it, insert again and delete the old instance.
is_assemblyboolean–The source element is an assembly.
partstring–Part id, to insert a single part.
src_docstring–Source document id (defaults to the target document).
src_elemstringyesElement id of the source Part Studio or assembly.
src_versionstring–Source version id, required when inserting across documents.
whole_studioboolean–Insert every part of the source Part Studio.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_linear_pattern ~238

Repeat geometry along a direction, at a fixed spacing.

NameTypeReqDescription
countintegeryesTotal number of instances, including the original.
directionstring–FeatureScript query selecting the direction entity.
direction_idsarray–Deterministic id of an edge giving the direction.
distancenumberyesSpacing between instances, inches.
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.
namestring–Feature name shown in the tree (default "Linear Pattern").
oppositeboolean–Pattern in the opposite direction.
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_list_documents ~88

List documents visible to the signed-in user, most recently modified first.

NameTypeReqDescription
filterstring–Which documents to list (default all).
limitinteger–How many to return (default 20).
sort_bystring–Sort column, e.g. modifiedAt or name (default modifiedAt).
sort_orderstring–Sort direction (default desc).

No output schema declared.

No examples provided.

onshape_list_versions ~52

List the immutable versions of a document, newest first.

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

No output schema declared.

No examples provided.

onshape_login ~291

Sign in to Onshape by opening a browser. method='api_key' (default) opens a local page that links to the Onshape developer key page and accepts the pasted key pair. method='oauth' runs the OAuth 2.0 authorization-code flow against an app you registered in the Onshape developer portal. The credential is verified against Onshape and stored in the OS keychain. Returns immediately with status 'pending' if the user has not finished yet — poll with onshape_login_status.

NameTypeReqDescription
base_urlstring–Onshape API base URL (default https://cad.onshape.com).
client_idstring–OAuth client id; also read from ONSHAPE_OAUTH_CLIENT_ID.
client_secretstring–OAuth client secret; also read from ONSHAPE_OAUTH_CLIENT_SECRET.
methodstring–Login method (default api_key).
oauth_urlstring–OAuth server (default https://oauth.onshape.com).
portinteger–Loopback port for the callback (OAuth default 8471).
scopestring–Space-separated OAuth scopes, when the app needs them stated.
storestring–Where to keep the credential: auto (keychain, else file), keychain, or file.
wait_secondsinteger–Seconds to wait for the browser before returning (default 20).

No output schema declared.

No examples provided.

onshape_login_status ~66

Wait for, and report on, the login started by onshape_login. Call this repeatedly while the user is in the browser; each call waits up to wait_seconds before returning.

NameTypeReqDescription
wait_secondsinteger–Seconds to wait for the browser before returning (default 20).

No output schema declared.

No examples provided.

onshape_logout ~40

Delete the credential this server stored (keychain entry and config file). Credentials coming from environment variables or from an existing onshape-cli install are not touched.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

onshape_mass_properties ~112

Volume, mass, centroid and inertia for the Part Studio's bodies.

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.

onshape_measure ~106

Body count, overall bounding box in inches and total volume. Use this to check a model matches its intended dimensions before exporting.

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_mirror ~204

Mirror parts, bodies or faces across a plane.

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.
entitiesstringyesFeatureScript query selecting what to mirror.
namestring–Feature name shown in the tree (default "Mirror").
plane_idsarray–Deterministic id of the mirror plane, e.g. JCC for Front.
plane_querystring–FeatureScript query selecting the mirror plane.
typestring–What kind of thing is being mirrored (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_offset_plane ~210

Add a construction plane offset from a default plane, a face, or another plane.

NameTypeReqDescription
base_idsarray–Deterministic ids of the plane or face to offset from.
base_planestring–Default plane to offset from (default Front).
base_querystring–FeatureScript query selecting the base plane or face.
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 "Offset plane").
offsetnumber–Offset distance in inches (default 1).
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_request ~134

Make an authenticated request to an arbitrary Onshape REST endpoint, for anything the dedicated tools do not cover. Paths start with /api/ and are documented at https://cad.onshape.com/glassworks/explorer. Prefer a dedicated tool when one exists — they normalise the response and validate the result.

NameTypeReqDescription
body––JSON request body, for POST.
methodstringyesHTTP method.
paramsobject–Query string parameters.
pathstringyesAPI path, e.g. /api/v6/documents/d/{did}/w/{wid}/elements. Must begin with /api/.

No output schema declared.

No examples provided.

onshape_revolve ~273

Revolve a sketch profile around an axis. With no axis given, the sketch's own construction line is used (see onshape_sketch_circle_axis); otherwise pass axis_ids or an axis query.

NameTypeReqDescription
anglenumber–Revolve angle in degrees (default 360).
axisstring–FeatureScript query selecting the axis.
axis_idsarray–Deterministic ids of the axis entity.
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 "Revolve").
opstring–NEW makes a new body; ADD/REMOVE/INTERSECT combine with existing bodies (default NEW).
sketchstringyesFeature id of the sketch holding the profile.
typestring–FULL revolves all the way around (default FULL when an axis is given).
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_rollback ~123

Set the rollback index so features after it are suppressed. Index 0 rolls back to before the first 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.
indexintegeryesRollback index; use a large number to roll fully forward.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_search_documents ~55

Find documents by name. Search before creating, so repeated runs do not make duplicates.

NameTypeReqDescription
limitinteger–How many to return (default 20).
querystringyesText to match against document names.

No output schema declared.

No examples provided.

onshape_set_api_key ~131

Store an Onshape access key and secret key directly, without a browser. Use when the user already has a key pair from https://cad.onshape.com/user/developer/apiKeys. The pair is verified against Onshape before it is saved.

NameTypeReqDescription
access_keystringyesOnshape access key.
base_urlstring–Onshape API base URL (default https://cad.onshape.com).
secret_keystringyesOnshape secret key.
storestring–Where to keep the credential: auto (keychain, else file), keychain, or file.

No output schema declared.

No examples provided.

onshape_set_feature_studio ~113

Replace the FeatureScript source of a Feature Studio. The whole file is overwritten.

NameTypeReqDescription
contentsstringyesThe complete new FeatureScript source.
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_set_mate_values ~170

Drive top-level mates to new positions — turn a revolute, slide a slider — and read them back; relations move the coupled mates too. Values are inches and degrees. Fails when Onshape does not apply a value, which it does silently for mates with limits enabled and for positions the rest of the assembly cannot reach.

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.
valuesarrayyesOne entry per mate, naming only the degrees of freedom to change.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_set_metadata ~145

Write properties such as part number, description or material. Only editable properties are accepted; read onshape_get_metadata first to find the property ids.

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.
partstring–Part id, to set that part's properties instead of the element's.
propertiesarrayyesProperty ids and their new values.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_set_variable ~242

Create or update a variable. Feature tools can then reference it by name (depth_variable, radius_variable, ...) so a dimension lives in one place. Uses the variable table where the account supports it and falls back to an assignVariable feature otherwise; result.route says which was used. On the feature route an existing variable of the same name is rewritten in place, so features built after it pick up the new value (result.action is updated or created).

NameTypeReqDescription
descriptionstring–What the variable means.
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
expressionstringyesValue expression with units, e.g. "0.25 in" or "2 * #wall".
namestringyesVariable name, without the leading #.
typestring–Variable type; inferred from the expression's units when omitted.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_shaded_view ~255

Render the element server-side and return the image. Unlike a thumbnail this is generated on demand, so it always shows the current geometry — use it to check a model visually before exporting.

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.
heightinteger–Image height in pixels (default 340).
kindstring–Element kind being exported (default partstudios).
no_edgesboolean–Hide edges in the render.
outstring–Output PNG path (default onshape-<timestamp>.png in the output directory).
return_imageboolean–Also return the PNG inline (default true).
view_matrixstring–3x4 row-major camera matrix as 12 comma-separated numbers (default isometric).
widthinteger–Image width in pixels (default 600).
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_shell ~216

Hollow the body out to a wall thickness, removing the selected faces to open 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.
facesarray–Deterministic ids of faces to remove.
namestring–Feature name shown in the tree (default "Shell").
outwardboolean–Thicken outward instead of inward.
querystring–FeatureScript query selecting the faces to remove.
thicknessnumber–Wall thickness in inches (default 0.125).
thickness_variablestring–Use a Part Studio variable for the thickness.
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_sketch_candy_cane_path ~273

Add a sketch of a straight stem joined to a hooked arc, approximated by segments — a ready-made path for onshape_sweep.

NameTypeReqDescription
bottomnumber–Y of the stem's bottom (default 0).
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
hook_anglenumber–Sweep of the hook in degrees (default 210).
hook_radiusnumberyesRadius of the hook, inches.
namestring–Feature name shown in the tree (default "Candy cane centerline").
planestring–Default plane to sketch on (default Front).
segmentsinteger–Total segments used to approximate the path (default 24).
straight_heightnumberyesLength of the straight stem, inches.
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.
xnumber–X position of the stem (default 0).

No output schema declared.

No examples provided.

onshape_sketch_circle ~199

Add a sketch holding one circle.

NameTypeReqDescription
center–yesCircle centre. As [x, y] inches or "x,y".
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 "Sketch circle").
planestring–Default plane to sketch on (default Front).
plane_featurestring–Sketch on a face created by this feature id instead of a default plane.
radiusnumberyesRadius in inches.
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_sketch_circle_axis ~249

Add a sketch with a circle profile and a construction line. onshape_revolve spins the profile around that construction line, which is how you get a torus or a ring.

NameTypeReqDescription
axis_end–yesAxis end. As [x, y] inches or "x,y".
axis_start–yesAxis start. As [x, y] inches or "x,y".
center–yesCircle centre. As [x, y] inches or "x,y".
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 "Sketch circle and axis").
planestring–Default plane to sketch on (default Front).
radiusnumberyesRadius in inches.
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_sketch_line ~223

Add a sketch holding one line segment. A line alone encloses no region, so it cannot be extruded.

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.
end–yesEnd point. As [x, y] inches or "x,y".
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.
start–yesStart point. As [x, y] inches or "x,y".
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_sketch_rectangle ~224

Add a sketch holding one closed rectangle, ready to extrude. Corners are opposite, in inches.

NameTypeReqDescription
corner1–yesFirst corner. As [x, y] inches or "x,y".
corner2–yesOpposite corner. As [x, y] inches or "x,y".
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 "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_sweep ~190

Sweep the closed regions of one sketch along the edges of another.

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 "Sweep").
opstring–NEW makes a new body; ADD/REMOVE/INTERSECT combine with existing bodies (default NEW).
pathstringyesFeature id of the path sketch.
profilestringyesFeature id of the profile sketch.
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_thicken ~235

Give a sketch region a wall thickness instead of a solid depth.

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.
midplaneboolean–Grow symmetrically about the sketch plane.
namestring–Feature name shown in the tree (default "Thicken").
opstring–NEW makes a new body; ADD/REMOVE/INTERSECT combine with existing bodies (default NEW).
oppositeboolean–Thicken in the opposite direction.
sketchstringyesFeature id of the sketch to thicken.
thicknessnumberyesThickness in inches.
thickness_variablestring–Use a Part Studio variable for the thickness.
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_thumbnail_info ~98

The thumbnail sizes Onshape has rendered for this element, with their hrefs.

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_transform_instance ~150

Apply a 4x4 row-major transform (16 numbers, metres) to the given occurrence paths.

NameTypeReqDescription
absoluteboolean–Treat the transform as absolute rather than relative.
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemstringyesElement id (tab) — the <elem> segment of the document URL.
pathsarrayyesOccurrence paths, each an array of node ids.
transformarrayyesRow-major 4x4 transform matrix.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_update_assembly_feature ~186

Replace an assembly feature's payload — a mate's type, connectors or limits, a relation's ratio. Post the whole feature JSON, e.g. as onshape_get_assembly_features returns it, inside a BTFeatureDefinitionCall-1406 envelope.

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 full replacement feature JSON.
feature_idstringyesId of the feature to replace.
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_update_document ~67

Change a document's name or description.

NameTypeReqDescription
descriptionstring–New description.
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
namestring–New name.

No output schema declared.

No examples provided.

onshape_update_feature ~129

Replace an existing feature's payload, e.g. to change a dimension. Post the whole feature JSON.

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 full replacement feature JSON.
feature_idstringyesId of the feature to replace.
wsstringyesWorkspace id — the <ws> segment of the document URL.

No output schema declared.

No examples provided.

onshape_validate_part_studio ~148

Count parts and bodies, and fail when the counts do not match the expectations you pass. A cheap regression check after a run of feature edits.

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.
expect_bodiesinteger–Fail unless it has exactly this many bodies.
expect_partsinteger–Fail unless the Part Studio has exactly this many parts.
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.