MCP CAD Studio MCP Server
A self-contained parametric CAD studio MCP server with an interactive MCP App.
MCP CAD Studio scores 63 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 13 tools. Filed under Uncategorized. GitHub shows 4 stars. Package registries report about 93 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
63 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
85/100 for listing completeness. Lost points: 3 of 13 tools barely described, short summary, no docs link.
How quality is graded
Where the 63 comes from
22 + 15 + 2 + 10 + 4 + 10 = 63. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 15 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "flujo-app-mcp-cad-studio": { "command": "npx", "args": [ "-y", "mcp-cad-studio@0.2.2" ] } }}
Environment variables
This server does not declare environment variables.
Tools13Tool docs quality grade D
All capabilitiesboolean_modelstoolUnion, subtract, or intersect saved models into a new model
create_modeltoolCreate a model from a declarative shape tree
delete_modeltoolPermanently delete a model
duplicate_modeltoolMake an editable copy
export_modeltoolExport ASCII STL/OBJ data
generate_modeltoolCreate a template model, or regenerate one in place by modelId
import_modeltoolImport STL/OBJ text or base64 data
list_modelstoolList saved models and revisions
load_modeltoolLoad the parametric document and its render mesh
studio_uitoolOpen the interactive MCP App and optionally select a model
transform_modeltoolApply an incremental translation, rotation, or scale
update_modeltoolPatch or replace a model's definition, name, or color in place
About
MCP CAD Studio
A self-contained parametric CAD workspace delivered as an MCP server and an interactive MCP App. Agents can create and edit models through tools; people can work on the same models in a live 3D studio rendered inside any compatible host.
What it does
- Renders a full 3D editor through the
studio_uitool. - Creates boxes, spheres, cylinders, cones, polygon extrusions, imported meshes, transforms, and nested union/difference/intersection trees.
- Generates editable brackets, pipes, gears, enclosures, and bolts.
- Loads, patches, regenerates, and deletes persistent model documents with optimistic revision checks.
- Preflights extrusion outlines and raw meshes with actionable topology diagnostics before they reach the CAD kernel.
- Imports ASCII/binary STL and OBJ; exports ASCII STL and OBJ.
- Keeps an open app synchronized with model-initiated MCP tool calls.
- Runs over stdio or Streamable HTTP, with direct HTTPS support.
- Uses a bundled WebAssembly CAD kernel—no OpenSCAD, Python, compiler, Docker, or native CAD installation is needed.
The server's data tools are UI-independent. A client that cannot render MCP Apps can still perform every CAD operation and receive structured model/mesh data.
Install
Node.js 20 or later is the only runtime requirement. The CAD engine and all JavaScript dependencies install with the package.
Run the published npm package:
npx -y mcp-cad-studio --stdio
Or clone and build:
git clone https://github.com/flujo-app/mcp-cad-studio.git
cd mcp-cad-studio
npm install
npm run build
npm start -- --stdio
MCP client configuration (stdio)
{
"mcpServers": {
"cad-studio": {
"command": "npx",
"args": ["-y", "mcp-cad-studio", "--stdio"]
}
}
}
Models persist by default to ~/.mcp-cad-studio/models.json. Use
--data-file <path> to choose another file or --no-persist for an in-memory
session.
HTTPS / Streamable HTTP
Run a local HTTPS endpoint with a generated self-signed certificate:
mcp-cad-studio --transport https --host 127.0.0.1 --port 8787
For a remotely reachable production server, use a trusted certificate:
mcp-cad-studio --transport https \
--host 0.0.0.0 \
--port 8787 \
--tls-cert /run/secrets/fullchain.pem \
--tls-key /run/secrets/privkey.pem
The MCP endpoint is /mcp; a read-only health endpoint is available at
/health. TLS termination at a reverse proxy is also supported—run with
--transport http behind the proxy.
MCP tools
| Tool | Purpose |
|---|---|
studio_ui | Open the interactive MCP App and optionally select a model |
list_models | List saved models and revisions |
load_model | Load the parametric document and its render mesh |
create_model | Create a model from a declarative shape tree |
generate_model | Create a template model, or regenerate one in place by modelId |
update_model | Patch or replace a model's definition, name, or color in place |
validate_shape | Preflight a shape without saving it |
transform_model | Apply an incremental translation, rotation, or scale |
boolean_models | Union, subtract, or intersect saved models into a new model |
duplicate_model | Make an editable copy |
delete_model | Permanently delete a model |
import_model | Import STL/OBJ text or base64 data |
export_model | Export ASCII STL/OBJ data |
All mutating results include models, activeModel, and mesh in
structuredContent, so the UI and model see the same canonical state. Model
creation is reserved for genuinely separate models. For revisions, first call
load_model, then pass its modelId and revision back as
expectedRevision to update_model, generate_model, or delete_model.
Updating without creating copies
update_model preserves the model ID and supports either a complete replacement
shape or small RFC 6901 JSON-Pointer-style patches. This changes the X size of
a saved box without resending its whole definition:
{
"modelId": "5e44fd24-b7df-450a-a7bb-31c95496832f",
"expectedRevision": 3,
"patches": [
{ "op": "replace", "path": "/shape/size/0", "value": 80 }
]
}
Patches can target /shape, /name, or /color and are applied in order.
add, replace, and remove are supported. The completed definition is
schema-checked and geometry-checked before the saved model is changed.
For template-level edits, such as changing a gear's tooth count, call
generate_model with the existing modelId and expectedRevision. The
template is regenerated into the same document instead of creating another
model.
Parametric model format
create_model and update_model accept a recursive shape tree. For example, a
plate with a cylindrical hole:
{
"name": "Mounting plate",
"color": "#60a5fa",
"shape": {
"kind": "difference",
"children": [
{ "kind": "box", "size": [80, 50, 6], "center": true },
{
"kind": "cylinder",
"height": 8,
"radius": 5,
"segments": 48,
"center": true
}
]
}
}
Every node can include a transform:
{
"transform": {
"translation": [10, 0, 4],
"rotation": [0, 0, 45],
"scale": [1, 1, 1]
}
}
Rotations use degrees. Dimensions are unit-agnostic in the kernel; the studio labels them as millimeters.
Shape objects are strict: misspelled or unsupported fields produce an error
instead of being silently ignored. validate_shape checks a draft without
saving and reports JSON paths, error codes, and suggested repairs. Checks
include:
- repeated, zero-length, zero-area, and self-intersecting extrusion outlines;
- incomplete or out-of-range mesh arrays and degenerate triangles;
- open boundaries, edges shared by too many faces, inconsistent winding, and disconnected surface fans at a vertex;
- shape-tree and twisted-extrusion complexity limits;
- final verification by the Manifold CAD kernel.
If the kernel still rejects a shape, its status is translated into guidance for non-finite vertices, non-manifold geometry, invalid construction, oversized results, and the other kernel status classes.
Architecture
flowchart LR
A[Agent or person] --> H[MCP host]
H <-->|stdio or Streamable HTTP/S| S[MCP CAD Studio server]
H <-->|MCP Apps JSON-RPC bridge| U[Interactive CAD app]
U -->|tools/call| H
S --> P[Persistent parametric documents]
S --> K[Bundled Manifold WebAssembly kernel]
K --> M[Render mesh and STL/OBJ]
M --> S
The studio_ui tool links to ui://cad-studio/studio.html with
_meta.ui.resourceUri. The component uses the stable MCP Apps bridge
(ui/initialize, ui/notifications/*, and tools/call) rather than requiring
host-specific globals. Model polling is revision-aware, making external tool
edits visible in an already-open editor.
Development
npm install
npm run check
npm run check performs strict TypeScript checking, 16 kernel/store/protocol/
transport tests, and a production build. The test suite uses the real
WebAssembly geometry engine and both in-memory and Streamable HTTP MCP clients.
Useful commands:
npm run dev # HTTP development server on port 8787
npm test # Vitest suite
npm run typecheck # TypeScript only
npm run build # bundle the MCP App and server
npm pack # verify the single-package artifact
To publish the current version to npm:
npm run release
The release command signs in through npm when necessary, runs the complete check suite, publishes the package publicly, and confirms that npm serves the version. It is safe to rerun: if that exact version is already published, it verifies the project and skips the duplicate publish.
Run npm run release:check to validate the release helper without publishing.
Security notes
- Tool schemas cap shape depth, node count, mesh size, and imported file size.
- Mutation tools accurately declare read-only/destructive/open-world hints.
expectedRevisionprevents accidental overwrites and stale deletion during concurrent editing.- Patch paths are restricted to editable model fields and reject prototype traversal.
- The app resource declares an empty external-resource/connect CSP.
- A generated self-signed certificate is intended for local development only.
- Authentication is deployment-specific. Put remote multi-user instances behind an authenticated gateway and enforce per-user authorization there.
License
MIT
Frequently asked questions
What is MCP CAD Studio MCP Server?
A self-contained parametric CAD studio MCP server with an interactive MCP App.
How do I install MCP CAD Studio MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. MCP CAD Studio MCP Server runs locally from the npm package mcp-cad-studio with the command npx -y mcp-cad-studio@0.2.2.
Is MCP CAD Studio MCP Server free and open source?
Yes. MCP CAD Studio MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does MCP CAD Studio MCP Server support remote (HTTP) connections?
No remote endpoint is listed for MCP CAD Studio MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does MCP CAD Studio MCP Server provide?
MCP CAD Studio MCP Server provides 13 tools, including boolean_models, create_model, delete_model, and duplicate_model. See the full tool list for descriptions and parameters.
How is MCP CAD Studio MCP Server's trust score calculated?
MCP CAD Studio MCP Server scores 63 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.