Turn STEP, DXF and SVG files into CNC milling and laser G-code for GRBL, LinuxCNC, Mach3 and more.
Connect Remote server
claude mcp add --transport http step2gcode https://www.step2gcode.com/api/mcp --header "X-Api-Token: <X_API_TOKEN>"
{
"mcpServers": {
"step2gcode": {
"url": "https://www.step2gcode.com/api/mcp",
"headers": {
"X-Api-Token": "<X_API_TOKEN>"
}
}
}
}
{
"servers": {
"step2gcode": {
"type": "http",
"url": "https://www.step2gcode.com/api/mcp",
"headers": {
"X-Api-Token": "<X_API_TOKEN>"
}
}
}
}
Settings > Connectors > Add custom connector
URL: https://www.step2gcode.com/api/mcp
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools 10 found in our last check
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 she…
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…
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/nu…
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 fe…
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. Th…
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. Sho…
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…
get_step_download_linkReturn the download link for a STEP file built by convert_mesh_to_step. THIS 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. Called without confirm, this tool charges nothing…
get_credit_balanceShow credits left on the access token and how many models are already paid for. Free.
Headers
| Name | Description |
|---|---|
X-Api-TokenOptional, secret | Optional. Without it everything works except the G-code download. Get a free personal token from https://www.step2gcode.com/api/mcp/trial (no account), buy credits for it on step2gcode.com. |
Details
| Endpoint | https://www.step2gcode.com/api/mcp (Streamable HTTP) |
| Endpoint | https://www.step2gcode.com/api/mcp/test (Streamable HTTP) |
| First published | 13 Nov 2026 |
| Last updated | 13 Nov 2026 |
| Registry name | com.step2gcode/step2gcode |
More files and documents servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
