1. Conduid
  2. Developer Tools
  3. 3d Printer Server
MCP server · Developer Tools

3d Printer Server

Connects MCP to major 3D printer APIs (Orca, FULU's Orca/Bambu, OctoPrint, Klipper, Duet, Repetier, Prusa, Creality). Control prints, monitor status, and perform advanced STL operations like scaling, rotation, sectional editing, and base extension. Includes slicing and visualization.

Unclaimed GPL-2.0 devtools
75Good

Scored 8 hours ago · breakdown

About 3d Printer Server

3d Printer Server is an MCP server published by DMontgomery40 in the Developer Tools category: connects MCP to major 3D printer APIs (Orca, FULU's Orca/Bambu, OctoPrint, Klipper, Duet, Repetier, Prusa, Creality). Control prints, monitor status, and perform advanced STL operations like scaling, rotation, sectional editing, and base extension. Includes slicing and visualization. Conduid read 60 tools from its source: blender_mcp_call, blender_mcp_edit_model, blender_mcp_export_stl, blender_mcp_setup, blender_mcp_status, camera_frame and 54 more. It is published to npm as mcp-3d-printer-server and starts with npx.

The repository has 276 stars and 53 forks, is licensed GPL-2.0, and its last commit was on 1 Dec 2026. The latest release is v1.2.81 (24 Nov 2026): Hash semicolons in model filenames correctly when reusing slices; keep ordered --load-settings and --load-filaments profile lists content-sensitive. It follows v1.2.80 (17 Nov 2026), and the 5 most recent releases go back to v1.2.77 (15 Nov 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include devtools.

Install

Claude Code
claude mcp add 3d-printer-server -- npx -y mcp-3d-printer-server
npx
npx -y mcp-3d-printer-server
From source
git clone https://github.com/DMontgomery40/mcp-3D-printer-server

Tools (60)

blender_mcp_callCall a discovered tool on the configured Blender MCP server, preserving its full MCP content and errors. Discover tool schemas with blender_mcp_status first; execute_blender_code accepts Python code and user_prompt. Calls can modify the active Blender scene and are never automatically retried.
ParameterTypeDescription
argumentsobjectArguments matching the remote tool's discovered input schema. Preserve the user's own words in user_prompt when the remote tool requests it.
timeout_msintegerTotal connection, discovery, and tool deadline in milliseconds; defaults to BLENDER_MCP_TIMEOUT_MS or 120000.
tool_name *stringExact name advertised by Blender MCP, such as get_scene_info or execute_blender_code.
blender_mcp_edit_modelImport, edit, and export a local STL through standard Blender MCP with verified output and existing scene objects preserved. Requires a shared local filesystem and Blender Object Mode. Also supports a separately configured legacy executable bridge.
ParameterTypeDescription
bridge_commandstringLegacy custom bridge executable override, not a standard MCP command. Per-call overrides require MCP_ALLOW_EXECUTABLE_ARG=1.
executebooleanApply edits and export (true) or validate and return the prepared request without connecting (false, default).
operations *arrayOrdered operations: decimate:<ratio greater than 0 and at most 1>, remesh:<positive voxel size in STL units>, boolean_union:<STL path>. Legacy custom bridges define their own operations.
output_pathstringNew local STL output path for standard MCP editing; defaults to a unique model-edited-<id>.stl beside the input. Its parent must exist and existing files are never overwritten. Reuse the preview's output_path when executing that plan.
stl_path *stringPath to the local STL file
timeout_msintegerTotal Blender request deadline in milliseconds; defaults to BLENDER_MCP_TIMEOUT_MS or 120000.
user_promptstringThe user's own words describing the edit, passed unchanged to Blender MCP.
blender_mcp_export_stlExport named objects from the live Blender scene to a new, verified STL for slicing. Writes world-space geometry with modifiers applied, without changing the scene, selection, or mode, and reports triangle count and bounding-box dimensions from the written file. Use this after editing or modelling through blender_mcp_call; Blender MCP's own export_scene writes GLB/FBX only. Requires standard Blender MCP and a shared local filesystem.
ParameterTypeDescription
apply_modifiersbooleanExport the evaluated geometry with modifiers applied (default true).
object_names *arrayBlender object names to export together as one STL (mesh, curve, surface, metaball, or text objects).
output_path *stringNew local .stl path. Its parent must exist; existing files are never overwritten.
scalenumberMultiply coordinates before writing (default 1). Slicers read STL units as millimetres, so use 1000 for a scene modelled in metres.
timeout_msintegerTotal Blender request deadline in milliseconds; defaults to BLENDER_MCP_TIMEOUT_MS or 120000.
user_promptstringThe user's own words, passed unchanged to Blender MCP.
blender_mcp_setupCheck or update the MCP for Blender add-on that the configured Blender bridge (BLENDER_MCP_COMMAND uvx, BLENDER_MCP_ARGS naming mcp-for-blender or blender-mcp) needs. Without update: which add-on file Blender loads, its protocol and the protocol the package expects, whether Blender is listening and the running add-on's own handshake. Changes nothing. With update: true, stages the add-on with the package's own installer (mcp-for-blender install-addon) at the inspected version, checks it, keeps the old file as a backup next to it and renames the new one into place. Never starts, stops or edits Blender; a running Blender uses the new add-on once it is re-enabled or restarted. A custom bridge returns supported false.
ParameterTypeDescription
updatebooleanReplace the installed add-on with the package's own (default false: check only).
blender_mcp_statusInspect Blender MCP configuration or connect and discover the remote server's tools. Lists tool names and summaries; pass tool_names for the full input schemas of the tools you will call. Connecting does not edit the scene; use get_scene_info through blender_mcp_call to check the Blender addon.
ParameterTypeDescription
connectbooleanInitialize the configured stdio MCP server and discover its tools (default false).
include_schemasbooleanReturn every discovered tool's full definition (large; default false).
timeout_msintegerTotal connection and discovery deadline in milliseconds; defaults to BLENDER_MCP_TIMEOUT_MS or 120000.
tool_namesarrayReturn full input schemas for these discovered tools, such as ["execute_blender_code"].
camera_frameRead the shared camera stream, optionally waiting up to 10 seconds. Returns JPEG only when newer than since_seq and visibly changed (32×18 grayscale difference). Retain the last delivered frame's seq on unchanged. max_width resizes JPEG to the viewer. Does not start a stopped stream.
ParameterTypeDescription
changed_onlybooleanReturn JPEG only when its thumbnail differs enough from the last delivered frame.
max_bytesintegerOptional maximum encoded JPEG bytes. Downscales further at quality 70 when needed; base64 adds about one third plus protocol overhead. Use 42000 for a two-second 30 KB/s viewer budget.
max_widthintegerOptional maximum JPEG width in pixels, preserving aspect ratio and never enlarging.
min_changenumberMinimum mean absolute grayscale thumbnail difference, normalized from zero to one.
since_seqintegerSequence of the last delivered JPEG; retain it when a result is unchanged.
wait_msintegerMaximum time to await a newer changed frame; zero returns immediately.
camera_snapshotCapture one JPEG frame from the printer's camera: OctoPrint's configured snapshot URL (Classic Webcam on 1.9+, webcam.snapshotUrl on 1.8, then /webcam/?action=snapshot), Moonraker's first enabled webcam, or Repetier's webcam staticUrl. PrusaLink and Duet have no local snapshot API. PRINTER_CAMERA_SNAPSHOT_URL overrides the source for any printer. Returns the JPEG as base64; pass save_path to also write it to disk.
ParameterTypeDescription
save_pathstringOptional absolute path to write the JPEG to disk. If omitted, only the base64 payload is returned.
timeout_msnumberMax ms to wait for a frame (default 8000, 100 to 120000).
camera_stream_startStart or renew one persistent camera connection for this printer. Call only while watched; it closes automatically after idle_timeout_ms without a viewer request. camera_snapshot then reuses its latest frame. No printer motion or print commands.
ParameterTypeDescription
fpsnumberMaximum processed frames per second. The first viewer sets the rate until the stream closes.
idle_timeout_msintegerClose the shared connection after this many milliseconds without a viewer request.
camera_stream_stopClose this printer's camera connection and free its cached frames. Other printers keep their own streams. Active viewers may restart it; normally let the idle timeout close a shared stream.
cancel_printCancel the current print job
ParameterTypeDescription
api_keystringAPI key for authentication (default: value from env)
bambu_serialstringSerial number for Bambu Lab printers (default: value from env)
bambu_tokenstringAccess token for Bambu Lab printers (default: value from env)
hoststringHostname or IP address of the printer (default: value from env)
portstringPort of the printer API (default: value from env)
typestringType of printer management system (octoprint, klipper, duet, repetier, bambu, prusa, creality) (default: value from env)
center_modelTranslate the model so its geometric center is at the origin (0,0,0).
ParameterTypeDescription
stl_path *stringPath to the STL file to center.
check_fulu_orca_setupInspect a FULU OrcaSlicer-bambulab install, platform runtime payload, setup commands, and optionally probe the BambuNetwork bridge.
ParameterTypeDescription
bridge_commandstringCommand that starts the FULU BambuNetwork bridge host for probing. Read from FULU_BAMBU_BRIDGE_COMMAND by default; requires MCP_ALLOW_EXECUTABLE_ARG=1 to be accepted here.
platformstringPlatform to inspect. Defaults to the current Node.js platform.
plugin_dirstringDirectory containing the FULU Bambu runtime payload; on macOS this is usually OrcaSlicer.app/Contents/MacOS. When run_bridge_probe=true, requires MCP_ALLOW_EXECUTABLE_ARG=1 to be accepted here.
probe_timeout_msnumberBridge probe timeout in milliseconds (default: 5000).
run_bridge_probebooleanWhen true, sends bridge.handshake, bridge.capabilities, and bridge.runtime_info to the bridge host.
runtime_dirstringInstalled runtime directory. On macOS this defaults to ~/Library/Application Support/OrcaSlicer/macos-bridge/runtime. When run_bridge_probe=true, requires MCP_ALLOW_EXECUTABLE_ARG=1 to be accepted here.
slicer_pathstringPath to the FULU OrcaSlicer executable. Defaults from SLICER_PATH/FULU_ORCA_PATH. When run_bridge_probe=true, requires MCP_ALLOW_EXECUTABLE_ARG=1 to be accepted here.
confirm_temperaturesReport every heater target in a G-code file (S and R forms, tool-addressed, RepRapFirmware G10/M568 and Klipper SET_HEATER_TEMPERATURE). An expected temperature matches only when it equals the file's highest target. Read-only; printing tools enforce their own safety gate.
ParameterTypeDescription
bed_tempnumberExpected highest bed target
extruder_tempnumberExpected highest nozzle target
gcode_path *stringPath to the G-code file
connect_printerOctoPrint only: connect OctoPrint to the printer when it is running but not connected (counterpart_print_progress reports octoprint.disconnected). Uses OctoPrint's own saved serial port, baud rate and printer profile (OctoPrint's AUTO detection when none is saved) unless given, and waits up to wait_ms (default 20000) for it to settle. With power_on, first switches the printer on through the PSU Control plugin when it reports the power off. Already connected: nothing is sent. Connecting runs only OctoPrint's own after-connection script.
ParameterTypeDescription
baudratenumberBaud rate. Default: OctoPrint's saved choice.
power_onbooleanSwitch the printer on through PSU Control first when it is off (default false).
printer_profilestringOctoPrint printer profile id. Default: OctoPrint's saved choice.
serial_portstringSerial port to use, as OctoPrint lists it (e.g. /dev/ttyACM0). Default: OctoPrint's saved choice.
wait_msnumberHow long to wait for the connection to settle, up to 60000 (default 20000).
counterpart_diagnosticsCounterpart contract (counterpart/1): this server's own diagnostics for a bug report, as files for the client to add to its export: the configured printer (kind, host, model, serial, connection; firmware is not read), this server's settings, slicer path and version, CAD runtime status, recent tool errors, this run's stderr log (printer connection messages, Bambu MQTT included). The Bambu network plug-in logs are not included. Redaction fails closed: configured secrets go in their encoded forms, JSON is redacted by key, and any log line that names a secret is withheld whole; serial numbers, error codes and whether a secret is set stay. Names, contents and notes stay within max_bytes; anything missing is listed in notes. Contacts no printer.
counterpart_discover_printersCounterpart contract (counterpart/1): printers on the local network. Bambu Lab printers from their own SSDP announcements (UDP 2021), with serial, model (as bambu_model names it), name and firmware; OctoPrint, Klipper (Moonraker) and PrusaLink hosts from their Bonjour adverts (dns-sd on macOS, avahi-browse on Linux), with host and port. Listens for duration_ms (default 4000). network is "unavailable" when another app holds the Bambu port. Never connects to or authenticates with a printer.
ParameterTypeDescription
duration_msintegerHow long to listen (default 4000).
counterpart_make_3mfCounterpart contract (counterpart/1): combine STL parts exported separately (for example each body of a design) into one new 3MF for multi-colour printing. The parts keep their relative positions as one assembly, and each part prints with its filament number (default: part 1 uses filament 1, part 2 filament 2, and so on). Slice it with slice_stl, passing one load_filaments profile per filament number, then print it with print_3mf and ams_mapping or ams_slots. Never overwrites a file.
ParameterTypeDescription
out_path *stringNew .3mf path whose parent directory exists. Existing files are never overwritten.
parts *arrayThe parts, in filament order.
counterpart_part_meshesCounterpart contract (counterpart/1): one STL per printable part of any 3MF (a pass's, counterpart_make_3mf's, cad_run's project_3mf, or a designer's Bambu Studio, OrcaSlicer or plain 3MF), so a client draws each part in its colour or shows the design in AR. Writes into a new folder it creates inside out_dir and never overwrites. Returns units (mm), folder and parts: [{id, name, plate?, color?, filament?, painted?, stl_path, triangles, size_mm}], one per part per printed copy. Every STL is in the 3MF's build frame in millimetres, component and build transforms applied, so the parts line up when drawn together; plate is the plate number from 1 (list_3mf_plates index + 1), absent for a 3MF without plates; color is #RRGGBB from the 3MF's own filament colours, absent when it declares none; painted means slicer painting recolours some facets. A part beyond the read limits is listed in skipped with why.
ParameterTypeDescription
out_dir *stringAn existing folder; each call writes into a new subfolder of it.
three_mf_path *stringPath to the 3MF.
counterpart_print_assess
ParameterTypeDescription
bambu_serialstringSaved Bambu serial; selects a local record.
hoststringSaved printer hostname or address; selects a local record.
portstringConfigured API port; selects a local record.
typestringConfigured backend whose saved evidence is assessed.
counterpart_print_progressRead the printer's state and current job in the counterpart/1 shape: state, job name, progress (0-100), elapsed and remaining seconds, layers when the firmware reports them, temperatures and problems. job.name matches the jobName that upload_gcode and start_print return. Read-only.
counterpart_print_record
ParameterTypeDescription
bambu_serialstringSaved Bambu printer serial; used only to select a local record.
hoststringSaved printer hostname or address; used only to select a local record.
portstringConfigured printer API port; used only to select a local record.
typestringConfigured printer backend whose saved record is requested.
counterpart_print_routeCounterpart contract (counterpart/1), Bambu: how this server reaches the printer for prints and for Stop/Pause/Resume. route is "lan" (the local network through FULU's BambuNetwork bridge), "cloud" (Bambu Cloud through FULU's bridge) or "developer" (the local network straight to a printer in LAN Only + Developer Mode, whose Pause, Resume and Stop need no Bambu app). options lists each with its label, whether it can be chosen here (and why not) and what controls do on it; choices lists the ids that can be chosen. mode and type are BAMBU_DEFAULT_CONNECTION_MODE and BAMBU_DEFAULT_CONNECTION_TYPE as resolved. Pass route to change it: the change applies to the next print and control at once, and is saved to the .env file in this server's working directory when that file exists (savedTo; null otherwise). Sends nothing to the printer.
ParameterTypeDescription
routestringChange the route. Omit to read it.
counterpart_printer_infoDescribe this printer for the counterpart/1 contract: server name and version, printer kind and identity, and which features work (progress, layers, camera, filaments, pause, resume, cancel, print_3mf, G-code), detected from the firmware. Read-only.
counterpart_propose_filamentsCounterpart contract (counterpart/1): which loaded spool prints each of a model's colours, before slicing. Reads the printer's filaments once (Bambu: the AMS and external spools). trays lists the spools a person may choose (label like "A2" or "External", a person-readable name, colour, material, feed, and the filament profile slice_stl takes). proposal gives each filament its nearest spool in OKLab colour with the asked-for material preferred, and a verdict: same-colour, closest (that colour isn't loaded; note says so), no-colour or none. One print feeds from one source: the AMS or the external spool. Pass chosen to check the person's spools against what is loaded now; mapping then lists every filament slot's spool (painted slots included), and problems says why a choice can't print.
ParameterTypeDescription
bambu_modelstringBambu only: printer model (default BAMBU_MODEL). Selects the filament profiles that decide which spools can slice.
nozzle_diameterstringBambu only: nozzle diameter (default NOZZLE_DIAMETER or 0.4).
counterpart_self_checkCounterpart contract (counterpart/1): whether this install's own runtime dependencies and its Web Crypto shim loaded, each with its installed version. Run it after an update; ok is false when a required check failed, with a message saying which. Contacts no printer.
counterpart_setup_fieldsCounterpart contract (counterpart/1): the printers this server drives (each PRINTER_TYPE) and the settings it reads for each, by .env variable name: label, hint, whether required, the fixed values a kind needs (PRINTER_TYPE), the Bambu model choices and the model each serial-number prefix names, and whether camera_snapshot reads the printer's camera with only those settings (cameraSnapshot). Pass serial to get the model it names. Sends nothing to a printer and returns no configured values.
ParameterTypeDescription
serialstringA Bambu serial number: model is the one it names, when known.
extend_stl_baseExtend the base of an STL file by a specified amount
ParameterTypeDescription
extension_inches *numberAmount to extend the base in inches
stl_path *stringPath to the STL file to modify
fulu_bambu_network_rpcAdvanced FULU bridge RPC for BambuNetwork diagnostics and development. Read-only methods are allowed by default. Agent/session setup methods require allow_mutating_method=true. Raw print methods, printer messages, file transfers and unknown methods are refused because they would bypass the print safety gate; use print_3mf for checked printing.
ParameterTypeDescription
allow_mutating_methodbooleanRequired for the allowlisted agent/session setup methods. It never enables print, printer-message, or unknown methods.
bambu_modelstringInformational only. Raw FULU print RPC methods are disabled; use print_3mf.
bridge_commandstringCommand that starts the FULU BambuNetwork bridge host. Defaults to FULU_BAMBU_BRIDGE_COMMAND; requires MCP_ALLOW_EXECUTABLE_ARG=1 to be accepted here.
method *stringFULU bridge method, e.g. bridge.handshake, bridge.runtime_info, net.get_user_print_info, net.start_print.
payloadobjectJSON payload sent to the FULU bridge method.
timeout_msnumberBridge request timeout in milliseconds (default: 5000).
fusion_mcp_callCall a discovered tool on the Fusion MCP server (create_sketch, extrude, fillet, set_parameter, export_stl, execute_code, and others), preserving its full MCP content and errors. Discover tool schemas with fusion_mcp_status first. Calls change the active Fusion design and are never automatically retried. Most tools need an active design: call fusion_mcp_new_design first.
ParameterTypeDescription
argumentsobjectArguments matching the remote tool's discovered input schema. Fusion lengths are in centimetres unless a tool says otherwise.
timeout_msintegerDeadline in milliseconds; defaults to FUSION_MCP_TIMEOUT_MS or 180000.
tool_name *stringExact name advertised by the Fusion MCP server.
fusion_mcp_exportExport the active Fusion design into output_dir as <name>.stl (export_stl), <name>.f3d (export_f3d) and <name>.parameters.json (the design's user parameters), and return their absolute paths. The STL is checked as a finite triangle mesh and its size compared with the Fusion body to report its units. Existing files are never overwritten. Fusion and this server must share the computer's file system.
ParameterTypeDescription
body_namestringBody to export as the STL. Optional when the design has exactly one visible solid body.
name *stringBase file name without a path or extension, such as "bracket".
output_dir *stringExisting absolute directory for the three files.
timeout_msintegerDeadline in milliseconds; defaults to FUSION_MCP_TIMEOUT_MS or 180000.
fusion_mcp_new_designOpen a new parametric design document in Fusion, so the Fusion tools have an active design. Fusion must already have some document open: at the pinned faust-machines commit no tool works from Fusion's home screen (issue #12).
ParameterTypeDescription
timeout_msintegerDeadline in milliseconds; defaults to FUSION_MCP_TIMEOUT_MS or 180000.
fusion_mcp_setupCheck or install what the Fusion bridge needs on macOS: Autodesk Fusion itself (found, never installed), the Fusion360MCP add-in from ${FUSION_ADDIN_REPOSITORY} at ${FUSION_MCP_PINNED_COMMIT} (every file checked against its pinned SHA-256) set to run on startup, a login item that sets FUSION_MCP_PORT for Fusion however it is opened, and this server's FUSION_MCP_* settings. Without install: reports them and changes nothing. With install: true, installs what is missing and adds the missing settings to this server's own .env (after a copy of it), never rewriting one it already has. Never starts or quits Fusion; check the connection with fusion_mcp_status.
ParameterTypeDescription
installbooleanInstall what is missing (default false: check only).
fusion_mcp_statusCheck the Autodesk Fusion bridge: whether the Fusion MCP server is configured (by default ${FUSION_ADDIN_REPOSITORY}@${FUSION_MCP_PINNED_COMMIT}, faust-machines' server with document binding; fusion_mcp_setup installs it), whether Fusion is running, whether its Fusion360MCP add-in answers on its port, and the server's tools and schemas. Reports responsive, state (starting/ready/unresponsive) and reason from a fresh no-op command probe capped at five seconds. No design is opened or edited. Failed probes clear connected; ready does not guarantee a later design operation succeeds. With launch: true and Fusion not running on this Mac, opens Autodesk Fusion and waits up to 90 s for the add-in.
ParameterTypeDescription
launchbooleanOpen Autodesk Fusion when it is not running (macOS), then wait up to 90 s for the add-in (default false).
timeout_msintegerConnection, discovery and command probe deadline, capped at 5000 ms; launch waiting is separate. The first uvx start may need a later retry after its initial download.
generate_stl_visualizationGenerate an SVG visualization of an STL file from multiple angles
ParameterTypeDescription
heightnumberHeight of each view in pixels (default: 300)
stl_path *stringPath to the STL file
widthnumberWidth of each view in pixels (default: 300)
get_printer_filamentsReport the loaded filament. Bambu: the live AMS and external-spool inventory over MQTT, as bambu-printer-mcp reports it (trays with absolute slot, loaded state, material, colour, tray_info_idx and resolved slicer profile path; summary; recommended load_filaments), plus counterpart/1 slots for every loaded tray and external spool (254, and 255 on dual-nozzle printers). Other printers: one external slot (id "ext"); Moonraker printers with Spoolman report the active spool's material, colour and name, others source "unknown". Read-only.
ParameterTypeDescription
bambu_modelstringBambu only: optional model hint used to resolve Bambu/Orca filament profile JSONs for each tray (default: BAMBU_MODEL).
nozzle_diameterstringBambu only: optional nozzle diameter used when resolving model-specific filament profile JSONs (default: 0.4).
get_printer_statusGet the current status of the 3D printer
ParameterTypeDescription
api_keystringAPI key for authentication (default: value from env)
bambu_serialstringSerial number for Bambu Lab printers (default: value from env)
bambu_tokenstringAccess token for Bambu Lab printers (default: value from env)
hoststringHostname or IP address of the printer (default: value from env)
portstringPort of the printer API (default: value from env)
typestringType of printer management system (octoprint, klipper, duet, repetier, bambu, prusa, creality) (default: value from env)
get_slice_settingsInspect slicer settings in a 3MF template or JSON/config profile without slicing (layer height, infill, walls, supports, brim, bed, printer, filaments). For a 3MF given as source_path, own_process is true when slice_stl, given this call's other arguments as it would take them (slicer_type, bambu_model, slicer_profile, template_name, template_3mf_path, layer_height, wall_loops, sparse_infill_density, quality, strength), prints the process the file carries (a designer's Bambu Studio or Orca project) unchanged. A 3MF with no slicer settings reports raw_key_count 0; a file that can't be read is an error.
ParameterTypeDescription
bambu_modelstringThe bambu_model slice_stl would be given, for own_process.
enable_supportbooleanFor own_process: the enable_support slice_stl would be given.
layer_heightnumberFor own_process: the layer_height slice_stl would be given.
nozzle_diameterstringFor own_process: the nozzle_diameter slice_stl would be given; layer heights are checked against it.
slicer_profilestringFor own_process: the slicer_profile slice_stl would be given.
slicer_typestringThe slicer_type slice_stl would be given, for own_process. Defaults to SLICER_TYPE.
source_pathstringPath to a 3MF, extracted project_settings.config, or slicer profile JSON.
sparse_infill_densitystringFor own_process: the sparse_infill_density slice_stl would be given.
support_typestringFor own_process: the support_type slice_stl would be given.
template_3mf_pathstringFor own_process: the template_3mf_path slice_stl would be given.
template_dirstringTemplate directory override when resolving template_name.
template_namestringNamed template from the local registry. Without source_path it is the source read; with source_path it is the slice's template, for own_process.
wall_loopsnumberFor own_process: the wall_loops slice_stl would be given.
get_stl_infoGet detailed information about an STL file
ParameterTypeDescription
stl_path *stringPath to the STL file
inspect_print_fileInspect an exact private snapshot of a prepared sliced 3MF or textual G-code file and selected plate without contacting a printer. Returns versioned file-only evidence; no printer readiness or permission to dispatch is established. Does not auto-slice.
ParameterTypeDescription
bambu_model *stringExplicit file-inspection target model; never inferred from environment or live state.
bed_typestringOptional declared bed type to compare with file metadata.
file_path *stringLocal prepared .3mf or textual .gcode artifact to inspect; checksum-only and unsliced projects reject.
include_previewbooleanAlso return preview: PNG pictures drawn from this exact file's G-code (every extruding line in its filament's colour; the top as it sits on the bed, and the bed side turned over), with the artifact's sha256. Large (tens of KB of base64); for apps that show the person what will print, not for agents.
nozzle_diametersarrayOptional requested nozzle diameters to compare with file declarations; this does not observe installed hardware.
plate_indexintegerZero-based selected plate; defaults to 0. Raw G-code only supports 0.
lay_flatRotate the model so a face rests on the bed (Z=0), choosing the orientation with the least part and support volume per mm² of bed contact. A face counts only if nothing hangs below it. Returns the new STL path; structuredContent.laid_flat is false, with the input path, when no orientation qualifies.
ParameterTypeDescription
stl_path *stringPath to the STL file to lay flat.
list_3mf_plate_objectsList the objects of a sliced 3MF plate that the printer can skip, one per copy, as Bambu Studio's skip dialog lists them: identify_id (id), name, whether it is already skipped, and labelObjectEnabled (the plate was sliced with object labels, which skipping needs). These are the identify_ids slice_stl's skip_objects takes. Read-only.
ParameterTypeDescription
plate_indexnumber0-based plate index to inspect (default: 0)
three_mf_path *stringPath to a sliced 3MF/.gcode.3mf file
list_3mf_platesList a Bambu Studio or OrcaSlicer 3MF's plates as its designer laid them out, before slicing: plate_count, and for each plate its index (from 0; slice_stl's slice_plate is index + 1, inspect_print_file's plate_index is index), name, the objects on it, each object copy's identify_id (instances: the ids slice_stl's skip_objects takes) whether the file already holds its G-code (sliced), and filaments: the project filaments that plate prints with and only those (index from 1 = slice_stl's load_filaments/filament_colours position and print_3mf's ams_mapping position + 1; colour, material, filament_id, and the first part using it), from the slice when there is one, otherwise worked out as Bambu Studio does from the plate's parts, painting, support, layer ranges and tool changes. filaments_complete is false when a part's mesh was too large to read its painting: that plate then lists every declared filament, so offer them all rather than miss one that prints. project_filaments lists every filament the project declares, used or not (slice_stl takes one load_filaments profile per declared filament). build_items: the root 3D/3dmodel.model build items on the plate (0-based, build order); parts: each model part of the plate's objects once, with object_id (the mesh object), path when that mesh is in another model part (p:path), build_object_id (the root object a build item places), name, filament (1-based) and painted: true when slicer painting recolours some facets; draw a plate from these with the 3MF's own meshes. A plain 3MF without plate metadata is one plate. include_thumbnails adds each plate's own preview from the file (thumbnail_png_base64). Read-only.
ParameterTypeDescription
include_thumbnailsbooleanInclude each plate's own preview PNG from the file, base64 (default false)
three_mf_path *stringPath to the 3MF (a designer's project, sliced or not)
list_printer_filesList files available on the 3D printer
ParameterTypeDescription
api_keystringAPI key for authentication (default: value from env)
bambu_serialstringSerial number for Bambu Lab printers (default: value from env)
bambu_tokenstringAccess token for Bambu Lab printers (default: value from env)
hoststringHostname or IP address of the printer (default: value from env)
portstringPort of the printer API (default: value from env)
typestringType of printer management system (octoprint, klipper, duet, repetier, bambu, prusa, creality) (default: value from env)
list_templatesList saved slicing templates (.3mf, .json, .config) in the local template registry directory.
ParameterTypeDescription
template_dirstringTemplate directory override. Defaults to BAMBU_TEMPLATE_DIR or ~/Sync/bambu/templates.
merge_verticesMerge vertices in an STL file that are closer than the specified tolerance.
ParameterTypeDescription
stl_path *stringPath to the STL file to modify.
tolerancenumberMaximum distance between vertices to merge (in mm, default: 0.01).
modify_stl_sectionApply a specific transformation to a selected section of an STL file
ParameterTypeDescription
custom_max_xnumberMaximum X for custom section bounds
custom_max_ynumberMaximum Y for custom section bounds
custom_max_znumberMaximum Z for custom section bounds
custom_min_xnumberMinimum X for custom section bounds
custom_min_ynumberMinimum Y for custom section bounds
custom_min_znumberMinimum Z for custom section bounds
section *stringSection to modify: 'top', 'bottom', 'center', or custom bounds
stl_path *stringPath to the STL file
transformation_type *stringType of transformation to apply
value_xnumberTransformation value for X axis
value_ynumberTransformation value for Y axis
value_znumberTransformation value for Z axis
octoprint_request_api_keyOctoPrint's Application Keys approval: instead of copying an API key, the person clicks Allow in OctoPrint. Call without request_id to start (host and port of the OctoPrint; app names this app in OctoPrint's prompt); the result has request_id and approve_url (OctoPrint's own approval page). Call again with request_id and wait_ms (up to 120000) to wait for the answer: status approved returns api_key and env {API_KEY}, the setting this server reads. This server keeps the request open between calls (OctoPrint drops one that isn't polled every 5 s) for up to 10 minutes. status unsupported means this OctoPrint has no Application Keys plugin: copy the key from OctoPrint's settings instead. OctoPrint allows 3 requests a minute, 5 in 10 minutes and 10 an hour. host and port name the OctoPrint being added; without port, a host given here uses port 80 (or its URL's own port), not this server's PRINTER_PORT.
ParameterTypeDescription
appstringThe app name OctoPrint shows in its prompt (default "mcp-3d-printer-server").
hostany
portany
request_idstringA request this server started; omit to start one.
userstringThe OctoPrint user to ask (optional; any signed-in user with the right permissions can answer otherwise).
wait_msnumberWait up to this long for the answer, up to 120000 (default 0: answer now).
pause_printPause the current print (Bambu Lab, OctoPrint, Klipper/Moonraker, PrusaLink, Duet M25, Repetier, and Creality printers that run Moonraker). Bambu pauses over the same connection that prints. Pause is never gated.
print_3mfPrint a 3MF file on a Bambu Lab printer. The exact selected plate is inspected (model, nozzle, bed type, materials, every heater target) and checked against a fresh MQTT report of the printer's identity, nozzle, state, errors and loaded filament before upload and start.
ParameterTypeDescription
ams_mappinganyProject-level AMS mapping. Array: position = project filament index, value = absolute AMS tray (0-3 = AMS 0, 4-7 = AMS 1, 8-11 = AMS 2, 12-15 = AMS 3, 128+ = AMS-HT, 254 = external spool, -1 = unused); on dual-nozzle printers (H2D, H2D Pro, H2C, X2D) 254 is the left/deputy nozzle external spool and 255 the right/main one. Object: trays keyed by project filament index (numeric keys first, in order), e.g. {"0": 2}. Prefer ams_slots unless you know the project-level layout.
ams_slotsarrayPreferred AMS input: one absolute tray per USED filament in plate order, e.g. [1] for a single-filament print from AMS 0 slot 1. Use 254 for the external spool (on dual-nozzle printers 254 = left/deputy, 255 = right/main). Expanded to the project-level ams_mapping from the 3MF's plate_N.json and G-code header. Overrides ams_mapping.
bambu_model *stringREQUIRED: Bambu Lab printer model. Ensures correct G-code generation — wrong model can crash the bed into the nozzle.
bambu_serialstringSerial number for the Bambu Lab printer (default: value from env)
bambu_tokenstringAccess token for the Bambu Lab printer (default: value from env)
bed_levelingbooleanOverride bed leveling flag for the Bambu print command.
bed_temperaturenumberOverride bed temperature (°C).
bed_typestringBed/plate type installed on the printer (default: textured_plate).
filament_profilestringOptional filament profile path for auto-slicing with OrcaSlicer/Bambu Studio.
flow_calibrationbooleanOverride flow calibration flag for the Bambu print command.
hoststringHostname or IP address of the Bambu printer (default: value from env)
layer_heightnumberOverride layer height (mm).
layer_inspectbooleanOverride layer inspection flag for the Bambu print command.
nozzle_diameterstringNozzle diameter in mm (default: 0.4).
nozzle_temperaturenumberOverride nozzle temperature (°C).
nozzle_typestringInstalled nozzle material, used when the 3MF must be auto-sliced (default: BAMBU_NOZZLE_TYPE, else the preset's stock nozzle).
pause_at_layersarrayPause before these 1-based layers when auto-slicing. An already sliced 3MF must contain the requested pauses or printing is refused.
plate_indexintegerZero-based selected plate; defaults to 0. The same plate is inspected and printed; auto-slicing uses its one-based CLI plate number.
slicer_pathstringPath to the slicer executable if auto-slicing is needed. Per-call overrides require MCP_ALLOW_EXECUTABLE_ARG=1.
slicer_profilestringOptional slicer settings/profile path for auto-slicing.
slicer_typestringSlicer to use if the 3MF needs auto-slicing. Use orcaslicer-bambulab for FULU OrcaSlicer-bambulab.
support_enabledbooleanOverride support generation.
three_mf_path *stringPath to the 3MF file to print.
timelapsebooleanOverride timelapse flag for the Bambu print command.
use_amsbooleanWhether to use the AMS. Defaults to true when ams_slots, ams_mapping or the 3MF's own mapping is present; false prints every used filament from the external spool.
vibration_calibrationbooleanOverride vibration calibration flag for the Bambu print command.
process_and_print_stlProcess an STL file (extend base), slice it, and start printing through the same checked print gate as upload_gcode/print_3mf. Expected temperatures are enforced: a mismatch refuses before upload.
ParameterTypeDescription
api_keystringAPI key for authentication (default: value from env)
bambu_modelstringBambu Lab printer model. Required for Bambu print operations.
bed_tempnumberExpected highest bed target in the sliced G-code (S and R forms). Printing stops before upload if it differs.
bed_typestringBed/plate type installed on the printer (default: textured_plate).
extension_inches *numberAmount to extend the base in inches
extruder_tempnumberExpected highest nozzle target in the sliced G-code (S and R forms, every tool). Printing stops before upload if it differs.
filament_profilestringOrcaSlicer filament profile path loaded with --load-filaments (default: FILAMENT_PROFILE/SLICER_FILAMENT_PROFILE env).
hoststringHostname or IP address of the printer (default: value from env)
materialstringDeclared filament material when the sliced G-code has no filament_type metadata. Must not contradict the file.
nozzle_diameterstringNozzle diameter in mm (default: 0.4).
nozzle_typestringInstalled Bambu nozzle material used when slicing (default: BAMBU_NOZZLE_TYPE, else the preset's stock nozzle). The print gate compares it with the printer's report.
portstringPort of the printer API (default: value from env)
slicer_pathstringPath to the slicer executable (default: value from env). Per-call overrides require MCP_ALLOW_EXECUTABLE_ARG=1.
slicer_profilestringProfile to use for slicing (default: value from env). OrcaSlicer also accepts machine/process profiles separated with ';', optionally followed by '|filament.json'.
slicer_typestringType of slicer to use. Use orcaslicer-bambulab for FULU OrcaSlicer-bambulab.
stl_path *stringPath to the STL file to process
typestringType of printer management system (default: value from env)
resume_printResume a paused print. Resume reheats and moves the printer, so it only resumes a job this server instance inspected and started, and only when the printer freshly reports that job paused. Bambu re-reads the job over FTPS (or the plate G-code the printer extracted) and compares its SHA-256, and resumes over the same connection that printed. When the file cannot be re-read, a person confirms through MCP elicitation first (Bambu: only for files Bambu's plug-in placed; a file this server uploaded must re-read). Resume other jobs at the printer.
rotate_stlRotate an STL model around specific axes
ParameterTypeDescription
rotate_xnumberRotation around X-axis in degrees
rotate_ynumberRotation around Y-axis in degrees
rotate_znumberRotation around Z-axis in degrees
stl_path *stringPath to the STL file
save_templateCopy a .3mf, .json, or .config file into the local template registry under a template name.
ParameterTypeDescription
source_path *stringLocal .3mf, .json, or .config file to save as a template.
template_dirstringTemplate directory override. Defaults to BAMBU_TEMPLATE_DIR or ~/Sync/bambu/templates.
template_namestringTemplate name. Defaults to the source filename without extension.
scale_stlScale an STL model uniformly or along specific axes
ParameterTypeDescription
scale_factornumberUniform scaling factor to apply
scale_xnumberX-axis scaling factor (overrides scale_factor for X axis)
scale_ynumberY-axis scaling factor (overrides scale_factor for Y axis)
scale_znumberZ-axis scaling factor (overrides scale_factor for Z axis)
stl_path *stringPath to the STL file
set_printer_temperatureSet the temperature of a printer component. Temperature 0 switches a heater off and is never gated. Positive targets are validated before connecting, limited by independent hardware and material ceilings, and require a ready printer.
ParameterTypeDescription
api_keystringAPI key for authentication (default: value from env)
bambu_modelstringBambu printer model; required for positive Bambu heating unless BAMBU_MODEL is configured. Checked against the live printer.
bambu_serialstringSerial number for Bambu Lab printers (default: value from env)
bambu_tokenstringAccess token for Bambu Lab printers (default: value from env)
component *stringPrinter component to heat, such as extruder or bed.
hoststringHostname or IP address of the printer (default: value from env)
materialstringDeclared material at the nozzle (for example PLA, PETG, ABS). Required for positive nozzle heating, including non-RFID spools.
nozzle_diameterstringInstalled Bambu nozzle diameter in mm for nozzle heating (default: NOZZLE_DIAMETER or 0.4). Checked against the live printer.
portstringPort of the printer API (default: value from env)
temperature *numberTarget temperature in Celsius: a finite number >= 0. 0 switches the heater off.
typestringType of printer management system (octoprint, klipper, duet, repetier, bambu, prusa, creality) (default: value from env)
slice_stlSlice an STL or 3MF file to generate G-code or a sliced 3MF. For Bambu-compatible CLI slicing (bambustudio, orcaslicer-bambulab, or orcaslicer with bambu_model), the exact bambu_model/nozzle machine preset from the selected slicer installation is required, profile inheritance is resolved before the CLI runs, and the result must contain plate G-code. Failures stop with the slicer's exit status and output. A 3MF that carries its own process settings (a designer's Bambu Studio or Orca project) slices with them unless slicer_profile, template_name or template_3mf_path is given; the machine still comes from bambu_model. quality and strength adjust that process, and strength never lowers its walls or infill. When a slice that worked warns of floating regions, structuredContent.next carries the stop rule (one targeted fix and one re-slice, then report it or slice with supports on) and, for an STL the slicer did not turn, structuredContent.floating_regions lists where they are: x and y in the STL's own millimetres, z above its lowest point, and depth_mm, how far each hangs below where it joins the rest. A slice in two or more colours carries filament_feed: the colours, the filament changes the slicer reports, and whether the printer can feed them (a Bambu printer's AMS trays and external spools from a fresh status read; unknown for other printers or without one). When the printer is known not to (no AMS, or fewer filaments than colours), slice_stl refuses with code needs-more-filaments, filament_slots, filament_changes and a plain slicer_report.message, unless manual_filament_changes is true; when it is unknown, the slice succeeds and slicer_report.message says how many times it would stop without an AMS.
ParameterTypeDescription
manual_filament_changesbooleanThe person will change filament by hand: a slice in more colours than the printer can feed (no AMS) is returned, with the number of changes, instead of refused with needs-more-filaments.
stl_path *stringPath to the STL or 3MF file to slice
slice_with_templateSlice an STL or 3MF with a named template from the local template registry (BAMBU_TEMPLATE_DIR). The template supplies process settings; the machine preset still comes from bambu_model and nozzle_diameter.
ParameterTypeDescription
slicer_profilestringExplicit process profile that overrides the named template only when provided in this call.
stl_path *stringPath to the STL or 3MF file to slice
template_name *stringNamed template from the local registry (required).
start_printStart printing a G-code file already stored on the printer. The server downloads and inspects the exact file, then starts a uniquely named checked copy after printer-state checks. Printers whose API cannot download files (Repetier, Prusa, Creality) refuse; use upload_gcode with print=true instead.
ParameterTypeDescription
api_keystringAPI key for authentication (default: value from env)
bambu_modelstringRequired for Bambu print operations unless BAMBU_MODEL is configured. Must match the printer and pre-sliced G-code.
bambu_serialstringSerial number for Bambu Lab printers (default: value from env)
bambu_tokenstringAccess token for Bambu Lab printers (default: value from env)
filename *stringName/path of the printer-side G-code file to start.
hoststringHostname or IP address of the printer (default: value from env)
materialstringDeclared filament material when the G-code has no slicer filament_type metadata (non-Bambu printers). Must not contradict the file.
portstringPort of the printer API (default: value from env)
typestringType of printer management system (octoprint, klipper, duet, repetier, bambu, prusa, creality) (default: value from env)
translate_stlMove an STL model along specific axes
ParameterTypeDescription
stl_path *stringPath to the STL file
translate_xnumberTranslation along X-axis in millimeters
translate_ynumberTranslation along Y-axis in millimeters
translate_znumberTranslation along Z-axis in millimeters
upload_gcodeUpload G-code content or a local G-code file path to the printer. With print=true the exact uploaded bytes are inspected first (every S/R heater target, tool changes, hardware and material ceilings) and printer state is checked before the print starts.
ParameterTypeDescription
api_keystringAPI key for authentication (default: value from env)
bambu_modelstringRequired for Bambu print operations unless BAMBU_MODEL is configured. Must match the printer and pre-sliced G-code.
bambu_serialstringSerial number for Bambu Lab printers (default: value from env)
bambu_tokenstringAccess token for Bambu Lab printers (default: value from env)
filenamestringFilename to use on the printer. Defaults to the basename of gcode_path when omitted.
gcodestringG-code content, or a local path to a G-code file.
gcode_pathstringLocal path to a G-code file to upload.
hoststringHostname or IP address of the printer (default: value from env)
materialstringDeclared filament material (for example PLA, PETG, ABS, ASA, TPU, PA, PC) when the G-code has no slicer filament_type metadata. Must not contradict the file. Material ceilings limit nozzle targets.
portstringPort of the printer API (default: value from env)
printbooleanStart printing after upload when the printer backend supports it. Printing requires a declared material from slicer metadata (; filament_type = PLA) or the material argument.
typestringType of printer management system (octoprint, klipper, duet, repetier, bambu, prusa, creality) (default: value from env)

Security checks

Static checks derived from the repository yesterday. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 14K words.
  • ✓License declaredThe repository declares the GPL-2.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json and site/package-lock.json.
  • !No dynamic code executionScanned 99 source files and found 3 calls to eval or shell execution, in src/cad/process.ts:153, src/cad/worker.py:111 and src/fulu-orca.ts:470. Review how tool inputs reach them before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdio and Streamable HTTPsrc/index.ts:9, src/counterpart/service.ts:460
Starts other programs
9 callssrc/bambu-network-bridge.ts:323, src/bambu-network-bridge.ts:1211, src/cad/process.ts:28
Outbound network calls
8 callssrc/counterpart/service.ts:522, src/design-app-setup.ts:65, src/index.ts:932
Writes or deletes files
113 callssrc/bambu-network-bridge.ts:169, src/bambu-network-bridge.ts:174, src/bambu-network-bridge.ts:254
Lockfile
package-lock.json and site/package-lock.json

Pattern matches on the source text of 99 files: places to read, not proof of what the code does at run time.

Releases

v1.2.81v1.2.81: Bambu compatibility and slice-cache corrections · 24 Nov 2026Hash semicolons in model filenames correctly when reusing slices; keep ordered `--load-settings` and `--load-filaments` profile lists content-sensitive. Port d0ukan's Bambu fork #175 fix. Accept Studio 2.9.1/2.9.2's exact dual-nozzle `M104…
v1.2.801.2.80 · 17 Nov 2026Fixed A slice in two or more colours no longer goes through silently on a printer that can't feed them. Beta 8's DAD replay sliced a two-colour 3MF with declared colours for a P1S with no AMS: it succeeded with 85 filament changes and no…
v1.2.791.2.79 · 16 Nov 2026Added `counterpart_part_meshes` (counterpart/1) writes one STL per printable part of any 3MF into a new folder inside `out_dir`. The 3MF can be a pass's, `counterpart_make_3mf`'s, `cad_run`'s `project_3mf`, or a designer's Bambu Studio,…
v1.2.78v1.2.78 — Fusion command readiness · 16 Nov 2026Fixed Detect Fusion command-path hangs even when ping and the active-design read succeed. `fusion_mcp_status` runs a fresh no-op through the pinned add-in’s mutation handler within five seconds and reports `responsive`, `state`…
v1.2.77v1.2.77 — purpose checks on the design as used, and redacted diagnostics · 15 Nov 2026Added A design's purpose is now data the code engine evaluates (scan-to-make #608). A `cad_run` script declares `PURPOSE` (what it is for, the bought product it follows, what it holds, what carries the load, where its user's eye is) and…

README

The repository's README runs to about 14K words, fetched yesterday. The original in the repository is authoritative.

Read full README
Questions

About 3d Printer Server

How do I install 3d Printer Server?

In Claude Code, run claude mcp add 3d-printer-server -- npx -y mcp-3d-printer-server. Other MCP clients take the command after "--" in their server configuration.

Is 3d Printer Server safe to use with an AI agent?

Its trust score is 75 out of 100 (good). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Conduid's scan of 99 source files found that it serves MCP over stdio and Streamable HTTP, starts other programs (9 calls), makes outbound network calls (8 calls) and writes or deletes files (113 calls). Its dependencies are pinned by package-lock.json and site/package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is 3d Printer Server still maintained?

Yes — the latest release is v1.2.81 (24 Nov 2026), and the last commit was 23 hours ago. The repository has 276 stars and 3 open issues.

What tools does 3d Printer Server provide?

Conduid read 60 tools from the source: blender_mcp_call, blender_mcp_edit_model, blender_mcp_export_stl, blender_mcp_setup, blender_mcp_status, camera_frame, camera_snapshot, camera_stream_start and 52 more. 53 of them publish their parameters, listed under Tools above.

What license is 3d Printer Server released under?

The repository declares the GPL-2.0 license. That applies to the latest release, v1.2.81, as well.