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 · SCANNED SEP 24

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

80 Trust /100
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 Security98
  • 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
  • 34 of 121 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 2 days ago).Pass
  • Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability73
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 12872 tokens (~147/item across 87 items; 87 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 Management0
  • Stability not yet verified: not enough scan history yet (needs a 30-day window).Unverified
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 Safety93
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • 5 of 7 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 88 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

Unverified: 1 category

A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

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
// .cursor/mcp.json
{
  "mcpServers": {
    "gpambrozio-onshape": {
      "command": "npx",
      "args": [
        "-y",
        "@gpambrozio/onshape-mcp"
      ]
    }
  }
}
// .vscode/mcp.json
{
  "servers": {
    "gpambrozio-onshape": {
      "command": "npx",
      "args": [
        "-y",
        "@gpambrozio/onshape-mcp"
      ]
    }
  }
}
# add to Codex CLI
codex mcp add gpambrozio-onshape -- npx -y @gpambrozio/onshape-mcp
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "gpambrozio-onshape": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@gpambrozio/onshape-mcp"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add gpambrozio-onshape --command npx --arg -y --arg @gpambrozio/onshape-mcp
# ~/.hermes/config.yaml
mcp_servers:
  gpambrozio-onshape:
    command: "npx"
    args: ["-y", "@gpambrozio/onshape-mcp"]
// ~/.netclaw/config/netclaw.json
{
  "McpServers": {
    "gpambrozio-onshape": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "@gpambrozio/onshape-mcp"
      ]
    }
  }
}
# add to Vellum
assistant mcp add gpambrozio-onshape -t stdio -c npx -a -y @gpambrozio/onshape-mcp
// mcp.json
{
  "mcpServers": {
    "gpambrozio-onshape": {
      "command": "npx",
      "args": [
        "-y",
        "@gpambrozio/onshape-mcp"
      ]
    }
  }
}
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.

  • 22 Sept 26 80

    First indexed and scored.

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 24 Sept 2026 · Analysed npm/@gpambrozio/onshape-mcp@0.1.2

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.1.2
Rekor log index 2907221075
Predicate type https://slsa.dev/provenance/v1
Subject digest sha512:e97be88799902314905d7e3785416718f81012328ed4f147dcadeb541aa1655921b5fb519b50fd2485478199ff24df92f783b312a4fc46272e63e2cb1

Background: How many MCP packages publish verified provenance →

Dependencies 121 packages
Packages resolved 121
Stale 34
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 87 exposed · ~12,547 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_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.
outstringOutput PNG path (default onshape-thumb-<timestamp>.png).
return_imagebooleanAlso return the PNG inline (default true).
sizestringThumbnail 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 ~200

Extrude a sketch as a cut (op=REMOVE). Sketch a circle first, then cut it through the body.

NameTypeReqDescription
depthnumberyesCut depth in inches; make it deeper than the body to cut through.
depth_variablestringUse 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.
namestringFeature name shown in the tree (default "Hole").
sketchstringyesFeature id of the sketch to cut with.
validatebooleanRe-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 ~220

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

