How Onshape Labs FeatureScript MCP Server Enables Text-to-Code-to-CAD Welcome, !<br>Customer Home Open Onshape
Create a Student Account Sign in
Sign up now
Create a Student Account
Sign up now
Download the Onshape Mobile App<br>IOS Android
p.content]:text-sm">
08/11/2026<br>Blog,News from Onshape @ PTC,Artificial Intelligence,Custom Features<br>From Onshape Labs, the FeatureScript MCP Server: The Fastest Path to AI-Driven Design
Cody Armstrong
READ TIME:<br>06:54
Summary<br>The FeatureScript MCP Server from Onshape Labs enables text-to-code-to-CAD workflows by connecting AI clients to FeatureScript.<br>Generate, test, and refine custom Onshape features using natural-language prompts.<br>Create reusable, editable, parametric CAD tools without programming expertise.
What if you could describe a custom CAD feature in plain language and have AI turn it into a reusable engineering tool?<br>That’s the idea behind the FeatureScript MCP Server from Onshape Labs. By connecting AI clients such as Claude, ChatGPT, or Gemini directly to FeatureScript, engineers can create custom Onshape features using natural language instead of writing code themselves.<br>Results enable something more than a one-off model or a static piece of geometry. It’s a reusable custom feature that can be shared across teams and used like any other tool in the Onshape toolbar.<br>The FeatureScript MCP Server opens FeatureScript to large language models, allowing AI to communicate in Onshape’s native language. Instead of asking an AI to generate geometry directly, you’re asking it to create the code that defines how geometry is created.<br>How to Get Started with FeatureScript MCP Server<br>To get started with the FeatureScript MCP Server, all you need to do is complete three steps:<br>Have an Onshape account and be signed in<br>Subscribe to the Onshape Labs FeatureScript MCP through the Onshape App Store<br>Connect the MCP server to your AI client of choice using the following URL: https://fs-mcp.labs.onshape.app/mcp<br>Subscribe to FeatureScript MCP
What’s FeatureScript?<br>FeatureScript is Onshape’s built-in programming language for creating and customizing CAD features.<br>Not a separate add-on or macro layer, it’s the same language Onshape developers use to build the platform’s native tools. When you create a custom feature with FeatureScript, it behaves like any other Onshape feature: fully parametric, integrated into the user interface, and supported across browsers, iOS, and Android.<br>Onshape also makes the source code behind its native features publicly available, allowing users to learn how those features work and build their own custom tools. That openness has made FeatureScript one of Onshape’s most powerful capabilities, but until now, it has largely remained the domain of programmers.<br>What’s an MCP Server?<br>MCP stands for Model Context Protocol, an open standard that allows AI applications to interact with external systems.<br>If APIs are how software talks to applications, MCP is how AI talks to applications.<br>The FeatureScript MCP Server gives AI models access to a set of tools that allow them to work with FeatureScript inside Onshape. Rather than simply discussing a design problem, the AI can actively generate, test, and refine FeatureScript to create working custom features.<br>Because MCP is an open protocol, the FeatureScript MCP Server works with any compatible AI client.<br>How the FeatureScript MCP Server Works
The FeatureScript MCP Server is purpose-built to help engineers create FeatureScript using natural language.<br>This connection allows you to simply describe the feature you need. By understanding the language Onshape speaks, AI can generate FeatureScript, insert it into an Onshape document, run it, evaluate the results, identify errors, and revise the code when needed.<br>As AI models continue to improve, the complexity of custom features they can generate will continue to grow as well.<br>What the FeatureScript MCP Server Enables<br>For years, FeatureScript has given engineers the ability to create highly specialized tools tailored to their workflows. The challenge has been that creating those tools required programming knowledge.<br>The FeatureScript MCP Server helps close that gap.<br>Engineers already understand the parts they design, the standards they follow, and the repetitive tasks that slow them down. What many don’t have is the experience required to turn that knowledge into custom engineering tools.<br>Now, mechanical engineers and designers can describe the tool they need in natural language and let AI handle much of the coding process.<br>There are four concrete ways engineers can benefit.<br>Customize CAD Features & Functionality<br>Consider a common workflow, such as creating hydraulic ports.<br>The geometry may be well documented and standardized, but the modeling process can still be repetitive and time-consuming. Traditionally, automating that process required custom programming.<br>With the FeatureScript MCP Server, an engineer can provide the documentation, describe the intended...