3DP MCP Server
MCP server that gives Claude the ability to create 3D-printable CAD models using build123d. Outputs STL/STEP files ready for slicing in Bambu Studio.
Also available as a Claude Code plugin — install it and all 33 tools are automatically available.
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-tools
The plugin will automatically set up a Python virtual environment and install dependencies on first use. Requires Python 3.11+.
Plugin Skills
Once installed, Claude gains six agent skills:
- design-model — Design 3D-printable CAD models with build123d
- modify-model — Shell, split, add text, combine, transform, and generate 2D drawings
- parametric-components — Create enclosures, gears, snap-fits, hinges, dovetails, and labels
- mechanical-parts — Create threads, fasteners, bearings, sprockets, flanges, pipes, OpenBuilds parts
- print-prep — Analyze printability, suggest orientation, estimate filament/cost, pack build plates
- publish-model — Publish to GitHub Releases, Thingiverse, MyMiniFactory, Cults3D, or search for models
Manual Setup (Alternative)
git clone https://github.com/randypitcherii/3dp-mcp-server.git
cd 3dp-mcp-server
make install
As a Claude Code Plugin
claude plugin add /path/to/3dp-mcp-server
The plugin auto-registers the MCP server via .mcp.json.
Manual MCP Registration
claude mcp add 3dp-mcp-server -- uv run --directory /path/to/3dp-mcp-server threedp-mcp
Tools (40)
Core
Transform & Combine
Modification
Analysis & Export
Utility
Parametric Components
Mechanical Parts (bd_warehouse)
Community
Publishing
Development
make install # Install dependencies
make test # Run unit tests
make test-integration # Run all tests (requires build123d)
make lint # Check code style
make format # Auto-format code
make verify # Lint + test
make run # Start the MCP server
make clean # Remove build artifacts
Requirements
- Python 3.11+
- uv package manager
- macOS (tested on Apple Silicon) or Windows 11
- Claude Code CLI
Project Structure
src/threedp_mcp/
├── server.py # Thin entrypoint — FastMCP init + tool registration
├── constants.py # Material properties, ISO thread table
├── helpers.py # Shared utilities (shape conversion, code execution, etc.)
└── tools/
├── core.py # create, export, measure, analyze, list, get_code
├── transform.py # transform, combine, import
├── modification.py # shell, split, add_text, threaded_hole
├── analysis.py # estimate, overhangs, orientation, 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
Uninstall
Plugin
/plugin uninstall 3dp-mcp-server@3dp-tools
Manual Install
macOS:
claude mcp remove 3dp-mcp-server -s user
rm -rf 3dp-mcp-server
Windows:
claude mcp remove 3dp-mcp-server -s user
Remove-Item -Recurse -Force 3dp-mcp-server
License
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.