Drive Onshape CAD from an assistant: documents, sketches, solid features, assemblies and exports.
Connect Runs on your machine
claude mcp add onshape -e ONSHAPE_ACCESS_KEY=<ONSHAPE_ACCESS_KEY> -e ONSHAPE_SECRET_KEY=<ONSHAPE_SECRET_KEY> -e ONSHAPE_MCP_OUTPUT_DIR=<ONSHAPE_MCP_OUTPUT_DIR> -- npx -y @gpambrozio/[email protected]
{
"mcpServers": {
"onshape": {
"command": "npx",
"args": [
"-y",
"@gpambrozio/[email protected]"
],
"env": {
"ONSHAPE_ACCESS_KEY": "<ONSHAPE_ACCESS_KEY>",
"ONSHAPE_SECRET_KEY": "<ONSHAPE_SECRET_KEY>",
"ONSHAPE_MCP_OUTPUT_DIR": "<ONSHAPE_MCP_OUTPUT_DIR>"
}
}
}
}
{
"mcpServers": {
"onshape": {
"command": "npx",
"args": [
"-y",
"@gpambrozio/[email protected]"
],
"env": {
"ONSHAPE_ACCESS_KEY": "<ONSHAPE_ACCESS_KEY>",
"ONSHAPE_SECRET_KEY": "<ONSHAPE_SECRET_KEY>",
"ONSHAPE_MCP_OUTPUT_DIR": "<ONSHAPE_MCP_OUTPUT_DIR>"
}
}
}
}
{
"servers": {
"onshape": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@gpambrozio/[email protected]"
],
"env": {
"ONSHAPE_ACCESS_KEY": "<ONSHAPE_ACCESS_KEY>",
"ONSHAPE_SECRET_KEY": "<ONSHAPE_SECRET_KEY>",
"ONSHAPE_MCP_OUTPUT_DIR": "<ONSHAPE_MCP_OUTPUT_DIR>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
ONSHAPE_ACCESS_KEYOptional, secret | Onshape API access key. Optional: the server signs in through the browser when this is not set. |
ONSHAPE_SECRET_KEYOptional, secret | Onshape API secret key, paired with ONSHAPE_ACCESS_KEY. |
ONSHAPE_MCP_OUTPUT_DIROptional | Directory for exported STL/STEP files and renders. Defaults to the working directory. |
Details
| Package | @gpambrozio/[email protected] (NPM, stdio) |
| First published | 28 Oct 2026 |
| Last updated | 28 Oct 2026 |
| Registry name | io.github.gpambrozio/onshape |
More files and documents servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
