Skip to content

Local API / command-line mode for automation and AI assistants (MCP) #645

Open

Description

@diegocostares

Is there an existing issue for this feature request?

  • I have searched the existing issues

Is your feature request related to a problem?

Creality Print can only be driven through the GUI. There is no supported way to load a model or project, change process settings (layer height ranges, supports, walls, brim, fuzzy skin), slice, and read the results (time, filament, warnings, G-code) from a script or an AI assistant.

Users who want to automate print preparation or let an assistant tune settings and re-slice have to edit preset files on disk (fragile, can be overwritten while the app is open) or switch to another slicer. A finished G-code can't be adjusted either, because settings like walls, infill, supports or layer heights are baked into it and need a re-slice.

Which printers will be beneficial to this feature?

All

Describe the solution you'd like

  1. Command-line mode (like OrcaSlicer/PrusaSlicer), e.g.:
    CrealityPrint --slice project.3mf --load-settings process.json --export-gcode out.gcode --export-stats stats.json

  2. Optional local HTTP API (disabled by default, bound to localhost only) to:

    • load models/projects and list objects
    • get/set global and per-object settings, including layer-height ranges and modifiers
    • slice and fetch G-code plus stats (time, filament, warnings)
    • render a preview image of the plate
  3. Ideally, an official MCP (Model Context Protocol) server on top of that API, so assistants such as Claude can prepare and tune prints in Creality Print directly, always with the user's approval.

Describe alternatives you've considered

  • Editing preset JSON files directly (e.g. the community "creality-print-mcp" project). It works for presets, but it can't slice or touch the open project, and the app can overwrite changes while it's running.
  • Editing exported G-code. Only minor things (like accelerations) can be changed safely; layer heights, walls, infill and supports require re-slicing.
  • Switching to OrcaSlicer, which already has a community build with an embedded control API and an MCP server ("orcaslicer-mcp" on PyPI). It's an option, but we'd rather stay in Creality Print for Creality printers, CFS integration and official profiles.
  • Exchanging .3mf project files manually and re-slicing by hand. It works, but it's slow for iterative tuning.

Additional context

Use case: I design wearable parts (e.g. a shoe cover with separately printed claws) with a script-generated model and an AI assistant. The assistant can analyze my G-code and recommend changes (variable layer height, support Z/XY distance, brim, accelerations, walls/infill), but it can't apply them or re-slice in Creality Print. Being able to do that through a local API/CLI would close the loop: change settings, slice, compare, print.

Since OrcaSlicer (Creality Print's upstream) already has a working proof of concept of an embedded API plus an MCP server, porting a similar, opt-in, localhost-only API should be feasible.

Related: #488 (OctoPrint upload), which also asks for better workflow integration.

Activity

  1. added
    enhancement
    on Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions