step2gcode
com.step2gcode/step2gcode
MCP server OK
Turn STEP, DXF and SVG files into CNC milling and laser G-code for GRBL, LinuxCNC, Mach3 and more.
Technical sheet
- Author
- step2gcode.com (registry namespace)
- Repository
- —
- Site
- www.step2gcode.com/en/mcp
- Version
- 1.0.1
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://www.step2gcode.com/api/mcp Streamable HTTP
https://www.step2gcode.com/api/mcp/test Streamable HTTP - Tools
- 12
- Categories
- —
- Last updated
- 13 Nov 2026
- Published
- 13 Nov 2026
Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/com.step2gcode/step2gcode)<a href="https://latlas.dev/en/mcp/com.step2gcode/step2gcode"><img src="https://latlas.dev/badge/fiche/com.step2gcode/step2gcode.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://www.step2gcode.com/api/mcp
- Last result
- OK 28 Nov 2026, 11:39
- Response time
- 251 ms (initialize + tools/list)
- Protocol version
- 2025-06-18
- Announced name
- step2gcode 1.0.0
- Tools
- 12
- Address
- https://www.step2gcode.com/api/mcp/test
- Last result
- OK 28 Nov 2026, 11:34
- Response time
- 201 ms (initialize + tools/list)
- Protocol version
- 2025-06-18
- Announced name
- step2gcode 1.0.0
- Tools
- 12
History
| Date | Address | Result | Response | Tools |
|---|---|---|---|---|
| 28 Nov 2026, 11:39 | www.step2gcode.com/api/mcp | OK | 251 ms | 12 |
| 28 Nov 2026, 11:34 | www.step2gcode.com/api/mcp/test | OK | 201 ms | 12 |
Exposed tools (12, from tools/list, 28 Nov 2026)
create_upload_link
Create 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 can, do not send the user to the browser: compress the file locally and pass it to upload_file_content (the compression is detected by itself). That works inside sandboxes without network access, which is the common case - a direct curl upload fails there with a proxy error. The response of this tool spells out all three routes in order.
No parameters.
check_upload
Check 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 spindle_speed, feed_rate, plunge_rate and step_down yourself from known cutting data for that material and cutter. 2. Which cutter diameters do they actually own? Recommend one from that list: it must fit the smallest inner radius of the part, and a smaller cutter means longer machining time. If you cannot judge the geometry yet, say so and suggest generating once to see the dimensions. 3. Is the part cut all the way through? Then recommend holding_tabs so it does not come loose on the last pass.
| Parameter | Type | Required | Description |
|---|---|---|---|
| upload_id | string | yes |
upload_file_content
Upload 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 model.step) | base64 | tr -d '\n' xz writes about a quarter less than gzip; the command falls back to gzip where xz is missing (macOS). xz, bzip2 and gzip are recognised by themselves - no extra argument. Do not paste the raw file. You have to write out every character you pass here, and a typical STEP solid takes you three minutes raw against twenty seconds compressed - the user watches that happen. Compression shrinks it about fivefold, which brings files up to roughly 80 KB within reach. NO SHELL AVAILABLE? Then do not use this tool for anything above about 10 KB - you would have to type the whole file out and the user waits minutes for it. Call create_upload_link instead: the user drops the file in a browser and it is done in five seconds. Same if the file is still too large after compressing. 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 spindle_speed, feed_rate, plunge_rate and step_down yourself from known cutting data for that material and cutter. 2. Which cutter diameters do they actually own? Recommend one from tha…
| Parameter | Type | Required | Description |
|---|---|---|---|
| filename | string | yes | File name including extension, e.g. bracket.step |
| content | string | yes | Output of: (xz -9e -c model.step 2>/dev/null || gzip -9c model.step) | base64 | tr -d '\n' - the compressed file, base64 encoded (xz, bzip2 or gzip, detected by itself). |
generate_gcode
Start 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 - only the download is charged. BEFORE CALLING THIS, ask the user about the settings you cannot infer from the file. Two of them change the result substantially and are wrong by default more often than not: - material: drives spindle speed, feed rates and depth per pass. Aluminium cut with wood settings breaks cutters. - holding_tabs: without them a cut-out part comes loose on the last pass and can be thrown off the machine. Recommend them for any part cut all the way through. Also worth asking when the geometry suggests it: pockets and holes (STEP files carry that depth information), and whether the job is milling or laser work. IMAGES (PNG, JPG, WebP ...) are always laser raster engraving. Ask for the engraving width in mm, photo or logo (image_mode), the controller (GRBL or Marlin) and its S maximum (laser_max_s), and tell the user to test power and speed on a scrap piece first.
| Parameter | Type | Required | Description |
|---|---|---|---|
| file_id | string | yes | file_id from check_upload or upload_file_content |
| bit_diameter | number | no | Cutter diameter in mm, e.g. 6. Leave it out and step2gcode picks the largest whole millimetre that still fits through the smallest hole in the part - or, if the user bound "My cutters" to their access key on the website, the largest of their own end mills that fits. |
| material | enum: "wood" | "hardwood" | "plywood" | "acrylic" | "aluminum" | "steel" | "brass" | no | Workpiece material. Sets spindle speed, feed rates and depth per pass. Ask the user - the default assumes softwood. |
| depth | number | no | Cutting depth in mm; omit to take it from the model geometry (STEP) |
| origin_xy | enum: "TL" | "TR" | "BL" | "BR" | "C" | no | Workpiece origin in XY. Default TL. |
| origin_z | enum: "top" | "spoilboard" | no | Z zero on the stock surface (top) or on the spoilboard. Default top. |
| holding_tabs | boolean | no | Leave small bridges so a part cut all the way through stays in the stock. Strongly recommended for through cuts. |
| pockets | boolean | no | Mill pockets found in the geometry (STEP) |
| holes | boolean | no | Drill or mill the holes found in the geometry |
| inner_contours | boolean | no | Cut inner contours and cut-outs |
| ramp_entry | boolean | no | Enter the material on a ramp instead of plunging straight down |
| laser | boolean | no | Laser job instead of milling |
| laser_power | number | no | Laser power in % (laser jobs). For images the default is 30 %. |
| laser_speed | number | no | Laser speed in mm/min (laser jobs). For images the default is 2000. |
| laser_max_s | number | no | Highest S value of the machine: $30 on GRBL (usually 1000), 255 on most Marlin machines. Ask the user - a wrong value burns at the wrong power. |
| controller | enum: "grbl" | "marlin" | no | Laser G-code dialect. GRBL (default) or Marlin (3D printers with a laser module, MPCNC/LowRider and other Marlin machines). |
| image_width_mm | number | no | Images only: engraving width in mm; the height follows from the aspect ratio. Default 100. |
| image_mode | enum: "dither" | "threshold" | "grayscale" | "outline" | "centerline" | "edges" | no | Images only. Line by line (raster): dither for photos (default), threshold for logos and text, grayscale for power per dot. Along lines (vector, much faster): outline traces the edges of dark areas, centerline follows the middle of strokes (line art, handwriting), edges turns a photo into a line dr… |
| spindle_speed | number | no | Spindle speed in rpm. Only set this when the material is not covered by the presets - otherwise the preset value is used. |
| feed_rate | number | no | Horizontal feed in mm/min. Same rule: only for materials outside the presets. |
| plunge_rate | number | no | Plunge feed in mm/min, for materials outside the presets. |
| step_down | number | no | Depth per pass in mm. Rule of thumb: up to 1x cutter diameter in softwood, far less in metal. |
get_job_status
Check 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 correct way to wait for a job; calling generate_gcode again never helps. Free.
| Parameter | Type | Required | Description |
|---|---|---|---|
| job_id | string | yes |
preview_toolpath
Show 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| job_id | string | yes |
get_download_link
Return 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, wait for their answer, and only then call again with confirm=true. Never set confirm=true on your own initiative - it spends the user's money.
| Parameter | Type | Required | Description |
|---|---|---|---|
| job_id | string | yes | |
| confirm | boolean | no | Set to true only after the user has explicitly agreed to spend the credit. |
convert_mesh_to_step
Turn 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 cylinder with a diameter again, a chamfer a cone with an angle, so the part can be dimensioned, modified and machined. Typical case: the CAD source is gone and the mesh is all that is left. The answer states the largest measured deviation between the built solid and the mesh, in millimetres - always pass that number on to the user, it is what tells them whether the result is accurate enough for their part. Parts made of freeform surfaces and raw 3D scans are rejected with a reason instead of being badly reconstructed. Upload the mesh the same way as any other file (curl to /api/upload, upload_file_content or create_upload_link), then pass the file_id here. The resulting STEP file can go straight into generate_gcode afterwards.
| Parameter | Type | Required | Description |
|---|---|---|---|
| file_id | string | yes | file_id of an uploaded .stl or .3mf mesh |
get_step_download_link
Return 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. Called without confirm, this tool charges nothing and only reports what the download would cost. Show that to the user, wait for their answer, and only then call again with confirm=true. Never set confirm=true on your own initiative - it spends the user's money.
| Parameter | Type | Required | Description |
|---|---|---|---|
| step_id | string | yes | step_id from convert_mesh_to_step |
| confirm | boolean | no | Set to true only after the user has explicitly agreed to spend the credit. |
search
Search 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes | What to look for, e.g. 'DXF holes smaller than the cutter' |
fetch
Read the full text of one page found with search, by its id. Free.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | The id from a search result |
get_credit_balance
Show credits left on the access token and how many models are already paid for. Free.
No parameters.
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://www.step2gcode.com/api/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http step2gcode https://www.step2gcode.com/api/mcpCustomize > Connectors > + Add > Add custom connector ; Name : step2gcode ; URL : https://www.step2gcode.com/api/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : step2gcode ; Server URL : https://www.step2gcode.com/api/mcp ; Create as a plugin{
"mcpServers": {
"step2gcode": {
"url": "https://www.step2gcode.com/api/mcp"
}
}
}{
"mcpServers": {
"step2gcode": {
"type": "http",
"url": "https://www.step2gcode.com/api/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"step2gcode": {
"url": "https://www.step2gcode.com/api/mcp"
}
}
}{
"mcpServers": {
"step2gcode": {
"httpUrl": "https://www.step2gcode.com/api/mcp"
}
}
}[mcp_servers.step2gcode]
url = "https://www.step2gcode.com/api/mcp"Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.