3DP MCP Server
Allows publishing STL/STEP files to GitHub Releases.
Allows searching for and publishing 3D models to Thingiverse.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
3DP MCP Server
MCP server that gives Claude the ability to create 3D-printable CAD models using build123d. Outputs STL, STEP, and 3MF files ready for slicing in Bambu Studio, OrcaSlicer, or PrusaSlicer.
Version 2.0.0 — see What's new in 2.0, including two breaking changes. Release history is in CHANGELOG.md.
With it, Claude can:
model a part from a description, then look at a rendered preview of the result
check printability: measured wall thickness, overhangs, fit on your printer's bed
pick a print orientation, split or pack parts, and estimate filament, cost, and time
generate enclosures, hinges, gears, dovetails, snap-fits, threaded holes, and labels
generate standard hardware: real threads, screws, nuts, bearings, sprockets, flanges, extrusions
import and modify existing STL, 3MF, and STEP files
publish to GitHub Releases, Thingiverse, MyMiniFactory, or Cults3D
Also available as a Claude Code plugin — install it and all 45 tools and 7 skills are available automatically.
Install as Plugin (Recommended)
Add the marketplace and install the plugin from within Claude Code:
/plugin marketplace add brs077/3dp-mcp-server
/plugin install 3dp-mcp-server@3dp-toolsThe plugin sets up a Python environment and installs dependencies on first use. Requires Python 3.11+ and uv.
Plugin Skills
Once installed, Claude gains seven workflow skills:
Skill | Use it for |
| Modelling a new part: write, preview, check, fix, export |
| Cases and project boxes for boards and electronics |
| Joints, clearances, hinges, gears, threaded holes |
| Real threads, fasteners, bearings, sprockets, flanges, extrusions |
| Importing and modifying STL, 3MF, or STEP files |
| Orientation, supports, bed fit, packing, multi-colour, estimates |
| Sharing a finished model |
Related MCP server: onshape-cad MCP server
Manual Setup (Alternative)
With uv:
git clone https://github.com/brs077/3dp-mcp-server.git
cd 3dp-mcp-server
make install
claude mcp add 3dp-mcp-server -- uv run --directory "$(pwd)" threedp-mcpWithout uv, bash setup.sh creates a virtual environment with pip, installs the package, and registers the server with Claude Code.
If you run Claude Code inside the cloned repository, you can skip the claude mcp add step: the repository's .mcp.json offers the server as a project server, and Claude Code asks you to approve it on first start.
To load the repository as a local plugin instead (tools and skills):
claude plugin add /path/to/3dp-mcp-serverUpgrading from 1.x
Pull, then run make install (or re-run setup.sh). This reinstalls the dependencies at the versions 2.0 needs (mcp 2.x, build123d 0.13.x). Read the breaking changes below first.
What's new in 2.0
Breaking changes
Side names are unified.
front/backnow mean −Y/+Y inadd_text,shell_model, andsplit_model_by_color, matching the preview and drawing views. In 1.x these three tools treatedfrontas +Y.Requires
mcp2.x andbuild123d0.13.x. Versions are capped inpyproject.toml. (mcp2.0 renamedFastMCP, which stopped 1.x from starting at all.)
Smaller behaviour changes:
create_threaded_holemeasures depth from the hole's opening.create_hingealso produces a pin.create_gearneedsbd_warehouseand no longer falls back to an approximate shape.Model names are restricted to letters, digits,
_,-and..The
parametric-componentsskill is replaced bydesign-enclosureanddesign-mating-parts.
New tools
render_preview— shaded PNG of the model, returned to Claude as an imagefillet_model,chamfer_model— round or bevel edges of an existing modelset_printer— printer presets or a custom build volumedelete_model— free memory in long sessions
Fixed
Tools that failed on every call with current
build123d:transform_model,shell_model,section_view,export_drawing, 3MF export, andconvert_formatThe package could not be installed on Linux (
pyproject.tomlnamed a README file that only matched on case-insensitive file systems)Overhang detection was inverted;
suggest_orientationwas scoring on the wrong dataGeometry that reported success but was wrong: threaded holes at half depth, enclosure vents and holes that did not go through, hinge leaves that overlapped, a colour split that did not split, debossed text that cut nothing, sideways text on side faces
Mechanical parts: button-head, pan-head and low-profile screws, flanged nuts, washers and lapped flanges failed with their default settings
estimate_printcould report more filament than the model's volume and gave unrealistic timesHelper functions in
create_modelcode, STL imports with zero volume, splitting a model away from the origin
Improved
analyze_printabilitymeasures minimum wall thickness and checks fit against the selected printercreate_threadcan produce a printable rod or sleeve (solid_body), not just the loose thread ridgeList and object parameters accept native JSON values as well as JSON strings
transform_modelhas aplace_on_bedoperationErrors in model code report the failing line; unavailable fastener and bearing sizes list the available ones
QR labels build in about a second instead of a minute
The test suite exercises every tool against real geometry, and checks the skills and docs against the server
Tools (45)
Core
Tool | Description |
| Execute build123d code, auto-exports STL + STEP; errors point at the failing line of your code |
| Export to STL, STEP, or 3MF |
| Bounding box, volume, surface area, face/edge counts |
| Geometry validity, measured minimum wall thickness, build-volume fit, warnings for unconnected solids |
| List all models in current session |
| Retrieve the code used to create a model |
| Remove a model from the session, optionally with its exported files |
| Show or change the printer profile used for build-volume checks |
Transform & Combine
Tool | Description |
| Scale, rotate, mirror, translate, or place a model on the bed |
| Boolean union, subtract, or intersect two models |
| Import an STL, 3MF, STEP, or BREP file from disk |
Modification
Tool | Description |
| Hollow out a model with optional open sides |
| Split a model along a plane at any position |
| Emboss or deboss upright text onto any side of a model |
| Add tap-drill or heat-set insert holes (M2–M10) in any axis direction |
| Round a model's edges (all, top, bottom, vertical, or horizontal) |
| Bevel a model's edges (all, top, bottom, vertical, or horizontal) |
Analysis & Export
Tool | Description |
| Rough estimate of filament usage, weight, cost, and time |
| Find overhang faces needing support material |
| Rank the 6 axis-aligned print orientations |
| Shaded PNG preview from one or more views, returned as an image |
| Generate 2D cross-section as SVG |
| Multi-view 2D drawing as SVG with hidden lines dashed |
| Split into per-filament STLs for multi-color printing |
Utility
Tool | Description |
| Scale model to compensate for material shrinkage |
| Arrange models on build plate for batch printing |
| Convert between STL, 3MF, STEP, BREP |
Parametric Components
Tool | Description |
| Electronics enclosure with snap/screw lid, vents, cable hole, screw posts |
| Involute spur gear (via bd_warehouse) |
| Cantilever snap-fit joints |
| Pin hinge: two leaves and a pin, modelled with clearance |
| Male or female dovetail joints |
| 3D-printable label with text (auto-fitted) and optional QR code |
Mechanical Parts (bd_warehouse)
Tool | Description |
| ISO metric, ACME, metric trapezoidal, or plastic bottle threads; optional printable rod or sleeve |
| Screws, nuts, washers, heat-set inserts (14 classes) |
| Ball and roller bearing reference models (5 classes) |
| Chain sprockets for ANSI chains |
| ASME B16.5 pipe flanges (5 types) |
| Pipe/tube sections |
| V-Slot rails, C-Beam rails, lead screws |
Community
Tool | Description |
| Search Thingiverse for 3D models |
Publishing
Tool | Description |
| Upload STL/STEP/3MF to GitHub Releases (via |
| Create a Thing and upload STL to Thingiverse |
| Create object and upload STL to MyMiniFactory |
| Create listing on Cults3D via GraphQL API |
See TOOLS.md for parameters, examples, and response formats, or docs/ for the same reference as one page per tool. Credentials for the community and publishing tools are listed in .env.example.
A few conventions hold across all tools:
Sides are named the same way everywhere (text faces, open faces, color slabs, preview and drawing views): top/bottom = +Z/−Z, front/back = −Y/+Y, right/left = +X/−X.
List and object parameters take native JSON values; a JSON string of the same value also works.
Model names are 1–64 letters, digits,
_,-or., starting with a letter or digit.
The server sends a short usage guide to MCP clients when they connect, and marks its read-only, destructive, and publishing tools with MCP annotations so clients can treat them appropriately.
Configuration
Environment variable | Purpose |
| Printer preset for build-volume checks: |
| Where generated files are written. Defaults to |
Development
make install # Install dependencies
make test # Run the test suite
make lint # Check code style
make format # Auto-format code
make verify # Lint + test
make docs # Regenerate docs/ from TOOLS.md
make run # Start the MCP server
make clean # Remove build artifactsThe tests run every tool against real build123d geometry, except the network calls of the search and publish tools, which need credentials and are tested with mocks. tests/test_skills.py runs the examples in skills/ against the server and checks that TOOLS.md, docs/, and the version numbers agree with the code.
TOOLS.md is the source for the tool documentation. The per-tool pages under docs/ are generated from it; after editing TOOLS.md, run make docs.
Requirements
Python 3.11+
uv package manager (or pip, via
setup.sh)macOS, Linux, or Windows 11
Claude Code CLI
Python dependencies are listed in
pyproject.tomlwith capped version ranges, so a new major release ofmcporbuild123dcannot break an install
Project Structure
src/threedp_mcp/
├── server.py # Thin entrypoint — MCPServer init + tool registration
├── constants.py # Materials, ISO threads, printer profiles, views, client instructions
├── helpers.py # Model store, code execution, export/import, analysis and rendering helpers
└── tools/
├── core.py # create, export, measure, analyze, set_printer, list, get_code, delete
├── transform.py # transform, combine, import
├── modification.py # shell, split, add_text, threaded_hole, fillet, chamfer
├── analysis.py # estimate, overhangs, orientation, preview, section, drawing, color_split
├── utility.py # shrinkage, pack, convert
├── components.py # enclosure, gear, snap_fit, hinge, dovetail, label
├── mechanical.py # threads, fasteners, bearings, sprockets, flanges, pipes, openbuilds
├── community.py # search_models
└── publishing.py # github, thingiverse, myminifactory, cults3d
skills/ # Plugin skills
tests/ # Test suite
scripts/build_docs.py # Generates docs/ from TOOLS.mdUninstall
Plugin
/plugin uninstall 3dp-mcp-server@3dp-toolsManual Install
claude mcp remove 3dp-mcp-server -s user
rm -rf 3dp-mcp-serverLicense
This project is licensed under CC BY-NC-ND 4.0. You can use it personally and share it with attribution, but commercial use and redistribution of modified versions are not permitted.
Interested in collaborating or commercial licensing? Open an issue to get in touch.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
CAD in ChatGPT and Claude: editable parts, STEP/STL/drawings, in-chat 3D, automatic checks.
Parametric 3D CAD for AI agents: build print-ready parts, check them, export STL, 3MF or STEP.
Build, check, and export parametric CAD models in your ForgeCAD Projects from your AI agent.
Design 3D-printable parts by chatting: create, edit, render and publish parametric forges.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables Claude to create and manipulate SolidWorks CAD models through natural language commands, automating part creation, sketching, and extrusion.11-
- AlicenseNot gradedqualityCmaintenanceEnables Claude to create and modify real, editable Onshape CAD models through the Onshape REST API, covering parametric sketches, solid features, configurations, assemblies with mates and motion tests, interference checks, FeatureScript custom features, versions/branches, and import/export.MIT
- AlicenseAqualityCmaintenanceEnables Claude to model 3D-printable parts by running Python scripts in a headless FreeCAD instance and exporting STL/3MF/STEP files. It also lets Claude visually inspect renders, check mesh integrity and overhang printability, measure volume and estimated mass, and open results in a slicer before printing.10MIT
- FlicenseNot gradedqualityBmaintenanceEnables Claude to design 3D-printable keychains, cookie cutters, signs, and parts from natural-language requests, preview them, and export watertight STL files plus editable DrawPad projects.-