NameTypeReqDescription
configurationstringEncoded 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.
is_assemblybooleanThe source element is an assembly.
partstringPart id, to insert a single part.
src_docstringSource document id (defaults to the target document).
src_elemstringyesElement id of the source Part Studio or assembly.
src_versionstringSource version id, required when inserting across documents.
whole_studiobooleanInsert 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.
directionstringFeatureScript query selecting the direction entity.
direction_idsarrayDeterministic 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.
namestringFeature name shown in the tree (default "Linear Pattern").
oppositebooleanPattern in the opposite direction.
typestringWhat kind of thing is patterned (default PART).
validatebooleanRe-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
filterstringWhich documents to list (default all).
limitintegerHow many to return (default 20).
sort_bystringSort column, e.g. modifiedAt or name (default modifiedAt).
sort_orderstringSort 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_urlstringOnshape API base URL (default https://cad.onshape.com).
client_idstringOAuth client id; also read from ONSHAPE_OAUTH_CLIENT_ID.
client_secretstringOAuth client secret; also read from ONSHAPE_OAUTH_CLIENT_SECRET.
methodstringLogin method (default api_key).
oauth_urlstringOAuth server (default https://oauth.onshape.com).
portintegerLoopback port for the callback (OAuth default 8471).
scopestringSpace-separated OAuth scopes, when the app needs them stated.
storestringWhere to keep the credential: auto (keychain, else file), keychain, or file.
wait_secondsintegerSeconds 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_secondsintegerSeconds 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
configurationstringEncoded 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.
namestringFeature name shown in the tree (default "Mirror").
plane_idsarrayDeterministic id of the mirror plane, e.g. JCC for Front.
plane_querystringFeatureScript query selecting the mirror plane.
typestringWhat kind of thing is being mirrored (default PART).
validatebooleanRe-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_idsarrayDeterministic ids of the plane or face to offset from.
base_planestringDefault plane to offset from (default Front).
base_querystringFeatureScript 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.
namestringFeature name shown in the tree (default "Offset plane").
offsetnumberOffset distance in inches (default 1).
validatebooleanRe-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
bodyJSON request body, for POST.
methodstringyesHTTP method.
paramsobjectQuery 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
anglenumberRevolve angle in degrees (default 360).
axisstringFeatureScript query selecting the axis.
axis_idsarrayDeterministic 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.
namestringFeature name shown in the tree (default "Revolve").
opstringNEW makes a new body; ADD/REMOVE/INTERSECT combine with existing bodies (default NEW).
sketchstringyesFeature id of the sketch holding the profile.
typestringFULL revolves all the way around (default FULL when an axis is given).
validatebooleanRe-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
limitintegerHow 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_urlstringOnshape API base URL (default https://cad.onshape.com).
secret_keystringyesOnshape secret key.
storestringWhere 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_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.
partstringPart 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 ~208

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.

NameTypeReqDescription
descriptionstringWhat 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 #.
typestringVariable 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
configurationstringEncoded 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.
heightintegerImage height in pixels (default 340).
kindstringElement kind being exported (default partstudios).
no_edgesbooleanHide edges in the render.
outstringOutput PNG path (default onshape-<timestamp>.png in the output directory).
return_imagebooleanAlso return the PNG inline (default true).
view_matrixstring3x4 row-major camera matrix as 12 comma-separated numbers (default isometric).
widthintegerImage 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.
facesarrayDeterministic ids of faces to remove.
namestringFeature name shown in the tree (default "Shell").
outwardbooleanThicken outward instead of inward.
querystringFeatureScript query selecting the faces to remove.
thicknessnumberWall thickness in inches (default 0.125).
thickness_variablestringUse a Part Studio variable for the thickness.
validatebooleanRe-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
bottomnumberY 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_anglenumberSweep of the hook in degrees (default 210).
hook_radiusnumberyesRadius of the hook, inches.
namestringFeature name shown in the tree (default "Candy cane centerline").
planestringDefault plane to sketch on (default Front).
segmentsintegerTotal segments used to approximate the path (default 24).
straight_heightnumberyesLength of the straight stem, inches.
validatebooleanRe-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.
xnumberX position of the stem (default 0).

No output schema declared.

No examples provided.

onshape_sketch_circle ~199

Add a sketch holding one circle.

NameTypeReqDescription
centeryesCircle 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.
namestringFeature name shown in the tree (default "Sketch circle").
planestringDefault plane to sketch on (default Front).
plane_featurestringSketch on a face created by this feature id instead of a default plane.
radiusnumberyesRadius in inches.
validatebooleanRe-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_endyesAxis end. As [x, y] inches or "x,y".
axis_startyesAxis start. As [x, y] inches or "x,y".
centeryesCircle 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.
namestringFeature name shown in the tree (default "Sketch circle and axis").
planestringDefault plane to sketch on (default Front).
radiusnumberyesRadius in inches.
validatebooleanRe-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.
endyesEnd point. As [x, y] inches or "x,y".
namestringFeature name shown in the tree (default "Sketch").
planestringDefault plane to sketch on (default Front).
plane_featurestringSketch on a face created by this feature id instead of a default plane.
startyesStart point. As [x, y] inches or "x,y".
validatebooleanRe-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
corner1yesFirst corner. As [x, y] inches or "x,y".
corner2yesOpposite 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.
namestringFeature name shown in the tree (default "Sketch").
planestringDefault plane to sketch on (default Front).
plane_featurestringSketch on a face created by this feature id instead of a default plane.
validatebooleanRe-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.
namestringFeature name shown in the tree (default "Sweep").
opstringNEW 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.
validatebooleanRe-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.
midplanebooleanGrow symmetrically about the sketch plane.
namestringFeature name shown in the tree (default "Thicken").
opstringNEW makes a new body; ADD/REMOVE/INTERSECT combine with existing bodies (default NEW).
oppositebooleanThicken in the opposite direction.
sketchstringyesFeature id of the sketch to thicken.
thicknessnumberyesThickness in inches.
thickness_variablestringUse a Part Studio variable for the thickness.
validatebooleanRe-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
absolutebooleanTreat 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_document ~67

Change a document's name or description.

NameTypeReqDescription
descriptionstringNew description.
docstringyesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
namestringNew 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_bodiesintegerFail unless it has exactly this many bodies.
expect_partsintegerFail 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.

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 80 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 24 September 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 87 tools: onshape_login, onshape_login_status, onshape_set_api_key, onshape_auth_status, onshape_logout, and 82 more. Their descriptions and schemas cost roughly 12,547 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 24 September 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.