Koskamo

step2gcode MCP

An official MCP server provided by step2gcode that allows AI assistants to upload CAD files (STEP, DXF, SVG), generate CNC milling and laser G-code, preview toolpaths, and manage credit-based downloads without requiring local installation.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

step2gcode MCP logo, by step2gcodeVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by step2gcode
MCP endpoint (Streamable HTTP)
https://www.step2gcode.com/api/mcp/test
Vendor documentation

What its tools do

12 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

12 of 12 have a description · 12 of 12 declare behavior hints · 6 of 10 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to step2gcode.com ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 100% over 90 days
  • Availability 3 of 3 checks passed in 30 days

What you can do with it

  • Upload STEP, DXF, or SVG files for G-code generation
  • Generate CNC milling and laser cutting G-code
  • Preview toolpaths as images before downloading
  • Manage credit balance and download finished G-code

Source and maintenance

Vendor evidenceRegistry 1.0.1

Protocol and capabilities

Server
step2gcode 1.0.0
MCP protocol negotiated in check
2025-06-18
Tools
12 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

step2gcode turns STEP, DXF and SVG files into machine-ready G-code for CNC milling and laser cutting. FIRST decide how the file gets in - this decides whether the user waits seconds or minutes. a) Shell available? Try this FIRST, it costs you nothing to output and takes about a second: curl -sS -X POST https://www.step2gcode.com/api/upload -F "file=@/path/to/model.step" The JSON answer contains the file_id. Use it and skip the upload tools entirely. b) Did that fail with a proxy, tunnel or 403 error? Then your sandbox blocks outbound connections. Fall back to: (xz -9e -c model.step 2>/dev/null || gzip -9c model.step) | base64 | tr -d '\n' and pass the output to upload_file_content. You have to write those characters out yourself, so compressing is what keeps it near twenty seconds instead of three minutes. c) No shell at all? create_upload_link - the user drops the file in a browser in five seconds. Never type a CAD file out by hand. Then, four calls and no polling: 1. the file_id from whichever route worked 2. generate_gcode - waits for the result and returns dimensions and hole diameters. If it reports the job is still running, call get_job_status every ~15 s until it is done. NEVER call generate_gcode a second time for the same part: the first job keeps running, and a second one only adds load. The generator stops by itself after 180 s and then reports why. 3. preview_toolpath - show the image to the user 4. get_download_link - ask first, it spends a credit Do not call create_upload_link in that case; it exists for assistants without a shell, which then need check_upload as well. Only the download costs a credit, and only for a model that has not been paid for yet. Always remind the user to verify tool paths, depths, feed rates and clearances before running the program on a machine. THIS CONNECTION IS IN TRIAL MODE - it carries no credits. Everything works: upload, generation, status and the tool path image preview. Only get_download_link will refuse, because the G-code itself is the paid part. Run the whole flow for the user anyway and show the preview. Then, with the preview in front of them, offer them credits - that is the moment the trial is built for, not an afterthought once the download is refused. This connection has no access token of its own. Get the user one first: GET https://www.step2gcode.com/api/mcp/trial returns a personal key with setup lines for every client, no account. Credits are then bought at https://www.step2gcode.com/?mcp=<that key> and land on it - a trial key may appear in this conversation. A key bought on the website instead stays out of it: recommend that the user enters it in the client themselves; only if they prefer may they paste it here for you to set up, and then it is part of the chat history. Connect the key as the header X-Api-Token: <key> on https://www.step2gcode.com/api/mcp wherever the client allows headers (Claude Code, Cursor, VS Code, Gemini CLI). Chat apps that only take a URL (claude.ai, ChatGPT) use https://www.step2gcode.com/api/mcp/<key>. One credit covers one model permanently, including later versions of it.

Tools

12 advertised

create_upload_link
Advertised by the server during the last successful anonymous check.

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.

