Skip to content
MCP server

MeltSlicer

Slice STL files to G-code over an API or MCP, with flat or conical layers

Runs locally

MeltSlicer is a paid MCP server for 3d printing. It runs locally on your machine and is started by your AI client.

Pricing
Paid
Platforms
API, CLI, Web
Runs
Locally
Access
Needs a secret key or token
Version
0.1.1
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add nonplanar-slicer-mcp --env MELT3D_API_KEY='<MELT3D_API_KEY>' -- npx -y @melt3d/nonplanar-slicer-mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "nonplanar-slicer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@melt3d/nonplanar-slicer-mcp"
      ],
      "env": {
        "MELT3D_API_KEY": "<MELT3D_API_KEY>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "nonplanar-slicer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@melt3d/nonplanar-slicer-mcp"
      ],
      "env": {
        "MELT3D_API_KEY": "<MELT3D_API_KEY>"
      }
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "nonplanar-slicer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@melt3d/nonplanar-slicer-mcp"
      ],
      "env": {
        "MELT3D_API_KEY": "<MELT3D_API_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "nonplanar-slicer-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@melt3d/nonplanar-slicer-mcp"
      ],
      "env": {
        "MELT3D_API_KEY": "<MELT3D_API_KEY>"
      }
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add nonplanar-slicer-mcp --env MELT3D_API_KEY='<MELT3D_API_KEY>' -- npx -y @melt3d/nonplanar-slicer-mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.nonplanar-slicer-mcp]
command = "npx"
args = ["-y", "@melt3d/nonplanar-slicer-mcp"]
env = { MELT3D_API_KEY = "<MELT3D_API_KEY>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "nonplanar-slicer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@melt3d/nonplanar-slicer-mcp"
      ],
      "env": {
        "MELT3D_API_KEY": "<MELT3D_API_KEY>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "nonplanar-slicer-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@melt3d/nonplanar-slicer-mcp"
          ],
          "env": {
            "MELT3D_API_KEY": "<MELT3D_API_KEY>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e MELT3D_API_KEY='<MELT3D_API_KEY>' nonplanar-slicer-mcp npx -- -y @melt3d/nonplanar-slicer-mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "nonplanar-slicer-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@melt3d/nonplanar-slicer-mcp"
          ],
          "env": {
            "MELT3D_API_KEY": "<MELT3D_API_KEY>"
          }
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "nonplanar-slicer-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@melt3d/nonplanar-slicer-mcp"
          ],
          "env": {
            "MELT3D_API_KEY": "<MELT3D_API_KEY>"
          }
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "nonplanar-slicer-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@melt3d/nonplanar-slicer-mcp"
          ],
          "env": {
            "MELT3D_API_KEY": "<MELT3D_API_KEY>"
          }
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "nonplanar-slicer-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@melt3d/nonplanar-slicer-mcp"
          ],
          "env": {
            "MELT3D_API_KEY": "<MELT3D_API_KEY>"
          }
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "nonplanar-slicer-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@melt3d/nonplanar-slicer-mcp"
          ],
          "env": {
            "MELT3D_API_KEY": "<MELT3D_API_KEY>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "nonplanar-slicer-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@melt3d/nonplanar-slicer-mcp"
          ],
          "env": {
            "MELT3D_API_KEY": "<MELT3D_API_KEY>"
          }
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "nonplanar-slicer-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@melt3d/nonplanar-slicer-mcp"
          ],
          "env": {
            "MELT3D_API_KEY": "<MELT3D_API_KEY>"
          }
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • MELT3D_API_KEYA Melt3D Slicer API key (m3d_live_…). New accounts start with free credit: https://auth.melt3d.eu/developers.Required

About MeltSlicer

MeltSlicer turns a binary STL and a set of print settings into printable G-code on Melt3D's servers, so nothing has to be installed or kept running locally. Requests go to a single HTTP endpoint, and the slicing engine can be PrusaSlicer, CuraEngine or OrcaSlicer, chosen per request to match the profiles a printer was tuned for.

Besides flat layers, the service can slice in conical layers, which bends the part before slicing and maps the G-code back onto the bed so that outward or inward leaning overhangs print without supports. Each slice is billed separately, and an account-level monthly spending cap stops keys from slicing once it is reached.

The same service is exposed as an MCP server, so an AI assistant in Claude, Cursor or VS Code can slice a model on the user's machine and report layer count, print time and filament use. It suits app developers, print farms and pipelines that need slicing without shipping a slicer.

Tools this server provides (2)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 2 names don't say.

From the server's own tool labels and tool names; not verified by us.

slice_model
Slices an STL file into a G-code file, with flat or conical layers and print settings.
slicer_settings
Describes the available settings, key types, limits and pricing.

What it does

Single HTTP slicing endpoint
Post a binary STL with print settings as query parameters and receive the G-code file in the response.
Conical layer slicing
Slices in conical layers at a chosen cone angle, so outward-leaning overhangs can print without supports.
Choice of three engines
Select PrusaSlicer, CuraEngine or OrcaSlicer per request to match the profile a printer was tuned for.
MCP server for AI assistants
An npm MCP server lets compatible clients slice local STL files and write G-code beside each model.
Retry-safe requests
An Idempotency-Key header ensures a retried request within 24 hours is billed only once.
Monthly spending cap
Each account has a configurable monthly cap after which its keys stop slicing.

Good for

  • Slicing customer orders automatically from a print farm queue
  • Adding print preparation to a product or configurator app without bundling a slicer
  • Letting an AI assistant slice a local model and report print time and filament
  • Printing overhangs without supports by slicing in conical layers
  • Batch-slicing parts gzipped over HTTP from a build pipeline

Pricing

Paid

Pay per slice: 0.10 EUR flat, 0.20 EUR conical; new accounts get 1 EUR free credit

Prices change. Check melt3d.eu before you buy.

MeltSlicer FAQ

How do I slice an STL file through an API?

Send the binary STL as the body of a POST request to the slices endpoint, with your API key in the Authorization Bearer header and print settings as query parameters. The response is the G-code file.

Which slicing engines are supported?

PrusaSlicer, CuraEngine and OrcaSlicer. PrusaSlicer is the default and the engine query parameter selects the others.

How is MeltSlicer billed, and is there a spending cap?

Slices that return G-code cost 0.10 EUR for a flat slice and 0.20 EUR for a conical slice, billed monthly through Stripe. Each account has a monthly spending cap, 100 EUR by default, after which keys stop slicing.

Which file formats does MeltSlicer take?

Binary STL up to 100 MiB after gzip is inflated. Other formats such as 3MF, OBJ or STEP need to be exported as STL first, and conical layers require binary STL.

Is MeltSlicer free?

No. MeltSlicer is a paid product.

How do I add MeltSlicer to Claude Code?

Run this command in your terminal: claude mcp add nonplanar-slicer-mcp --env MELT3D_API_KEY='<MELT3D_API_KEY>' -- npx -y @melt3d/nonplanar-slicer-mcp

What are the best alternatives to MeltSlicer?

The closest alternatives to MeltSlicer are 3d Cad, cadloop Slicer, PicToSTL, MCP Stl and cadloop OpenSCAD.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers