MCP server and FreeCAD addon that let Claude Desktop and other clients create and edit 3D models, run Python in FreeCAD, insert parts from the FreeCAD library, take view screenshots and run CalculiX FEM analyses.
Onshape FeatureScript MCP Server
Summary
PTC's MCP server for Onshape: describe a custom CAD feature in plain language and have an AI write, insert, run and debug the FeatureScript until it works.
Features
- Generates FeatureScript for custom parametric CAD features from plain language
- Inserts code into an Onshape document, runs it and reads the result
- Iterates on errors until the feature behaves as described
- Finished features run natively with no recurring AI token cost
- Streamable HTTP endpoint usable from Claude, ChatGPT and Gemini
Installation
Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.
Description
An unusual MCP server: this one puts a CAD kernel behind the protocol. Onshape is PTC's cloud-native CAD and PDM platform, and FeatureScript is its open language for authoring custom parametric features — the mechanism behind every built-in feature in Onshape, available to users who want one that does not exist yet.
Writing FeatureScript has historically been the preserve of a small group of engineers who learned the language. The MCP server changes the loop: an engineer describes the feature they want, and the AI client generates FeatureScript, inserts it into an Onshape document, executes it, reads the result or the error, and iterates until the feature behaves. Text becomes code becomes geometry, with the CAD kernel — not the model — deciding whether it worked.
The economics are worth noting. Once a custom feature exists it is a normal Onshape feature: it runs in the document without further AI token cost, and can be reused across parts and shared with a team. The AI expense is a one-off authoring cost, not a per-use one.
Connecting
The server is a streamable HTTP endpoint at https://fs-mcp.labs.onshape.app/mcp. You need an Onshape account signed in, and a subscription to the FeatureScript MCP from the Onshape App Store. It works with coding-capable LLM clients including Claude, ChatGPT and Gemini.
Availability
Delivered through Onshape Labs, PTC's early-access programme for experimental AI and automation workflows, launched July 2026 alongside AI agents, drawing validation, AI-assisted rendering and robotics simulation. Treat it as early access rather than a GA feature.
Related MCP Servers
See all Onshape FeatureScript MCP Server alternativesMCP: MATLAB MCP Server
by MathWorks
MathWorks' official MCP server: let Claude Code, Copilot or Codex run MATLAB code, lint it and execute unit tests on your local install.
21st.dev's hosted MCP server: search React UI components, themes and templates, pull their code into your project, and generate UI with 21st AI when enabled.
MCP: UI5 MCP Server
by SAP
SAP's official MCP server for UI5 development: scaffold apps, lint code, validate manifests and pull API docs into your AI agent.
