SmartCut
OfficialSmartCut API
SmartCut is a hosted cutting-optimisation (cutlist / nesting) API for sheet, linear and roll stock. This repository holds the OpenAPI specification, runnable examples and MCP configuration for integrating it into your own software.
What it does
Sheet optimisation — guillotine (edge-to-edge, saw-cuttable) and efficiency modes for plywood, MDF, glass, plastic and sheet metal.
Linear (1D) optimisation for timber, bar, pipe and extrusion.
True-shape nesting for irregular parts from DXF, for laser, plasma, waterjet and CNC routing.
Grain direction and per-part orientation locks, so a part can be pinned to the length or width of the grain, or left free to rotate.
Edge banding, face finishes, blade kerf and stock trim as first-class inputs, not post-processing.
Machine-ready exports — PDF, CSV, DXF, SVG, and native saw formats including PTX (Homag), Biesse XML and Mayer
.may.Printable part labels generated from the same result.
Related MCP server: AlphaCAM MCP Bridge
Quickstart
Get a key at https://smartcut.dev/account, then:
curl -X POST https://api.smartcut.dev/v3/calculate \
-H "Authorization: $SMARTCUT_API_KEY" \
-H "Content-Type: application/json" \
-d @examples/requests/guillotine.jsonThat returns a job id. Poll until it is ready, then fetch the result:
curl "https://api.smartcut.dev/v3/result/ready?id=$JOB_ID" -H "Authorization: $SMARTCUT_API_KEY"
curl "https://api.smartcut.dev/v3/result?id=$JOB_ID" -H "Authorization: $SMARTCUT_API_KEY"The result carries one entry per stock piece, each listing the parts placed on
it with their positions, the cuts needed to produce them, and the offcut left
over. Complete runnable versions in four languages are in
examples/.
Authentication
Pass the raw API key in the Authorization header:
Authorization: YOUR_API_KEYThere is no Bearer prefix. This is the single most common integration
mistake — a Bearer prefix returns 401.
Endpoints (v3)
method | path | what it does | sync |
POST |
| Submit calculation | async |
POST |
| Validate inputs without calculating | sync |
GET |
| Check if calculation is complete | sync |
GET |
| Retrieve calculation result | sync |
GET |
| Export result as PDF | sync |
GET |
| Export result as CSV | sync |
GET |
| Export result as PTX (beam saw format) | sync |
GET |
| Export result as DXF | sync |
GET |
| Export result as SVG | sync |
GET |
| Export result as Mayer .may (Beta) | sync |
GET |
| Export result as Biesse XML CutList (Beta) | sync |
GET |
| List saws + export formats offered | sync |
GET |
| Optimisation spec — selectable models + saws + their gating | sync |
POST |
| Generate printable part labels | sync |
POST |
| Calculation result delivery | — your endpoint |
GET |
| Get API usage statistics | sync |
Full reference: https://smartcut.dev/api-docs/v3
How the async model works
Optimisation takes longer than a request should block for, so /v3/calculate
returns a job id immediately. You then either poll /v3/result/ready until it
reports done, or register a webhook and let SmartCut POST to you when the result
is available. Either way you fetch the payload from /v3/result.
Webhook registration, signature verification and retry behaviour are documented at https://smartcut.dev/docs/webhooks.
MCP server
SmartCut runs a hosted Model Context Protocol server, so an agent can run optimisations directly with your existing API key.
POST https://api.smartcut.dev/mcpStreamable HTTP transport. Authentication is the same raw key in the
Authorization header, without a Bearer prefix. Configuration for Claude
Desktop and other clients is in mcp/.
Tools: calculate, validate, status, result, cancel, usage, export,
labels, list_cut_types — plus import_parts, which is different from the
rest: it pushes parts an agent has extracted (from a PDF or a photo of a cutting
plan) into an open Cutlist Evolution editor for the
user to confirm, rather than calling the optimisation API.
The calculate tool waits for the result in-call (about 25 seconds by default,
overridable with waitMs) and falls back to returning a job id if the
optimisation is still running, so an agent usually gets a layout in one call.
Generating a client
There is no official SDK, and that is deliberate. The API is a JSON body and
one header, so fetch is already the client — and a generated client in your own
idiom will fit your codebase better than a hand-written one would. Point any
generator at the spec:
npx openapi-typescript openapi/v3.json -o smartcut.d.ts
npx @hey-api/openapi-ts -i openapi/v3.json -o src/smartcut
openapi-generator-cli generate -i openapi/v3.json -g python -o ./smartcut-pythonExamples
language | file |
curl | |
Node | |
Python | |
PHP |
Each reads a payload from examples/requests/, which is
generated from the specification — so the examples cannot drift from the schema.
What this is, and is not
SmartCut is a hosted service with a subscription, not a self-hosted library. It suits quoting, order processing, e-commerce cut-to-size checkout and CAM hand-off, where you want optimisation quality and saw-format output without maintaining a geometry engine. If you want an in-process bin-packer with no network call and no account, this is the wrong tool and an open-source packing library is the right one.
Links
Documentation — https://smartcut.dev/docs
Interactive API reference — https://smartcut.dev/api-docs/v3
Get an API key — https://smartcut.dev/account
Published benchmarks — https://smartcut.dev/benchmarks
WooCommerce plugin — https://github.com/jgmedialtd/smartcut-wp-plugin
Support
Issues here are for the specification and the examples only. For API access,
billing, quota or integration support, use the contact form at
https://smartcut.dev/contact. Specification files are generated and cannot be
changed by pull request — see openapi/README.md.
This server cannot be installed
Maintenance
Related MCP Servers
- AlicenseAqualityCmaintenanceGeospatial API tools for AI agents — geocoding, reverse geocoding, routing, isochrone, distance matrix, static maps, H3 hexagons, elevation, GPS map-matching, point-in-polygon, address normalisation, timezone lookup, and batch geocoding. Built on OpenStreetMap infrastructure. Cost-effective alternative to Google Maps API.Last updated1841MIT
- Flicense-qualityBmaintenanceAI-driven CAM automation server that wraps AlphaCAM 2016 R1 COM API into MCP tools, enabling geometry creation, machining operations, tool management, nesting, and NC code output.Last updated
- Alicense-qualityCmaintenancePlan optimal container & truck loads: 3D layouts, right-size the container mix, and check utilization, centre of gravity, crush protection and securing across 200+ equipment types.Last updated16MIT
- AlicenseAqualityCmaintenanceEnables AI agents to pack trucks and shipping containers by generating validated 3D load plans with metrics like LDM, linear feet, and pallet positions through the Hansatic packing API.Last updated315MIT
Related MCP Connectors
Real 3D-print slicing, quoting, DFM, orientation & material/settings advisors. Free personal tier.
Auditable construction takeoffs with locked waste and conservative purchase rounding.
Optimize crew and workforce schedules, resource allocation, and routing with linear and mixed-inte…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jgmedialtd/smartcut-api'
If you have feedback or need assistance with the MCP directory API, please join our Discord server