step2gcode

com.step2gcode/step2gcode · v1.0.1 · design

step2gcode is healthy: it completed an MCP handshake in 420 ms and exposes 12 tools.

Turn STEP, DXF and SVG files into CNC milling and laser G-code for GRBL, LinuxCNC, Mach3 and more.

Endpoint: https://www.step2gcode.com/api/mcp (streamable-http)

No repository listed · Website · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count12
Latency420 ms
Last checked (UTC)2026-11-30T17:45:17.053Z

Health history

Checked (UTC)StatusLatencyError
2026-11-30T17:45:17.053ZHealthy420
2026-11-28T08:10:15.963ZHealthy1688
2026-11-26T00:20:29.475ZHealthy3622
2026-11-23T18:26:00.092ZHealthy3676
2026-11-21T14:30:26.652ZHealthy1403
2026-11-19T11:45:20.215ZHealthy3414
2026-11-17T10:15:29.454ZHealthy1879
2026-11-15T10:10:41.126ZHealthy3109
2026-11-13T11:21:02.534ZHealthy3995

Tools (12)

create_upload_linkCreate a short-lived link the user opens in their browser to upload a CAD file (STEP, DXF or SVG). Returns the link and an upload_id. Poll check_upload with the upload_id until it reports a file_id, then call generate_gcode. Free. Before using this, check whether you can run shell commands. If you
check_uploadCheck whether the user finished the browser upload. Returns the file_id once ready. Free. NEXT STEP - do not generate yet. Ask the user: 1. Which material? Offer the presets (wood, hardwood, plywood, acrylic, aluminum, steel, brass). If theirs is not among them, pick the closest preset AND set spin
upload_file_contentUpload a CAD file by writing its content out yourself. Use this only when a direct curl upload to /api/upload is not possible - that route costs you no output at all. If you must use this tool, ALWAYS compress first and pass the output as content: (xz -9e -c model.step 2>/dev/null || gzip -9c mode
generate_gcodeStart G-code generation for an uploaded file and wait for the result. Most jobs finish within the wait, so the answer usually already carries the part dimensions and hole diameters - no polling needed. Only if it says the job is still running, call get_job_status once after a few seconds. Free - onl
get_job_statusCheck a generation job. While it runs you get the percentage done, how long it has been running and how much time is left before the generator gives up on its own (180 s). When it fails you get the generator's own reason - pass that on to the user instead of retrying blindly. This is the ONLY correc
preview_toolpathShow the finished tool path as an image (top view and isometric view, cutting moves and rapids in different colours) so the user can sanity-check the job before paying. Free.
get_download_linkReturn the download link for the finished G-code. THIS is the billed step: one credit per model not paid for yet. Re-downloading the same job or a model already paid for is free. Called without confirm, this tool charges nothing and only reports what the download would cost. Show that to the user,
convert_mesh_to_stepTurn an uploaded STL or 3MF mesh back into a STEP solid with exact surfaces - planes, cylinders, cones and fillets instead of triangles, intersected into real edges. Free; only the download of the finished file is charged. Use this when the user has a mesh and needs CAD geometry: a hole becomes a c
get_step_download_linkReturn the download link for a STEP file built by convert_mesh_to_step. While stl2step is in beta this is free and the answer says so; otherwise it is the billed step: one credit per model not paid for yet. The DXF contour that comes with a 2.5D part belongs to the same part and costs nothing extra.
searchSearch step2gcode's help and knowledge base: supported files (STEP, DXF, SVG, STL, images, Gerber), machines and post-processors, settings, laser, 3D milling, pricing and credits. Returns pages with id, title and url; read one with fetch. Free, no file needed.
fetchRead the full text of one page found with search, by its id. Free.
get_credit_balanceShow credits left on the access token and how many models are already paid for. Free.