Purpose
Kiln is an open-source MCP server for 3D printing, with the goal of letting AI agents (Claude Desktop, Claude Code, Codex, Cursor, or any custom MCP client) drive real 3D printers end to end. In a single conversation, the user can have the agent complete design, slicing, queuing, monitoring, and recovery, with no manual intervention in between.
Main Capabilities
- Natural language to physical object: Supports a "text or sketch → AI generation → validation → slicing → printing" pipeline. For example, describing "make a coaster printed with a photo of my dog Ash" in one sentence can take you all the way from design to printing.
- Multi-brand and multi-protocol compatibility: Supports brands including Bambu Lab, Creality, Prusa, Elegoo, Voron, Sovol, AnkerMake, Artillery, FlashForge, QIDI, RatRig, SparkX, and more, and is compatible with OctoPrint, Moonraker/Klipper, PrusaLink, and Direct USB connections. It provides tuned profiles for 70 models across 15 brands.
- Complete printing toolchain: Includes tools such as design sessions (design_session), OpenSCAD compilation (compile_scad), external AI generation (generate_model), model marketplace search (search_all_models), STEP file import, printability analysis, automatic orientation, mesh repair, splitting for fit, material recommendations, surface decoration, slicing (slice_model), cost estimation, preflight checks (preflight_check), starting prints, and monitoring prints.
- Surface decoration: Can add QR codes, photos, logos, text, SVG, and procedural textures (tiger stripes, marble, camouflage, wood grain, honeycomb) to any model as embossing or engraving.
- Failure recovery and safety: Supports resuming prints from the exact interrupted layer on supported FDM printers (Pro feature), supports mid-print modifications (Pro), cross-printer learning, automatic fault recovery, closed-loop AI generation feedback, and preflight safety checks for every job. Prints judged "doomed to fail" are intercepted in advance, for example those exceeding the build plate size or using materials the hotend cannot melt.
- 3D version control: Treats meshes, decorations, and mechanical features as first-class versioned artifacts; branches mark empirical print results (success rate, warping, adhesion, cost), supports three-way semantic mesh merging, and publishes versions with cryptographic signatures. This item is marked as patent pending.
- Model marketplaces and outsourcing: Can search MyMiniFactory and Cults3D (search only), and can also outsource jobs through a hosted agent to Craftcloud's more than 150 manufacturing services, or use direct mode with your own service provider credentials.
- Management at scale: Provides 51 named printer safety profiles, G-code validation, heater watchdog, and tamper-evident audit logs; the Enterprise tier adds encrypted-at-rest G-code and key rotation, lockable profiles, RBAC, SSO, fleet site grouping, per-project cost tracking, and PostgreSQL HA.
How to Use
- Installation: pipx installs Kiln into an isolated environment and puts
kilnon PATH (the pip package name iskiln3d, and the CLI command iskiln). A zero-install runner can also be used:uvx kiln3d serve(Python) ornpx kiln3d(Node). - Connect AI: Kiln can configure itself in Claude Desktop, Claude Code, and Codex. When using other MCP clients, you can use
kiln install-mcp --printto print the configuration. The tool tier automatically matches model capability: essential (15 tools) for smaller models, standard (60 tools) for mid-range models, and full (135 tools) for stronger models. All 919 tools are available viakiln serveAccessed via MCP. - Other model support: Kiln can be used with any model that supports OpenAI-compatible function calling (such as OpenRouter), not limited to Claude.
- One-click install for Claude Desktop: Download
kiln.mcpband double-click to have Claude Desktop install and connect it. Afterward you still need to: install OpenSCAD, and runuvx --from kiln3d kiln accept-termsto accept the terms. Updates are provided with the extension, not viakiln self-update. - Diagnostics and updates:
kiln doctorcan check the entire installation and point out what needs fixing;kiln self-updatecan upgrade in place when a new version is released. The global option--printer <name>lets you specify a printer per command. - Printer credentials: Claude Code uses
~/.kiln/config.yaml(set viakiln setuporkiln auth).
Use cases
- Individual makers who want to drive the entire 3D printing workflow with natural language or sketches.
- Users who need to manage a mixed printer fleet from a single control plane.
- Developers and automation pipelines that need to provide 3D printing capabilities for AI agents.
- 3D design workflows that need versioning, auditability, and signed releases (Pro/Enterprise features).
- When there is no physical printer, manufacturing can be outsourced to the Craftcloud service via a hosted agent.
Limitations
- Kiln only requires IP reachability within the LAN; Ethernet-only printers are fully supported.
- WSL 2 uses NAT, so mDNS discovery (
kiln discover) cannot discover printers on the home network; you need to connect directly by IP. - The Bambu X1 series (X1C, X1E) provides RTSPS video streams; both snapshots and live streams require ffmpeg; the A1, A1 Mini, P1P, and P1S provide frames via TLS+JPEG and require no additional software.
- Slicing requires PrusaSlicer, OrcaSlicer, or BambuStudio; local text-to-3D generation requires OpenSCAD; enabling Gemini to generate geometry requires setting
KILN_GEMINI_API_KEY. - Some features belong to paid tiers: version control, product templates, assembly manuals, fleet workflows, SSO + SCIM, ERP webhooks, and long-term audit logs are available in paid tiers; restoring from an exact layer and mid-course modifications are Pro features; encrypted G-code and similar are Enterprise features. Specific pricing is not yet provided.
- MyMiniFactory and Cults3D support search only; downloads depend on whether the marketplace supports them.
- The materials do not provide more detailed pricing, quota, or regional availability information.
Notes
Kiln's MCP server provides a total of 926 MCP capabilities through tools, prompts, and resources, and agents can browse the live catalog via get_skill_manifest and a ToolSearch-like discovery mechanism.