Onshape MCP Server
Enables programmatic CAD modeling with Onshape through document discovery, parametric sketching, feature management, and gear creation.
README
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
🚀 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 server
Ask Gemini CLI: "Create a mechanical part with variable dimensions""
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.