Skip to main content
Glama
EmreTekir

anycubic-slicer-mcp

by EmreTekir

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ANYCUBIC_SLICER_EXENoPath to the Anycubic Slicer Next executable.C:\Program Files\AnycubicSlicerNext\AnycubicSlicerNext.exe
ANYCUBIC_SLICER_DATANoPath to the Anycubic Slicer Next data folder (contains presets and AnycubicSlicerNext.conf).%APPDATA%\AnycubicSlicerNext
ANYCUBIC_MCP_ALLOW_NETWORK_PATHSNoUnset by default; set to 1 to allow network paths (\\server\share paths). Refused otherwise.
ANYCUBIC_MCP_ALLOW_GCODE_TEMPLATESNoUnset by default; set to 1 to allow editing raw G-code templates (machine_start_gcode, filament_end_gcode, …) which are otherwise read-only.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
slicer_statusC

Slicer install, version, active user preset folder and the GUI's current printer/process/filament.

list_presetsB

List selectable presets. kind: machine | process | filament. For process/filament pass printer to keep only compatible ones (user presets listed first). search is a case-insensitive substring filter (e.g. 'S1', 'PLA', '0.16mm').

get_presetA

Fully resolved (inheritance-merged) preset values. Name may be a unique substring; printer narrows ambiguous process/filament names. Use search to filter keys by substring (e.g. 'infill', 'support', 'temp', 'speed') or keys for exact ones; with neither, long G-code template values are truncated.

model_infoC

Size (mm), bounding box, facet count, volume (mm3) and manifold check for a model file.

slice_modelA

Slice STL/3MF/OBJ/STEP files to G-code plus a .gcode.3mf project (openable in the GUI / sendable to the printer).

printer/process/filaments: preset names or unique substrings; omitted -> GUI selection for that printer. overrides: setting key -> value, routed automatically to process/filament/machine (per-nozzle variants like nozzle_temperature_HS/_BRASS follow the plain key). output_dir defaults to the first model's folder; existing files with the same name are replaced. plate: 0 = all plates. arrange/orient: auto-place and auto-orient (arrange=false keeps the file's coordinates). scale / rotate_z (degrees): STL and OBJ only. copies: total instances of each model. use_project_settings: slice a 3MF with the settings stored inside it (no presets/overrides). Returns gcode paths with print time, filament grams/meters, layer count, key settings and warnings.

gcode_summaryB

Print-time / filament / layer estimates and key settings read from an existing .gcode file.

preview_gcodeA

Top-down PNG render of a .gcode. layer=None: all layers shaded by height (footprint/placement check). layer=N (1-based): that layer colored by feature: outer wall orange, inner wall yellow, sparse infill dark red, solid infill magenta, top surface red, bottom surface blue, bridge light blue, overhang wall dark blue, support green, brim/skirt cyan, gap fill white. size: image edge in pixels (200-2000).

open_in_slicerA

Open a model/3MF/G-code in the Anycubic Slicer Next GUI. Only call this when the user asks to see it.

save_user_presetB

Create/overwrite a user preset that shows up in the GUI (restart the slicer to see it). inherits: parent preset name; settings: only the keys that differ from the parent.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 9 tools

Disambiguation4/5

Most tools have clearly distinct purposes: slicing, summarizing G-code, previewing, opening the GUI, inspecting models, and managing presets. The only potential overlap is between get_preset and list_presets, but their descriptions make the list-vs-resolve distinction clear.

Naming Consistency4/5

All names use consistent snake_case, which is readable and predictable. However, the set mixes verb_noun names (get_preset, slice_model, preview_gcode) with noun-style names (gcode_summary, slicer_status, model_info), a minor deviation rather than a serious inconsistency.

Tool Count5/5

Nine tools is well-scoped for an Anycubic slicer integration. Each tool covers a distinct workflow step, from model inspection through slicing, G-code review, and preset management, with no obvious padding.

Completeness4/5

The surface covers the core slicer lifecycle: inspect models, list/get/save presets, slice, summarize and preview G-code, open the GUI, and check slicer status. Minor gaps remain, such as deleting or renaming user presets, but agents can work around these for the main workflows.

Maintenance

ActivityMaintained
ResponsivenessNo issues