Onshape MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Onshape MCP Server
Enhanced Model Context Protocol (MCP) server for programmatic CAD modeling with Onshape.
β¨ Features
π Document Discovery - Search and list projects, find Part Studios
π Parametric Sketching - Create sketches with rectangles, circles, lines
βοΈ Feature Management - Extrudes, fillets, chamfers, feature trees
π© Mechanical Components - Create gears with customizable parameters
π― Edge Query & Discovery - Find edges by radius, type, or feature
π Variable Tables - Read/write parametric design variables
π€ Full Automation - Build complete CAD workflows
Related MCP server: onshape-mcp
π Quick Start
Prerequisites
Python 3.10+
Onshape account with API access
Setup
git clone https://github.com/clarsbyte/onshape-mcp.git
cd onshape-mcp
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -e .Get API Keys
Go to Onshape Developer Portal
Create API key β copy Access Key and Secret Key
Configure Gemini CLI
Add to your Gemini CLI configuration file (typically ~/.config/gemini-cli/settings.json):
{
"mcpServers": {
"onshape": {
"command": "/absolute/path/to/onshape-mcp/venv/bin/python",
"args": ["-m", "onshape_mcp.server"],
"env": {
"ONSHAPE_ACCESS_KEY": "your_access_key",
"ONSHAPE_SECRET_KEY": "your_secret_key"
}
}
}
}Usage
onshape-mcp # Run serverAsk Gemini CLI: "Create a mechanical part with variable dimensions""
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
Related MCP Connectors
Parametric CAD as code: model 3D-printable parts on an exact B-rep kernel, measured.
Headless CAD engine & MCP server for 2D/3D drafting, solids, DXF/SVG export, and automation.
Parametric 3D CAD for AI agents: build print-ready parts, check them, export STL, 3MF or STEP.
Run 3D CAD operations, pipelines, parametric models and STEP conversions on CAD Cloud with a key
Related MCP Servers
- FlicenseBqualityBmaintenanceEnables programmatic CAD modeling with Onshape's REST API, offering 45 tools for parametric sketches, feature management, assemblies, analysis, variables, and exports.48166-
- AlicenseNot gradedqualityDmaintenanceEnables Claude Code to drive OnShape CAD through the REST API for parametric modeling, FeatureScript queries, and STL export/verification.MIT
- AlicenseBqualityCmaintenanceEnables OpenAI Codex to drive real Onshape parametric CAD via 69 tools for documents, sketches, features, assemblies, parametric updates, FeatureScript, vision, and export.69MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to drive Onshape CAD with 87 tools for documents, part studios, sketching, solid features, assemblies, drawings, measurement, and export, including zero-configuration browser sign-in.93156 npm7MIT