Plasticity MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Plasticity MCP Connect to my Plasticity window and measure the volume of the selected body"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Plasticity MCP
Control Plasticity from an MCP client: inspect and measure native CAD geometry, create and edit models, and export the result. An optional Workbench supports model review, dimensional feedback, and print preparation.
Runs locally on macOS Apple Silicon with Plasticity 26.1.3. The MCP server connects to a Plasticity window selected by the user; it cannot run as a standalone cloud CAD service.
CAD workflow | What the server provides |
Inspect | Scene state, precise B-rep measurements, and references to bodies, faces, and edges |
Model | Native creation and editing with document history, Undo, and Redo |
Deliver | Document operations, import/export, and camera screenshots |
Review | Optional local Workbench with measurement tables, dimensional feedback, and tablet annotations |
The server uses Plasticity's own command factories and document history through a loopback-only Electron CDP endpoint. It does not patch or re-sign the application. MCP geometry inputs use millimeters and degrees; native edits support Plasticity Undo and Redo.
What it provides
Native Plasticity scene inspection, precise B-rep measurements, and revision-bound references to bodies, faces, and edges.
Native CAD creation and editing, document operations, import/export, and camera screenshots.
Agent guidance and workflows for image/sketch-driven design, functional clarification, fasteners, and practical strength screening.
Optional Workbench for viewing models and measurement tables, submitting validated dimensional feedback, and tablet annotations on the same local network.
Optional Creality Print workflow for slicing and print-job preparation. The agent waits for explicit user confirmation before starting a print.
See the full tool reference, acceptance matrix, and Workbench operations guide for details and current verification status.
Related MCP server: cadtokens
Requirements
macOS on Apple Silicon
Plasticity 26.1.3 installed at
/Applications/Plasticity.appNode.js 24 or newer
Codex CLI for the Git-backed plugin installation below
This is an early, version-specific project. Live CAD and slicer operations depend on the installed applications and are not covered by mock tests alone. Check the acceptance matrix before relying on a specific operation.
Install and run
git clone https://github.com/Mesteriis/plasticity-mcp.git
cd plasticity-mcp
npm install
npm run start:plasticity
npm run setup:codexsetup:codex adds this GitHub repository as a Codex plugin marketplace and installs the plasticity-mcp plugin from Git. It records this checkout's path in a private file under ~/.plasticity-mcp so the two MCP servers can run the checked-out code and its installed dependencies. No machine-specific paths are committed. Open a new Codex chat after installation.
To use the MCP server without the plugin, register it directly instead:
codex mcp add plasticity -- npm --prefix "$PWD" startAsk the agent to call plasticity_list_windows, then connect to an explicitly selected window with plasticity_connect.
The default MCP catalog shows the core connect, inspection, change-tracking, and screenshot tools plus plasticity_call. For any other operation, use plasticity_call with toolName: "catalog" and a search query to get its name and input schema, then call it through the same dispatcher. The full catalog remains available with npm run start:full; existing handlers and validation are the same in both modes.
The launcher does not terminate an existing Plasticity process to add MCP access. If it reports that a restart is needed, save your documents, close Plasticity yourself, then rerun the command. CDP listens on loopback only.
Optional Workbench
The Workbench is not required for chat-based use. Start it on the local machine with:
npm run start:workbenchIn another terminal on the same Mac, run npm --workspace workbench run open:owner to open an authenticated owner session. The server address alone does not grant owner access.
To make it reachable by a tablet on the same private network, run npm run start:workbench -- --lan; the server prints its local address. Do not expose it to the public internet. Follow the Workbench guide for registration, sharing, backup, and recovery.
Development
npm test
npm run typecheck
npm --prefix workbench test
npm --prefix workbench run typecheck
npm --prefix workbench run buildLive acceptance checks use a real Plasticity session and can mutate a document. Read the corresponding acceptance guide and explicitly select a disposable test document before running them; they are not part of the default test suite.
Safety and scope
Mutations are serialized and checked against the current document revision; stale references are rejected.
After a timeout or lost connection during a mutation, inspect/reconcile the scene before issuing another change.
Workbench dimensional inputs are validated in the browser and again on the server.
Print submission and starting a print are separate actions; starting requires explicit user confirmation.
This project does not replace Plasticity, provide certified engineering analysis, or guarantee printability or part strength. Strength tools are screening calculations whose assumptions and limitations must be reviewed.
Contributing and support
Read CONTRIBUTING.md before opening a pull request. Report security issues using the private reporting process in SECURITY.md. See SUPPORT.md for bug reports, feature requests, and usage questions. Contributions are released under the MIT License, with copyright attributed to Aleksand Meshchriakov.
Available Tools
11 toolsplasticity_body_infoBRead-only
Read one body from the current document revision.
Inputs: id (required).
plasticity_callPlasticity tool catalog and dispatcherADestructive
Browse the bounded catalog of registered Plasticity MCP operations or invoke one by its exact tool name. Use toolName='catalog' with query/offset/limit to read descriptions and JSON input schemas; set toolName to a returned operation name and pass its arguments object to invoke it. Only registered MCP operations are callable; the selected operation's original Zod schema and safety checks are applied. This is not JavaScript execution.
Inputs: limit, query, offset, toolName, +1 more.
plasticity_capture_snapshotARead-only
Capture an in-memory scene baseline before manual edits. Returns only the snapshot ID, document/revision identity and object counts; use that ID with plasticity_changes_since or plasticity_wait_for_change.
Inputs: label.
plasticity_changes_sinceARead-only
Return a structured diff from a captured scene baseline. Exact changed-body B-Rep descriptors are summarized and paginated (bodyOffset default 0, bodyLimit default 20, maximum 100); follow bodyPagination.nextOffset with expectedRevision set to current.revision. Use plasticity_body_info for detailed topology of selected bodies. The diff also reports sketch Regions, construction planes, materials, visibility, instances, groups, and selection. Check sceneChanged for a reportable scene edit; revisionChanged can be true without a reportable scene diff.
Inputs: snapshotId (required), bodyLimit, bodyOffset, expectedRevision.
plasticity_connectADestructive
Connect this MCP process to one explicit Plasticity window and return its compact initial scene summary. Body bounds/counts are paginated; use plasticity_body_info for exact topology of a selected body.
Inputs: targetId (required).
plasticity_current_selectionARead-only
Read bodies, linked instances, approximate reference meshes, groups, faces, edges, regions, and native Wire boundary/control handles currently selected by the user in Plasticity.
Inputs: no named parameters.
plasticity_list_bodiesARead-only
List exact native B-Rep body details with topology IDs. Results are paginated (bodyOffset default 0, bodyLimit default 10, maximum 100); follow bodyPagination.nextOffset and pass the previous page's revision as expectedRevision so edits cannot mix pages. Prefer plasticity_body_info when only one body is needed. Cone faces also report native basis radius, axis origin/direction, and semi-angle in radians when Plasticity provides them.
Inputs: bodyLimit, bodyOffset, expectedRevision.
plasticity_list_windowsBRead-only
List Plasticity document windows exposed on loopback CDP.
Inputs: no named parameters.
plasticity_reconcileARead-only
Read the document after a timeout or disconnect and allow later mutations without retrying the uncertain command.
Inputs: no named parameters.
plasticity_screenshotA
Save a PNG screenshot of the visible Plasticity renderer viewport to a new file without overwriting. Refuses hidden windows to avoid stale frames.
Inputs: path (required).
plasticity_statusARead-only
Read a compact document summary with identity, revision, exact body bounds, topology counts, and Undo/Redo state. Body summaries are paginated with bodyOffset/bodyLimit (default 0/50, maximum 200); follow bodyPagination.nextOffset and pass the prior page's revision as expectedRevision so scene edits cannot mix pages. Use plasticity_body_info for exact face/edge/vertex geometry of one body, or plasticity_list_bodies for paginated topology details.
Inputs: bodyLimit, bodyOffset, expectedRevision.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Most tools have clearly distinct purposes, and the descriptions explicitly steer between overlapping read tools like plasticity_status, plasticity_list_bodies, and plasticity_body_info. plasticity_call overlaps with every specific operation since it can invoke registered operations, but its catalog/invoke role is clearly described.
All tools consistently use the plasticity_ prefix and snake_case, making them predictable at a glance. However, the suffixes mix verb_noun patterns (list_bodies, capture_snapshot) with noun phrases (status, body_info, screenshot), so the convention is not fully uniform.
With 11 tools, the server is well-scoped: it has dedicated tools for window connection, scene inspection, snapshot/diff workflows, recovery, screenshots, and generic operation invocation. No tool appears redundant enough to remove, and the count is in the ideal range for a focused MCP server.
The surface covers inspection, connection, snapshot/diff, reconciliation, screenshots, and generic operation invocation via plasticity_call. However, plasticity_capture_snapshot references plasticity_wait_for_change, which is absent from the tool set, and there are no explicit mutation or undo/redo wrappers, leaving notable gaps.
Maintenance
Related MCP Connectors
Fast multi-format CAD previews, geometry checks and conversion; measure and share in the workspace.
Global CAD/BIM, industrial engineering (FEM, CFD) and property tools via one MCP endpoint.
Read and edit the Revit 2024–2027 model on your PC. Needs the free Revit MCP add-in.
Headless CAD engine & MCP server for 2D/3D drafting, solids, DXF/SVG export, and automation.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables people and general-purpose AI agents to inspect, model, edit, verify, and export local 3D projects through MCP tools, including print preparation, without requiring a hosted 3D service key.10MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients and AI agents to read and query semantic PMI/GD&T from local STEP AP242 files, including characteristic lists, datum reference frames, per-face tolerances, data-quality warnings, and exports to CSV, JSON, or ballooned PDF reports.2Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to inspect, edit in memory, rebuild, render, and export SOLIDWORKS 2016+ parts, assemblies, and drawings on the same PC or in a Windows VM. It provides 13 tools with read-only defaults and controlled export/save behavior.279 npm5MIT
- FlicenseNot gradedqualityBmaintenanceEnables users to create and manage workspace-scoped CAD contracts, build and validate STEP-backed geometry, generate technical drawings and proof renders, audit models, and sample motion through bounded MCP tools.-