Anycubic Slicer MCP
PYPI · ANYCUBIC-SLICER-MCP
Slice, preview and diagnose 3D prints in Anycubic Slicer Next, then send and watch them
Available components
Last scanned (19 hours ago)
Scores higher than 89% of PyPI servers
Category IoT and Hardware
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security100
- No malware found by supply-chain analysis.Pass
- No known CVEs affecting this package version or its production dependencies.Pass
- Runs hatchling.build at install time, a recognised build step with no custom scripting around it. View diagnostics → Pass
- 0 of 41 dependencies flagged as unhealthy. View diagnostics → Pass
Provenance & Transparency97
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to pri-te-sh/anycubic-slicer-mcp). View diagnostics → Pass
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 12 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability77
- 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
- AI-judged instruction clarity (excellent).Pass
- Context-footprint check failed: tool/resource definitions use about 9406 tokens (~268/item across 35 items; 35 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management47
- Stability observed for 14 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
- Structured output schemas are declared (3% of tools); any adoption earns full credit.Pass
Tool Safety100
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- All 1 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation.Pass
- An AI judge read all 36 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Checks we ran (16)
- Malware scan
- Known CVEs
- Install scripts
- Dependency health
- Source repository
- Provenance
- License
- Maintenance
- Security disclosure
- Schema quality
- Stability
- Tool coverage
- Injection markers
- Destructive annotations
- Judged manipulation
- MCP protocol
Does not apply to this package (2)
- Endpoint SecurityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.
- Transport & ReachabilityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.
The score does not measure everything. What the score does not measure →
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 30 Nov 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 43 to 47. That category is still filling its 30-day observation window: 13 days of observed history at the previous scan, 14 at this one. The score rises as the window fills, whether or not the server changes.
- 28 Nov 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 37 to 40. That category is still filling its 30-day observation window: 11 days of observed history at the previous scan, 12 at this one. The score rises as the window fills, whether or not the server changes.
- 26 Nov 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 30 to 33. That category is still filling its 30-day observation window: 9 days of observed history at the previous scan, 10 at this one. The score rises as the window fills, whether or not the server changes.
- 24 Nov 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 23 to 27. That category is still filling its 30-day observation window: 7 days of observed history at the previous scan, 8 at this one. The score rises as the window fills, whether or not the server changes.
- 21 Nov 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 13 to 17. That category is still filling its 30-day observation window: 4 days of observed history at the previous scan, 5 at this one. The score rises as the window fills, whether or not the server changes.
- 19 Nov 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 7 to 10. That category is still filling its 30-day observation window: 2 days of observed history at the previous scan, 3 at this one. The score rises as the window fills, whether or not the server changes.
- 18 Nov 26 +15
- Malware scan: unverified → pass ▲ security
- 17 Nov 26 −14
- Malware scan: pass → unverified ▼ security
- Schema quality: 7477 → 9406 ▼ functional
- Schema quality: 7477 → 9316 ▼ functional
- Destructive annotations: pass → 100 functional
- Package version: 1.3.0 → 1.4.1 functional
- Package version: 1.3.0 → 1.4.0 functional
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 30 Nov 2026 · Analysed pypi/anycubic-slicer-mcp@1.4.1
Provenance Verified
A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.
| Result | Verified |
|---|---|
| Ecosystem | pypi |
| Reason | Verified |
| Discovered via | Registry attestation endpoint |
| Source repo | pri-te-sh/anycubic-slicer-mcp |
| Certificate issuer | https://token.actions.githubusercontent.com |
| Certificate SAN | https://github.com/pri-te-sh/anycubic-slicer-mcp/.github/workflows/release.yml@refs/tags/v1.4.1 |
| Rekor log index | 3949923114 |
| Predicate type | PyPI publish attestation https://docs.pypi.org/attestations/publish/v1 |
| Subject digest | sha256:5ca36010ecc2ff376a489553f26cf7f7512d43a011793206555f7b69a61889b1 |
Background: How many MCP packages publish verified provenance →
Install scripts 1 script
| Hook | Tier | Command |
|---|---|---|
| build_backend | Known build tool | hatchling.build |
Background: Why install scripts are a supply-chain risk →
Dependencies 41 packages
| Packages resolved | 41 |
|---|---|
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
add_spool Add spool ~184
Record a new spool in the user's local filament inventory. Use it when the user buys or opens a spool; create_filament_profile can also add one when saving a profile. Each call adds another spool with a new id, stored in a JSON file on this computer. Returns the spool.
| Name | Type | Req | Description |
|---|---|---|---|
| brand | – | – | Brand. |
| colour_hex | – | – | Colour as '#RRGGBB'. |
| colour_name | – | – | Colour name. |
| filament_preset | – | – | Filament preset to print it with. |
| material | string | yes | Material, e.g. 'PLA' or 'PETG'. |
| notes | – | – | Free-text notes, e.g. where it's stored or when it was dried. |
| price | – | – | Price paid. |
| remaining_g | – | – | Grams left now, if not full. |
| total_g | number | – | Net weight of a full spool in grams. |
No output schema declared.
No examples provided.
analyze_strength Analyze strength ~281
Recommend an orientation and slicer settings (walls, top/bottom layers, infill, layer height) that make a part strong for how it will be used. Use it when the user says a part must hold, bend or survive impact; find_best_orientation only ranks orientations. Also flags thin waists in the shape. Returns overrides and a rotation to pass to slice_model, with reasons; check the cost with compare_slices. Read-only.
| Name | Type | Req | Description |
|---|---|---|---|
| filament | – | – | Filament preset, used for material-specific advice. Default: the selected filament. |
| load | string | – | How the part is loaded: 'general', 'tension', 'compression', 'bending', 'impact' or 'torsion'. |
| load_axis | – | – | Direction of the load in model coordinates: 'x', 'y', 'z' or [x, y, z]. For a gear pushed at its teeth, use an axis in the gear's plane. |
| model | string | yes | Path to an STL, OBJ, 3MF or STEP file on this computer. |
| printer | – | – | Printer preset name or a unique part of it, e.g. 'Kobra X'. Omit to use the printer selected in the slicer window. |
| priority | string | – | 'max_strength', 'balanced' or 'light' (less filament). |
No output schema declared.
No examples provided.
animate_layers Animate layers ~140
Make an animated GIF of the print building up layer by layer. Use it when the user wants to watch the build or share it; for checking one layer use preview_gcode instead. Writes <name>_layers.gif next to the G-code, replacing an older one. Returns the GIF and its path.
| Name | Type | Req | Description |
|---|---|---|---|
| max_frames | integer | – | Most frames in the GIF, 5 to 200; layers are skipped evenly to fit. |
| path | string | yes | Path to a .gcode file on this computer, e.g. one written by slice_model. |
| size | integer | – | Frame size in pixels, 200 to 1000. |
No output schema declared.
No examples provided.
check_bed_fit Check bed fit ~163
Check whether a model fits the printer's build volume, optionally after a rotation or scale. If it doesn't fit it suggests a 45-degree turn, a scale percentage, laying it down, or splitting it in CAD. model_info gives the same fit check without trying transforms. Read-only.
| Name | Type | Req | Description |
|---|---|---|---|
| model | string | yes | Path to an STL, OBJ, 3MF or STEP file on this computer. |
| printer | – | – | Printer preset name or a unique part of it, e.g. 'Kobra X'. Omit to use the printer selected in the slicer window. |
| rotation_deg | – | – | Rotation to test first, e.g. {'z': 45}. |
| scale | – | – | Scale factor to test first, e.g. 0.8. |
No output schema declared.
No examples provided.
cloud_printer_status Cloud printer status (through the slicer window) ~267
Read a printer that's on Anycubic Cloud (LAN mode off) from the slicer window's Workbench screen. Use it instead of printer_status when the printer's LAN mode is off, or when printer_status can't reach it. It switches the window to Workbench > Cloud Printer and reads it: printer and state (busy, idle, offline), job name, status and progress, layer, time left and total, estimated finish, nozzle and bed temperatures and targets, part fan, speed mode, firmware and the loaded slots. Returns the screenshot too: read values off it when a field is missing. With camera=True it also presses the camera panel's play button and returns a frame of the bed, the cloud counterpart of printer_camera_snapshot. Changes nothing on the printer; it only switches the window's tab and, with camera, starts and stops the stream. macOS only, needs the slicer open and signed in, plus Screen Recording and Accessibility permission for the app running this server.
| Name | Type | Req | Description |
|---|---|---|---|
| camera | boolean | – | Also start the Workbench camera and return a frame of the bed, e.g. to check it's empty before a print or to look at a running one. The stream is stopped again afterwards if this call started it. |
No output schema declared.
No examples provided.
compare_slices Compare slices ~320
Slice the same model several ways and compare print time, filament and cost side by side. Use it to show the price of a choice (stronger settings, finer layers, another orientation) before committing; for a single slice use slice_model. Runs the slicer once per variant, so it takes longer, and writes each variant's G-code to output_dir. Returns each variant's numbers, the change against the first, and the fastest and lightest variant.
| Name | Type | Req | Description |
|---|---|---|---|
| filaments | – | – | Filament preset names, one per filament slot, e.g. ['Anycubic PLA']. Omit to use the slicer window's selection. |
| models | array | yes | Model paths sliced the same way in every variant. |
| output_dir | – | – | Folder for the output files. Default: next to the first model. |
| output_name | – | – | Base name for the output files. Default: the first model's name. |
| printer | – | – | Printer preset name or a unique part of it, e.g. 'Kobra X'. Omit to use the printer selected in the slicer window. |
| process | – | – | Process preset (layer height, speeds), e.g. '0.20mm Standard'. Omit to use the slicer window's selection. |
| variants | array | yes | Up to 8 variants, each {'label': str, 'overrides': {...}, 'process': str, 'filaments': [...], 'rotation': {...}, 'scale': float}; all keys optional except label. The first is the reference. |
No output schema declared.
No examples provided.
control_print Pause, resume or stop a print ~234
Pause, resume or stop the print running on the printer, after the user confirms. Call it first without confirm: it checks the printer's state and returns what would happen (or why it can't, e.g. nothing is printing). Tell the user, wait for an explicit yes, then call again with confirm=True. It sends the command over LAN mode and waits up to 20 seconds for the printer to report the new state. Stop can't be undone; never stop or resume a print on your own initiative. Resume after a filament pause only once the user says the filament is fixed.
| Name | Type | Req | Description |
|---|---|---|---|
| action | string | yes | 'pause', 'resume' or 'stop'. Stop ends the print for good. |
| confirm | boolean | – | False (default) only previews what would happen. Set True only after the user has said yes in this conversation. |
| host | – | – | The printer's IP address on your network (shown on the printer under Settings > Network), e.g. '192.168.1.84'. Omit to use the last printer that worked, or ANYCUBIC_PRINTER_HOST. |
No output schema declared.
No examples provided.
create_filament_profile Create filament profile ~533
Turn the details printed on a filament spool label into a filament preset for the slicer. Read the label photo yourself and pass what it says; only material is required, and anything missing gets a typical value for that material (listed in the result). The preset inherits from the closest existing preset for the printer. With save=false it only returns a preview; show it to the user, then call again with save=true to write it to the slicer's user presets (overwrite=true replaces an existing one). For other preset edits use save_user_preset.
| Name | Type | Req | Description |
|---|---|---|---|
| add_to_inventory | boolean | – | With save=true, also record the spool in the local inventory. |
| bed_max | – | – | Highest bed temperature on the label, °C. |
| bed_min | – | – | Lowest bed temperature on the label, °C. |
| brand | – | – | Brand on the label. |
| colour_hex | – | – | Colour as '#RRGGBB', estimated from the photo if the label has none. |
| colour_name | – | – | Colour name on the label, e.g. 'Galaxy Black'. |
| density | – | – | Density in g/cm³ if printed on the label. |
| diameter_mm | – | – | Filament diameter, usually 1.75. |
| drying | – | – | Drying instructions from the label, kept in the profile notes. |
| material | string | yes | Material printed on the label, e.g. 'PLA', 'PETG', 'PLA+', 'ABS', 'TPU', 'PA-CF'. |
| max_speed_mm_s | – | – | Maximum print speed in mm/s if printed on the label. |
| name | – | – | Preset name. Default: 'Brand Product Colour @printer'. |
| nozzle_max | – | – | Highest nozzle temperature on the label, °C. |
| nozzle_min | – | – | Lowest nozzle temperature on the label, °C. |
| nozzle_recommended | – | – | Recommended nozzle temperature if the label gives one, °C. |
| overwrite | boolean | – | With save=true, replace an existing preset of the same name. |
| price | – | – | Price paid for the spool, used to set cost per kg. |
| printer | – | – | Printer preset name or a unique part of it, e.g. 'Kobra X'. Omit to use the printer selected in the slicer window. |
| product | – | – | Product line on the label, e.g. 'Silk' or 'Matte'. |
| save | boolean | – | False (default) only previews. True writes the preset; do it after the user confirms the preview. |
| weight_g | – | – | Net filament weight in grams, e.g. 1000. |
No output schema declared.
No examples provided.
diagnose_print Diagnose a failed print ~272
Explain what went wrong with a failed 3D print and which settings to change, from defects you identify in the user's photos. First call it with no issues to get the defect catalogue, compare the photos with each 'looks_like', then call again with the matching ids. Suggestions are computed from the presets actually in use; fixes that conflict are reported, not applied. Read-only: it changes no presets (save them with save_user_preset if the user wants to keep them). Returns causes, checks and an overrides dict for slice_model.
| Name | Type | Req | Description |
|---|---|---|---|
| filament | – | – | Filament preset the print used. Default: the selected filament. |
| issues | – | – | Defect ids seen in the photos, e.g. ['stringing', 'warping']. Omit to get the catalogue of 13 defects with what each looks like. |
| printer | – | – | Printer preset name or a unique part of it, e.g. 'Kobra X'. Omit to use the printer selected in the slicer window. |
| process | – | – | Process preset (layer height, speeds), e.g. '0.20mm Standard'. Omit to use the slicer window's selection. |
| severity | string | – | 'mild', 'moderate' or 'severe'; scales how big the suggested changes are. |
No output schema declared.
No examples provided.
estimate_cost Estimate cost ~219
Work out what a print costs: filament plus electricity plus any extra such as labour or markup. Use it for quotes or when the user asks what something costs; compare_slices already reports filament cost per variant. Returns each part of the cost and the total. Read-only; pure arithmetic.
| Name | Type | Req | Description |
|---|---|---|---|
| currency | string | – | Currency label for the result, e.g. 'USD'. |
| electricity_per_kwh | number | – | Electricity price per kWh. |
| extra | number | – | Fixed amount added, e.g. labour or markup. |
| gcode | – | – | Path to a sliced .gcode; supplies grams, time and filament price. Or give grams and print_time_s. |
| grams | – | – | Filament used in grams, when no gcode is given. |
| price_per_kg | – | – | Filament price per kg. Default: the price stored in the G-code. |
| print_time_s | – | – | Print time in seconds, when no gcode is given. |
| printer_power_w | number | – | Average printer power draw in watts. |
No output schema declared.
No examples provided.
find_best_orientation Find the best orientation ~260
Rank the ways a model can lie on the bed by support area, height, bed contact, weak layers and fit. Use it before slicing a part whose orientation isn't obvious; pass the winner's rotation to slice_model as rotation_deg. For load-bearing parts, analyze_strength also recommends walls and infill. Works on the mesh alone without running the slicer. Read-only.
| Name | Type | Req | Description |
|---|---|---|---|
| goal | string | – | 'balanced', 'least_support', 'fastest', 'strongest' or 'best_bed_adhesion'. |
| load_axis | – | – | Direction the part is pushed or pulled in use, in model coordinates: 'x', 'y', 'z' or [x, y, z]. Used by goal='strongest'. |
| model | string | yes | Path to an STL, OBJ, 3MF or STEP file on this computer. |
| printer | – | – | Printer preset name or a unique part of it, e.g. 'Kobra X'. Omit to use the printer selected in the slicer window. |
| support_angle | number | – | Overhang angle in degrees from vertical that needs support, 10 to 80. |
| top | integer | – | How many ranked orientations to return, 1 to 12. |
No output schema declared.
No examples provided.
find_printers Find printers ~226
Look for Anycubic printers on the local network and report whether their LAN mode is on. Use it before the other printer tools when no printer address is known. Probes port 18910 on every address in the range (a few seconds) and reads each printer's public info: address, model, name and LAN-mode state. With host, checks just that address. Read-only: it logs in to nothing and changes nothing. If LAN mode is off, tell the user to switch it on at Settings > Network > LAN Mode (not possible while a print is running).
| Name | Type | Req | Description |
|---|---|---|---|
| host | – | – | The printer's IP address on your network (shown on the printer under Settings > Network), e.g. '192.168.1.84'. Omit to use the last printer that worked, or ANYCUBIC_PRINTER_HOST. |
| subnet | – | – | Private IPv4 range to search, e.g. '192.168.1.0/24' (at most 1024 addresses). Default: this computer's own /24 network. |
No output schema declared.
No examples provided.
gcode_summary G-code summary ~106
Read the numbers out of an existing .gcode file: print time, filament grams, metres and cost, layers, first-layer time, colour changes, key settings and metres extruded per feature type. Use it on G-code you already have (from slice_model or another slicer); slice_model already returns these for new slices. Read-only.
| Name | Type | Req | Description |
|---|---|---|---|
| path | string | yes | Path to a .gcode file on this computer, e.g. one written by slice_model. |
No output schema declared.
No examples provided.
get_preset Read a preset's settings ~219
Read the effective settings of one preset, with its inheritance chain merged. Use it to find the exact setting names to pass as overrides to slice_model, compare_slices or save_user_preset (search='infill' finds sparse_infill_density and friends). Values longer than 200 characters are elided unless you ask for them by keys. Returns {preset, source, inherits, settings}. Read-only.
| Name | Type | Req | Description |
|---|---|---|---|
| keys | – | – | Exact setting keys to return in full, including long G-code templates. |
| kind | string | yes | 'machine', 'process' or 'filament'. |
| name | string | yes | Preset name, or a unique part of it, e.g. 'Anycubic PLA'. |
| printer | – | – | Printer preset name or a unique part of it, e.g. 'Kobra X'. Omit to use the printer selected in the slicer window. |
| search | – | – | Only return settings whose key contains this text, e.g. 'infill', 'support', 'temp', 'retract'. |
No output schema declared.
No examples provided.
list_presets List presets ~215
List preset names so you can pass exact ones to slice_model, compare_slices or get_preset. Use this to discover names; use get_preset to read the settings inside one preset. With a printer, only process and filament presets made for that printer are listed, the user's own presets first. Returns {count, presets: [{name, source}], truncated} with at most 300 rows. Read-only.
| Name | Type | Req | Description |
|---|---|---|---|
| include_incompatible | boolean | – | Also list process/filament presets made for other printers, marked fits_printer=false. |
| kind | string | yes | Which presets: 'machine' (printers), 'process' (layer height, speeds) or 'filament'. |
| printer | – | – | Printer preset name or a unique part of it, e.g. 'Kobra X'. Omit to use the printer selected in the slicer window. |
| search | – | – | Case-insensitive part of the name to filter by, e.g. 'PETG' or '0.16mm'. |
No output schema declared.
No examples provided.
list_spools List spools ~79
List the spools in the local inventory with how much filament each has left. Use it before a long print to pick a spool with enough filament. Read-only.
| Name | Type | Req | Description |
|---|---|---|---|
| material | – | – | Only list spools of this material. |
| need_g | – | – | Grams a planned print needs; spools with enough left (plus 5%) are marked. |
No output schema declared.
No examples provided.
make_calibration_print Make a calibration print ~298
Generate and slice a calibration print for tuning a filament or the printer. temperature_tower: one tower with a block per nozzle temperature, with the temperature changes written into the G-code. flow: one small cube per flow ratio. retraction: two towers per retraction length. first_layer: five single-layer squares across the bed to check levelling. Use it when a filament is new or prints look off and diagnose_print points to temperature, flow or retraction. Writes the G-code and .gcode.3mf files and returns their paths plus how to read the result.
| Name | Type | Req | Description |
|---|---|---|---|
| filament | – | – | Filament preset to calibrate. Default: the selected filament. |
| kind | string | yes | 'temperature_tower', 'flow', 'retraction' or 'first_layer'. |
| output_dir | – | – | Folder for the files. Default: Documents/Anycubic Slicer MCP/calibration. |
| printer | – | – | Printer preset name or a unique part of it, e.g. 'Kobra X'. Omit to use the printer selected in the slicer window. |
| process | – | – | Process preset (layer height, speeds), e.g. '0.20mm Standard'. Omit to use the slicer window's selection. |
| values | – | – | Values to test: temperatures in °C, flow ratios, or retraction lengths in mm; at most 8. Default: a sensible range for the filament. |
No output schema declared.
No examples provided.
model_info Model info ~158
Measure a 3D model before slicing: size, volume, surface area, triangles, separate pieces, watertightness and whether it fits the printer's build volume. Use it first on an unfamiliar file. For which way up to print it use find_best_orientation, and to test a rotation or scale against the bed use check_bed_fit. STEP files are converted with the slicer first. Read-only; it never changes the file.
| Name | Type | Req | Description |
|---|---|---|---|
| path | string | yes | Path to an STL, OBJ, 3MF or STEP file on this computer. |
| printer | – | – | Printer preset name or a unique part of it, e.g. 'Kobra X'. Omit to use the printer selected in the slicer window. |
No output schema declared.
No examples provided.
open_in_slicer Open in slicer ~112
Open a file in the Anycubic Slicer Next window on the user's screen. Only call it when the user asks to see or edit something in the slicer; every other tool works without the window. 3MF files are checked for post-processing scripts first and refused if they have one. Changes no files.
| Name | Type | Req | Description |
|---|---|---|---|
| path | string | yes | A model (STL, OBJ, 3MF, STEP), a .gcode or a .gcode.3mf on this computer. |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
optimize_multicolor Optimize multi-colour waste ~301
Measure how much filament a multi-colour print wastes on colour changes and try settings that might reduce it. Recommends a setting only if every colour survives and it saves filament; otherwise says the default is best and gives layout tips such as fewer colour changes per layer. Slices several times, so it takes a while, and writes each test's G-code to output_dir. For single-colour prints use slice_model or compare_slices.
| Name | Type | Req | Description |
|---|---|---|---|
| filament_colours | – | – | '#RRGGBB' for each slot; colour order affects how much is flushed. |
| filaments | array | yes | Filament preset for each slot, e.g. two entries for a two-colour print. |
| models | array | yes | Model paths, one per colour part, in the same order as object_filaments. |
| object_filaments | array | yes | Filament slot (1-based) for each model, e.g. [1, 2]. |
| output_dir | – | – | Folder for the output files. Default: next to the first model. |
| output_name | – | – | Base name for the output files. |
| printer | – | – | Printer preset name or a unique part of it, e.g. 'Kobra X'. Omit to use the printer selected in the slicer window. |
| process | – | – | Process preset (layer height, speeds), e.g. '0.20mm Standard'. Omit to use the slicer window's selection. |
No output schema declared.
No examples provided.
plan_project Plan a multi-part project ~529
Plan a whole multi-part project from a folder or .zip: find every model, lay each in its best orientation and pack them onto plates. Reads counts from names like clip_x4.stl and from READMEs. Returns plates with rough time and filament, stated assumptions, and questions about anything unclear (duplicate versions, odd scale, parts too big, missing counts, colours, grouping). Put the blocking questions to the user, then call again with plan_id and the answers; part ids are paths relative to the project folder. Slicing happens only in slice_project. Saves the plan, and unpacks zips, under the server's state folder; each call without plan_id starts a new plan.
| Name | Type | Req | Description |
|---|---|---|---|
| answered | – | – | Question ids the user settled by keeping the suggested default. |
| colours | – | – | Colour per part id, e.g. {'knob.stl': 'red'}, used by goal='by_colour'. |
| exclude | – | – | Part ids to leave out. |
| filaments | – | – | Filament preset names, one per filament slot, e.g. ['Anycubic PLA']. Omit to use the slicer window's selection. |
| goal | – | – | 'fewest_plates' or 'by_colour' (one colour per plate). |
| include | – | – | Part ids to put back in, such as test pieces left out by default. |
| max_hours_per_plate | – | – | Keep each plate under this many hours (rough estimate), 0.25 to 200. |
| overrides | – | – | Setting overrides applied to every plate, as for slice_model. |
| path | – | – | Folder, .zip, or single model file of the project. Required unless plan_id is given. |
| plan_id | – | – | Re-plan an earlier plan with new answers; earlier answers are kept. |
| printer | – | – | Printer preset name or a unique part of it, e.g. 'Kobra X'. Omit to use the printer selected in the slicer window. |
| process | – | – | Process preset (layer height, speeds), e.g. '0.20mm Standard'. Omit to use the slicer window's selection. |
| quantities | – | – | Copies per part id, e.g. {'clip.stl': 4}. |
| scales | – | – | Scale per part id, e.g. {'bracket.stl': 25.4} for a part exported in inches. |
| separate_supported | – | – | True puts parts that need supports on their own plates. |
| spacing_mm | – | – | Gap between parts on a plate in mm, 1 to 50. Default 6. |
No output schema declared.
No examples provided.
preview_gcode Preview G-code ~206
Draw G-code toolpaths as a PNG so you and the user can check a slice before printing. view='top' without a layer shows placement on the bed; with a layer it colours walls orange/yellow, infill red, top surfaces pink, bottom blue, bridges cyan and support teal. view='side' shows overhangs and support. For a build-up animation use animate_layers; for a shareable summary use print_card. Read-only: returns the image and layer metadata without writing files.
| Name | Type | Req | Description |
|---|---|---|---|
| layer | – | – | 1-based layer to draw coloured by feature. Omit to draw every layer shaded by height. |
| path | string | yes | Path to a .gcode file on this computer, e.g. one written by slice_model. |
| size | integer | – | Image size in pixels, 200 to 2000. |
| view | string | – | 'top' (from above) or 'side' (front elevation of the whole print). |
No output schema declared.
No examples provided.
print_card Print card ~178
Make a 1200x630 PNG summary card of a sliced print: toolpath preview, time, filament, cost, layers, infill, walls and printer. Use it to share or quote a print; for inspecting toolpaths use preview_gcode. Writes <name>_card.png next to the G-code, replacing an older one. Returns the image and its path.
| Name | Type | Req | Description |
|---|---|---|---|
| currency_symbol | string | – | Symbol shown before the cost, e.g. '$' or '€'. |
| path | string | yes | Path to a .gcode file on this computer, e.g. one written by slice_model. |
| price_per_kg | – | – | Filament price per kg for the cost line. Default: the cost stored in the G-code. |
| title | – | – | Heading on the card. Default: the G-code file name. |
No output schema declared.
No examples provided.
print_from_slicer Print through the slicer window (Anycubic Cloud) ~303
Start the plate that's open in the slicer window on a cloud printer, through the window's own Start Print dialog, after the user confirms. Use it when the printer's LAN mode is off (send_print needs LAN mode). First open the file with the right presets (restart_slicer with open_path and presets, or open_in_slicer) and slice it in the window. Then call this without confirm: it presses Remote Print and reads the dialog (task name, time, weight, filaments, printer and its state, whether Start Print is enabled) and leaves the dialog open for the user to see. Show the user, ask them to check the bed is empty, and only on an explicit yes call again with confirm=True: it checks the dialog still shows the same task and time, presses Start Print, and waits for the upload to finish (up to 2 minutes). The slicer does the upload through the user's Anycubic account; this server never sees its login. Starting a print heats the nozzle and bed and moves the head; never do it on your own initiative. Filament-to-slot mapping is whatever the dialog shows: check it in the screenshot, and change it with slicer_click before confirming if it's wrong.
| Name | Type | Req | Description |
|---|---|---|---|
| confirm | boolean | – | False (default) opens and reads the Start Print dialog. Set True only after the user has said yes to this print in this conversation. |
No output schema declared.
No examples provided.
printer_camera_snapshot Printer camera snapshot ~210
Take one photo with the printer's built-in camera and return it, so you can look at the print. Use it with printer_status when triaging: look for spaghetti, lifted corners, blobs, a detached part or an empty bed. Starts the camera stream, grabs one frame with ffmpeg (needs ffmpeg installed), stops the stream and turns the camera light back off if it was off. Takes up to about 20 seconds; writes printer-<time>.jpg to output_dir. Doesn't affect the print. Needs LAN mode, and the slicer's camera view closed (the printer serves one viewer).
| Name | Type | Req | Description |
|---|---|---|---|
| host | – | – | The printer's IP address on your network (shown on the printer under Settings > Network), e.g. '192.168.1.84'. Omit to use the last printer that worked, or ANYCUBIC_PRINTER_HOST. |
| output_dir | – | – | Folder for the JPEG. Default: Documents/Anycubic Slicer MCP/printer. |
No output schema declared.
No examples provided.
printer_status Printer status ~230
Read a printer's live state over its LAN mode: what it's doing, the current job, temperatures, errors and loaded filament. Use it to triage a print that paused, failed or looks wrong, before diagnose_print, or to check progress. Returns state (printing, paused, idle...), job (file, progress, layer, minutes left), nozzle/bed temperatures and targets, fans, lights, filament in the external spool and each ACE or built-in unit slot (material, colour, remaining), and errors with Anycubic's meaning and a wiki link. Read-only: it only sends status queries. Needs LAN mode on the printer; remembers the printer's address (no passwords) for next time.
| Name | Type | Req | Description |
|---|---|---|---|
| host | – | – | The printer's IP address on your network (shown on the printer under Settings > Network), e.g. '192.168.1.84'. Omit to use the last printer that worked, or ANYCUBIC_PRINTER_HOST. |
| wait_seconds | number | – | How long to collect the printer's reports, 3 to 30 seconds. |
No output schema declared.
No examples provided.
restart_slicer Restart the slicer window ~272
Close Anycubic Slicer Next the normal way and open it again, optionally with presets selected and a file open. Use it after saving presets (the window only reads them at start-up) or to open a model with exact presets picked, so the user can slice and send from the window with your settings. It never force-quits: if the window is asking whether to save the current project, nothing changes and you get told to ask the user to answer that dialog. Selecting presets edits the slicer's settings file while it is closed (a backup is kept next to it).
| Name | Type | Req | Description |
|---|---|---|---|
| colours | – | – | '#RRGGBB' per filament for the window's colour swatches. |
| filaments | – | – | Filament preset names, one per filament slot, e.g. ['Anycubic PLA']. Omit to use the slicer window's selection. |
| open_path | – | – | A model, .3mf or .gcode.3mf to open when it starts. Omit to just restart. |
| printer | – | – | Printer preset to have selected, e.g. 'Kobra X'. Needed to choose a process or filaments. |
| process | – | – | Process preset (layer height, speeds), e.g. '0.20mm Standard'. Omit to use the slicer window's selection. |
No output schema declared.
No examples provided.
save_user_preset Save a user preset ~271
Write a new process, filament or printer preset into the user's Anycubic Slicer Next presets. Use it when the user wants settings kept for future prints; for a one-off print pass overrides to slice_model instead, and for fixing a failed print use diagnose_print first (which only suggests changes and saves nothing). Writes one JSON file to the slicer's user preset folder; with overwrite=true it replaces an existing one. Ask the user before calling. The slicer window shows it after a restart. Returns {saved, kind, inherits}.
| Name | Type | Req | Description |
|---|---|---|---|
| inherits | string | yes | Existing preset to start from; the new preset stores only what differs. |
| kind | string | yes | 'process', 'filament' or 'machine'. |
| name | string | yes | Name for the new preset as it will appear in the slicer, 1-120 characters, no <>:"/\|?*; |
| overwrite | boolean | – | Replace an existing user preset with the same name. Default false refuses. |
| printer | – | – | Limit the new process/filament preset to this printer. Omit to keep the parent's printers. |
| settings | object | yes | Setting key to value, only the values that differ, e.g. {'wall_loops': 3}. Find keys with get_preset. |
No output schema declared.
No examples provided.
send_print Send a print to the printer ~345
Upload a sliced .gcode.3mf to the printer over LAN mode and start printing it, after the user confirms. Call it first without confirm: it reads the file (printer model, time, weight, filaments), checks the printer is idle and is the model the file was sliced for, and maps each filament to a loaded slot of the colour unit, refusing a material mismatch. Show the user that preview, ask them to make sure the bed is empty, and only on an explicit yes call again with confirm=True. Then it uploads the file (up to a few minutes for big files), sends the start command and waits for the printer to report that it's heating or printing. Starting a print heats the nozzle and bed and moves the head; never send one on your own initiative. Supports one colour unit (the Kobra X's own 4-slot unit or a single ACE).
| Name | Type | Req | Description |
|---|---|---|---|
| confirm | boolean | – | False (default) only previews. Set True only after the user has said yes to this print in this conversation. |
| file | string | yes | A sliced .gcode.3mf on this computer, e.g. the gcode_3mf path slice_model returned. |
| host | – | – | The printer's IP address on your network (shown on the printer under Settings > Network), e.g. '192.168.1.84'. Omit to use the last printer that worked, or ANYCUBIC_PRINTER_HOST. |
| slots | – | – | Colour-unit slot (1-4) for each filament in the file, in order, e.g. [4]. Omit to pick by material and nearest colour. |
No output schema declared.
No examples provided.
slice_model Slice a model ~637
Slice 3D models into printer-ready G-code with Anycubic Slicer Next, running locally. The main tool for a single plate. For several variants of one model use compare_slices; for a whole folder of parts use plan_project and slice_project. Writes <name>.gcode and <name>.gcode.3mf (send the .gcode.3mf to the printer) to output_dir, replacing files of the same name; takes seconds to a few minutes. Returns print time, grams, cost, layers, per-filament use, the output paths and slicer warnings, which flag overrides the slicer clamped or ignored. It never sends anything to a printer.
| Name | Type | Req | Description |
|---|---|---|---|
| arrange | boolean | – | Let the slicer arrange parts on the plate. Turn off to keep 3MF positions. |
| bed_type | – | – | Plate type, e.g. 'Textured PEI Plate', 'Smooth PEI Plate', 'Cool Plate'. Default: the selected plate. |
| copies | integer | – | Copies of each model on the plate, 1 to 200. |
| filament_colours | – | – | Multi-colour: '#RRGGBB' for each filament slot, matching the loaded spools. |
| filaments | – | – | Filament preset names, one per filament slot, e.g. ['Anycubic PLA']. Omit to use the slicer window's selection. |
| models | array | yes | Paths to STL, 3MF, OBJ or STEP files, all placed on one plate. |
| object_filaments | – | – | Multi-colour: filament slot (1-based) for each model, in order, e.g. [1, 2]. |
| orient | boolean | – | Let the slicer auto-orient parts. Prefer find_best_orientation plus rotation_deg. |
| output_dir | – | – | Folder for the output files. Default: next to the first model. |
| output_name | – | – | Base name for the output files. Default: the first model's name. |
| overrides | – | – | Setting key to value for this slice only, e.g. {'sparse_infill_density': '20%', 'wall_loops': 3, 'enable_support': true}. Keys come from get_preset. |
| plate | integer | – | Which plate of a multi-plate 3MF to slice; 0 slices all plates. |
| printer | – | – | Printer preset name or a unique part of it, e.g. 'Kobra X'. Omit to use the printer selected in the slicer window. |
| process | – | – | Process preset (layer height, speeds), e.g. '0.20mm Standard'. Omit to use the slicer window's selection. |
| rotation_deg | – | – | Rotation in degrees applied before slicing, e.g. {'x': 90, 'y': 0, 'z': 0}. |
| scale | – | – | Uniform scale factor, e.g. 25.4 for a model exported in inches. 0.01 to 100. |
| timeout_s | integer | – | Give up after this many seconds, 30 to 7200. |
No output schema declared.
No examples provided.
slice_project Slice a planned project ~163
Slice every plate of a plan from plan_project once the user has approved it. Refuses while any blocking question is unanswered. Each plate is sliced separately into its own .gcode and .gcode.3mf; parts the slicer can't fit move to the next plate. Takes about as long as slicing each plate, writes the files plus project_summary.json to output_dir (replacing earlier runs), and returns real times and weights per plate, totals, and a preview image of up to six plates.
| Name | Type | Req | Description |
|---|---|---|---|
| output_dir | – | – | Folder for the plate files. Default: Documents/Anycubic Slicer MCP/<plan id>. |
| plan_id | string | yes | Plan id from plan_project. |
| plates | – | – | Only slice these plate numbers. Default: all. |
No output schema declared.
No examples provided.
slicer_click Click in the slicer window ~314
Click a button by its text (or at a point, or press one key) in the Anycubic Slicer Next window, then return a fresh screenshot and text of it. Take slicer_screenshot first. Clicks only land inside the slicer's window, only when it's the frontmost window, and never in its title bar. Buttons that start, send, pause, stop, delete or discard something are refused unless confirm=True, which needs the user's explicit yes to that click. macOS only; needs Accessibility permission for the app running this server, which is the user's decision.
| Name | Type | Req | Description |
|---|---|---|---|
| confirm | boolean | – | Needed to click a button that prints, sends, pauses, stops, deletes or discards (e.g. 'Start Print', 'End', 'No' in a save dialog). Set True only after the user said yes to that exact click in this c… |
| double | boolean | – | Double-click instead of a single click. |
| key | – | – | Instead of clicking, press one key: return, escape, tab, space or delete. |
| occurrence | – | – | Which match to click when the text appears more than once, 1 = first in reading order. |
| text | – | – | Click the button or label with this text, e.g. 'Preview' or 'Cancel'. Preferred over x/y. |
| x | – | – | Or: X in pixels of the latest slicer_screenshot image. |
| y | – | – | Or: Y in pixels of the latest slicer_screenshot image. |
No output schema declared.
No examples provided.
slicer_screenshot Screenshot the slicer window ~114
Bring the Anycubic Slicer Next window to the front and return a picture of just that window, plus its text. Use it to see what the user sees: which presets are selected, the sliced time and weight, a dialog that's waiting for an answer. The text list gives each line read from the window as [text, x, y] in the image's pixels, which is what slicer_click takes. macOS only for now; needs Screen Recording permission for the app running this server.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
slicer_status Slicer status ~107
Report whether Anycubic Slicer Next is installed and what its window currently has selected. Call this first in a session, and whenever a slice fails with "not found": it returns the server version, operating system, slicer executable and version, data folder, how many printer/process/filament presets exist, the selected printer, process, filaments and plate type, and the build volume. Read-only; it only reads the slicer's config files and starts nothing.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
update_spool Update spool ~154
Change a spool in the local inventory: set what's left, subtract a finished print, edit notes, or remove it. use_g subtracts each time it is called, so don't repeat it for the same print. remove=true deletes the spool record permanently. Returns the updated spool.
| Name | Type | Req | Description |
|---|---|---|---|
| filament_preset | – | – | Set the filament preset to print it with. |
| notes | – | – | Replace the spool's notes. |
| remaining_g | – | – | Set grams left, e.g. after weighing the spool. |
| remove | boolean | – | Delete the spool from the inventory. |
| spool_id | string | yes | Spool id from list_spools or add_spool. |
| use_g | – | – | Subtract grams used by a finished print. |
No output schema declared.
No examples provided.
How do I install the Anycubic Slicer MCP server?
Anycubic Slicer MCP runs locally as a PyPI package, launched with uvx anycubic-slicer-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
pypi · anycubic-slicer-mcp
claude mcp add pri-te-sh-anycubic-slicer-mcp -- uvx anycubic-slicer-mcp
What is the Anycubic Slicer MCP server?
Anycubic Slicer MCP is listed in the public MCP registry as io.github.pri-te-sh/anycubic-slicer-mcp. Slice, preview and diagnose 3D prints in Anycubic Slicer Next, then send and watch them. This page covers its PyPI package (anycubic-slicer-mcp).
Is the Anycubic Slicer MCP server safe to use?
Anycubic Slicer MCP scores 88 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 30 November 2026. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the Anycubic Slicer MCP server expose?
Anycubic Slicer MCP exposes 35 tools: slicer_status, list_presets, get_preset, save_user_preset, model_info, and 30 more. Their descriptions and schemas cost roughly 8,620 tokens of context every time the server is loaded.
Is the Anycubic Slicer MCP server still maintained?
Anycubic Slicer MCP is still listed as active in the MCP registry. We last reached this channel on 30 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the Anycubic Slicer MCP server under?
Anycubic Slicer MCP declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.
What did VerifyMCP test on the Anycubic Slicer MCP server?
VerifyMCP ran 16 checks on Anycubic Slicer MCP, covering Malware scan, Known CVEs, Install scripts, Dependency health and 12 more. Endpoint Security and Transport & Reachability do not apply to a PyPI package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.