Onshape MCP Server
by gpambrozioio.github.gpambrozio/onshapev0.1.2
MCP server for Onshape CAD: 87 tools for documents, part studios, sketching, features, assemblies and export, with browser sign-in.
context tax
queued
security
queued
cold start
queued
freshness
Active18d ago
Install Onshape MCP server
Install in Claude Code
claude mcp add onshape -e ONSHAPE_ACCESS_KEY='<onshape-access-key>' -e ONSHAPE_SECRET_KEY='<onshape-secret-key>' -- npx -y @gpambrozio/onshape-mcpInstall in Cursor
{
"mcpServers": {
"onshape": {
"command": "npx",
"args": [
"-y",
"@gpambrozio/onshape-mcp"
],
"env": {
"ONSHAPE_ACCESS_KEY": "<onshape-access-key>",
"ONSHAPE_SECRET_KEY": "<onshape-secret-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"onshape": {
"command": "npx",
"args": [
"-y",
"@gpambrozio/onshape-mcp"
],
"env": {
"ONSHAPE_ACCESS_KEY": "<onshape-access-key>",
"ONSHAPE_SECRET_KEY": "<onshape-secret-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"onshape": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@gpambrozio/onshape-mcp"
],
"env": {
"ONSHAPE_ACCESS_KEY": "<onshape-access-key>",
"ONSHAPE_SECRET_KEY": "<onshape-secret-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"onshape": {
"command": "npx",
"args": [
"-y",
"@gpambrozio/onshape-mcp"
],
"env": {
"ONSHAPE_ACCESS_KEY": "<onshape-access-key>",
"ONSHAPE_SECRET_KEY": "<onshape-secret-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| ONSHAPE_ACCESS_KEY | — | yes | Onshape API access key. Optional: the server signs in through the browser when this is not set. |
| ONSHAPE_SECRET_KEY | — | yes | Onshape API secret key, paired with ONSHAPE_ACCESS_KEY. |
| ONSHAPE_MCP_OUTPUT_DIR | — | — | Directory for exported STL/STEP files and renders. Defaults to the working directory. |
Freshness
Active — last maintenance signal 18d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-21 · 18d ago · GitHub
Latest release
2026-09-21 · 18d ago · GitHub · v0.1.2
Package published
no data · npm/PyPI
Registry entry updated
2026-09-21 · 18d ago · official registry · v0.1.2
FAQ
›How do I install the Onshape MCP server in Claude Code?
Run: claude mcp add onshape -e ONSHAPE_ACCESS_KEY='<onshape-access-key>' -e ONSHAPE_SECRET_KEY='<onshape-secret-key>' -- npx -y @gpambrozio/onshape-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Onshape require an API key?
Yes. It expects ONSHAPE_ACCESS_KEY, ONSHAPE_SECRET_KEY, of which 2 are secrets.
›Can I use Onshape as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Onshape in the official MCP registry?
Yes, as io.github.gpambrozio/onshape.
Alternatives to Onshape
Other browser automation MCP servers.