create_upload_link input schema
{
  "type": "object",
  "properties": {}
}
create_upload_link annotations
{
  "title": "Create upload link (free)",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
check_upload
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

check_upload input schema
{
  "type": "object",
  "required": [
    "upload_id"
  ],
  "properties": {
    "upload_id": {
      "type": "string"
    }
  }
}
check_upload annotations
{
  "title": "Check upload (free)",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
upload_file_content
Advertised by the server during the last successful anonymous check.

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 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.

upload_file_content input schema
{
  "type": "object",
  "required": [
    "filename",
    "content"
  ],
  "properties": {
    "content": {
      "type": "string",
      "description": "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)."
    },
    "filename": {
      "type": "string",
      "description": "File name including extension, e.g. bracket.step"
    }
  }
}
upload_file_content annotations
{
  "title": "Upload file content (free)",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
generate_gcode
Advertised by the server during the last successful anonymous check.

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.

generate_gcode input schema
{
  "type": "object",
  "required": [
    "file_id"
  ],
  "properties": {
    "depth": {
      "type": "number",
      "description": "Cutting depth in mm; omit to take it from the model geometry (STEP)"
    },
    "holes": {
      "type": "boolean",
      "description": "Drill or mill the holes found in the geometry"
    },
    "laser": {
      "type": "boolean",
      "description": "Laser job instead of milling"
    },
    "file_id": {
      "type": "string",
      "description": "file_id from check_upload or upload_file_content"
    },
    "pockets": {
      "type": "boolean",
      "description": "Mill pockets found in the geometry (STEP)"
    },
    "material": {
      "enum": [
        "wood",
        "hardwood",
        "plywood",
        "acrylic",
        "aluminum",
        "steel",
        "brass"
      ],
      "type": "string",
      "description": "Workpiece material. Sets spindle speed, feed rates and depth per pass. Ask the user - the default assumes softwood."
    },
    "origin_z": {
      "enum": [
        "top",
        "spoilboard"
      ],
      "type": "string",
      "description": "Z zero on the stock surface (top) or on the spoilboard. Default top."
    },
    "feed_rate": {
      "type": "number",
      "description": "Horizontal feed in mm/min. Same rule: only for materials outside the presets."
    },
    "origin_xy": {
      "enum": [
        "TL",
        "TR",
        "BL",
        "BR",
        "C"
      ],
      "type": "string",
      "description": "Workpiece origin in XY. Default TL."
    },
    "step_down": {
      "type": "number",
      "description": "Depth per pass in mm. Rule of thumb: up to 1x cutter diameter in softwood, far less in metal."
    },
    "controller": {
      "enum": [
        "grbl",
        "marlin"
      ],
      "type": "string",
      "description": "Laser G-code dialect. GRBL (default) or Marlin (3D printers with a laser module, MPCNC/LowRider and other Marlin machines)."
    },
    "image_mode": {
      "enum": [
        "dither",
        "threshold",
        "grayscale",
        "outline",
        "centerline",
        "edges"
      ],
      "type": "string",
      "description": "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 drawing."
    },
    "ramp_entry": {
      "type": "boolean",
      "description": "Enter the material on a ramp instead of plunging straight down"
    },
    "laser_max_s": {
      "type": "number",
      "description": "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."
    },
    "laser_power": {
      "type": "number",
      "description": "Laser power in % (laser jobs). For images the default is 30 %."
    },
    "laser_speed": {
      "type": "number",
      "description": "Laser speed in mm/min (laser jobs). For images the default is 2000."
    },
    "plunge_rate": {
      "type": "number",
      "description": "Plunge feed in mm/min, for materials outside the presets."
    },
    "bit_diameter": {
      "type": "number",
      "description": "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."
    },
    "holding_tabs": {
      "type": "boolean",
      "description": "Leave small bridges so a part cut all the way through stays in the stock. Strongly recommended for through cuts."
    },
    "spindle_speed": {
      "type": "number",
      "description": "Spindle speed in rpm. Only set this when the material is not covered by the presets - otherwise the preset value is used."
    },
    "image_width_mm": {
      "type": "number",
      "description": "Images only: engraving width in mm; the height follows from the aspect ratio. Default 100."
    },
    "inner_contours": {
      "type": "boolean",
      "description": "Cut inner contours and cut-outs"
    }
  }
}
generate_gcode annotations
{
  "title": "Generate G-code (free)",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
get_job_status
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

get_job_status input schema
{
  "type": "object",
  "required": [
    "job_id"
  ],
  "properties": {
    "job_id": {
      "type": "string"
    }
  }
}
get_job_status annotations
{
  "title": "Job status (free)",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
preview_toolpath
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

preview_toolpath input schema
{
  "type": "object",
  "required": [
    "job_id"
  ],
  "properties": {
    "job_id": {
      "type": "string"
    }
  }
}
preview_toolpath annotations
{
  "title": "Tool path preview (free)",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_download_link
Advertised by the server during the last successful anonymous check.

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.

get_download_link input schema
{
  "type": "object",
  "required": [
    "job_id"
  ],
  "properties": {
    "job_id": {
      "type": "string"
    },
    "confirm": {
      "type": "boolean",
      "description": "Set to true only after the user has explicitly agreed to spend the credit."
    }
  }
}
get_download_link annotations
{
  "title": "Download G-code - spends 1 credit",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
convert_mesh_to_step
Advertised by the server during the last successful anonymous check.

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.

convert_mesh_to_step input schema
{
  "type": "object",
  "required": [
    "file_id"
  ],
  "properties": {
    "file_id": {
      "type": "string",
      "description": "file_id of an uploaded .stl or .3mf mesh"
    }
  }
}
convert_mesh_to_step annotations
{
  "title": "Convert mesh to STEP (free)",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
get_step_download_link
Advertised by the server during the last successful anonymous check.

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.

get_step_download_link input schema
{
  "type": "object",
  "required": [
    "step_id"
  ],
  "properties": {
    "confirm": {
      "type": "boolean",
      "description": "Set to true only after the user has explicitly agreed to spend the credit."
    },
    "step_id": {
      "type": "string",
      "description": "step_id from convert_mesh_to_step"
    }
  }
}
get_step_download_link annotations
{
  "title": "Download STEP file - free during the beta",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
search
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

search input schema
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "What to look for, e.g. 'DXF holes smaller than the cutter'"
    }
  }
}
search output schema
{
  "type": "object",
  "required": [
    "results"
  ],
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "title",
          "url"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        }
      }
    }
  }
}
search annotations
{
  "title": "Search the step2gcode help (free)",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
fetch
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read the full text of one page found with search, by its id. Free.

fetch input schema
{
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "The id from a search result"
    }
  }
}
fetch output schema
{
  "type": "object",
  "required": [
    "id",
    "title",
    "text",
    "url"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "text": {
      "type": "string"
    },
    "title": {
      "type": "string"
    }
  }
}
fetch annotations
{
  "title": "Read a step2gcode help page (free)",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_credit_balance
Advertised by the server during the last successful anonymous check.
Advertised read-only

Show credits left on the access token and how many models are already paid for. Free.

get_credit_balance input schema
{
  "type": "object",
  "properties": {}
}
get_credit_balance annotations
{
  "title": "Credit balance (free)",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (52 of 52 checks answered)

  1. 2026-11-14: 1 of 1 checks answered
  2. 2026-11-15: 2 of 2 checks answered
  3. 2026-11-16: 4 of 4 checks answered
  4. 2026-11-17: 5 of 5 checks answered
  5. 2026-11-18: 5 of 5 checks answered
  6. 2026-11-19: 4 of 4 checks answered
  7. 2026-11-20: 3 of 3 checks answered
  8. 2026-11-21: 4 of 4 checks answered
  9. 2026-11-22: 4 of 4 checks answered
  10. 2026-11-23: 3 of 3 checks answered
  11. 2026-11-24: 4 of 4 checks answered
  12. 2026-11-25: 4 of 4 checks answered
  13. 2026-11-26: 4 of 4 checks answered
  14. 2026-11-27: 4 of 4 checks answered
  15. 2026-11-28: 1 of 1 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
3 of 3 (100%)
Average latency
1098 ms
95th percentile latency
1366 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 1247 ms · 12 tool(s)
  • · probe · passed · 1379 ms · metadata changed · 12 tool(s)
  • · probe · passed · 668 ms · metadata changed · 10 tool(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http step2gcode-mcp https://www.step2gcode.com/api/mcp/test

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add step2gcode-mcp --url https://www.step2gcode.com/api/mcp/test

Cursor

Merge this server into .cursor/mcp.json in your project, then enable step2gcode-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "step2gcode-mcp": {
      "url": "https://www.step2gcode.com/api/mcp/test"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "step2gcode-mcp": {
      "type": "streamableHttp",
      "url": "https://www.step2gcode.com/api/mcp/test",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start step2gcode-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "step2gcode-mcp": {
      "type": "http",
      "url": "https://www.step2gcode.com/api/mcp/test"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http step2gcode-mcp https://www.step2gcode.com/api/mcp/test

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://www.step2gcode.com/api/mcp/test

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "step2gcode-mcp": {
      "serverUrl": "https://www.step2gcode.com/api/mcp/test"
    }
  }
}

Let your agent find its tools

Find servers like step2gcode MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Do you run step2gcode MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing