CutOptim Engine
io.github.cutoptim/engine
Serveur MCP OK
Faire examiner Voir les tarifs
Cutting optimization: 2D panels, 1D bars, timber and true-shape nesting via the CutOptim API.
Fiche technique
- Auteur
- cutoptim (espace de noms du registre)
- Dépôt
- github.com/cutoptim/engine-mcp
- Site
- cutoptim.com/engine/reference/guides/mcp
- Version
- 0.1.3
- Transport
- Streamable HTTP stdio
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://api.cutoptim.com/mcp Streamable HTTP
- Paquets
- @cutoptim/mcp 0.1.3 npm stdio
- Outils
- 10
- Catégories
- —
- Dernière mise à jour
- 19 nov. 2026
- Publication
- 19 nov. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.github.cutoptim/engine)<a href="https://latlas.dev/mcp/io.github.cutoptim/engine"><img src="https://latlas.dev/badge/fiche/io.github.cutoptim/engine.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://api.cutoptim.com/mcp
- Dernier résultat
- OK 28 nov. 2026, 11:25
- Temps de réponse
- 567 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- cutoptim 1.0.0+9f58088a
- Outils
- 10
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 11:25 | OK | 567 ms | 10 |
Outils exposés (10, réponse à tools/list, 28 nov. 2026)
optimize_2d
Optimize 2D panels
Metered: one Engine API call. Cut rectangular parts from sheets (panels, plywood, glass, sheet metal) and get the layout, cut plan and yield. 2D panel optimization. Nest rectangular parts into rectangular sheets. Returns the placement of every part, the remaining offcuts, the guillotine cut plan and the yield metrics. Parts named in `matchedSets` (grain matching) are cut side by side from one piece of board, one kerf apart; each placed member says which set and position it is.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| parts | array<object> | oui | The rectangular parts to cut, one row per part type (`w`, `h`, optional `qty`, `name`, grain, edge banding). |
| stock | array<object> | oui | The sheet sizes to cut from, one row per size (`w`, `h`, optional `qty`, `price`). |
| options | object | non | Kerf, trim, first-cut direction, cost and stock rules, effort and label output; every field is optional. |
| async | enum: "auto" | non | Opt in to answers that may arrive later. With `"auto"` a job that finishes within the synchronous time limit still answers 200 with the plan, exactly as without it; a job that would outgrow the limit answers **202** with a `jobId` instead, keeps solving, and its plan is read with `GET /v1/jobs/{id}… |
| engine | enum: "heuristic" | "balanced" | "max" | non | Which optimizer to run. `heuristic` is the guillotine multi-strategy packer: highest yield, every layout edge-to-edge saw-cuttable, always a full `cutPlan`. `balanced` is a MaxRects free-nesting packer: much faster on large jobs for a small yield cost, but its layouts are often not guillotine (`gui… |
| include | array<enum: "cutPlan" | "offcuts" | "svg" | "csv" | "dxf" | "labels" | "planHash" | "pdf" …> | non | Three kinds of token. NARROWING (`cutPlan`, `offcuts`): omit the field entirely to get both; a present array keeps only the narrowing tokens it lists (an empty array drops both). ADDITIVE EXPORT (`svg`, `csv`, `dxf`): each adds an inline export STRING to the response (`svg` a standalone 2D layout —… |
| matchedSets | non | Matched sets (grain matching): groups of parts cut side by side from one piece of board. Send a NON-EMPTY ARRAY of sets (at most 50); members are named by `parts[].id`. Only a non-empty array switches the feature on: absent, `null`, `[]` — and any value that is not an array — is a request without s… |
optimize_1d
Optimize 1D bars
Metered: one Engine API call. Cut lengths from bars, tubes, profiles or rolls and get the cutting pattern per bar. 1D / linear optimization (bars, profiles, tube). Cut parts of a given length from stock bars. Returns the rods used, the position of every part along each rod, the leftover length and the yield metrics.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| parts | array<object> | oui | The lengths to cut, one row per part type (`length`, optional `qty`, `name`, mitred `ends`). |
| stock | array<object> | oui | The bar lengths to cut from, one row per length (`length`, optional `qty`, `price`). |
| options | object | non | The 1D option set is deliberately smaller: there is no `firstCut`, `maxCutStages` or `minimizeRotations`, because none of them means anything on a bar. |
| async | enum: "auto" | non | Opt in to answers that may arrive later. With `"auto"` a job that finishes within the synchronous time limit still answers 200 with the plan, exactly as without it; a job that would outgrow the limit answers **202** with a `jobId` instead, keeps solving, and its plan is read with `GET /v1/jobs/{id}… |
| engine | enum: "heuristic" | "balanced" | non | `max` is not offered here: it is a 2D (and, separately, nesting) tier, and `engine: "max"` on this path is a **400** before a call is charged. In 1D `balanced` resolves to the same packer as `heuristic` — the linear packer is already a best-of-multiple-strategies search, so there is no separate bal… |
| include | array<enum: "cutPlan" | "offcuts" | "svg" | "csv" | "dxf" | "labels" | "planHash" | "pdf" …> | non | Three kinds of token. NARROWING (`cutPlan`, `offcuts`): omit the field entirely to get both; a present array keeps only the narrowing tokens it lists (an empty array drops both). ADDITIVE EXPORT (`svg`, `csv`, `dxf`): each adds an inline export STRING to the response (`svg` a standalone 2D layout —… |
optimize_wood
Optimize timber
Metered: one Engine API call. Cut timber parts grouped by cross-section from matching stock lengths. Timber optimization (cross-section-aware 1D). Cut lengths from bars that have a CROSS-SECTION. Unlike `/v1/optimize/1d`, where every bar can serve every part, a 50×150 part can only come out of 50×150 stock — so the job is split by cross-section, each section is matched to its own stock and solved separately, and the response carries both per-section and job-wide totals. Fanning the same job out into several `/v1/optimize/1d` calls is not equivalent: it costs one call per section against your quota, moves the stock matching to your code, and cannot distinguish "no material of this section" from "did not fit" — which this endpoint reports separately as `unmatched` and `unplaced`. `sw` and `sh` may be given in either order: 50×100 and 100×50 are the same bar turned over and are matched as one section. The response reports the normalised short/long form.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| parts | array<object> | oui | The timber parts to cut, one row per part type: cross-section `sw` × `sh`, `length`, optional `qty`. |
| stock | array<object> | oui | At most 50 rows. Since every cross-section needs at least one stock row, this is also the practical ceiling on cross-sections in a single job; a wider catalogue should be split into several requests. |
| options | object | non | Identical to `Options1D` — a cross-section changes what fits, not how a bar is cut. |
| async | enum: "auto" | non | Opt in to answers that may arrive later. With `"auto"` a job that finishes within the synchronous time limit still answers 200 with the plan, exactly as without it; a job that would outgrow the limit answers **202** with a `jobId` instead, keeps solving, and its plan is read with `GET /v1/jobs/{id}… |
| engine | enum: "heuristic" | "balanced" | non | As in 1D, `max` is not offered here (a **400** before a call is charged). `balanced` resolves to the same packer as `heuristic`: within a section a timber job is a length problem, and free nesting has nothing to offer it. The value is accepted, echoed back, and a warning states which packer actuall… |
| include | array<enum: "cutPlan" | "offcuts" | "svg" | "csv" | "dxf" | "labels" | "planHash" | "pdf" …> | non | Three kinds of token. NARROWING (`cutPlan`, `offcuts`): omit the field entirely to get both; a present array keeps only the narrowing tokens it lists (an empty array drops both). ADDITIVE EXPORT (`svg`, `csv`, `dxf`): each adds an inline export STRING to the response (`svg` a standalone 2D layout —… |
optimize_nest
Nest true shapes
Metered: one Engine API call (needs an API key; not available with the demo key). Nest free-form polygon parts on sheets. True-shape (irregular / polygon) nesting. Pack ARBITRARY POLYGONS onto fixed sheets, letting parts interlock into each other's concave pockets — an L-bracket, a gasket, a laser-cut profile. This is a different class from the rectangular modes: a part is an outline (`polygon`, optional interior `holes`), not a width×height, so a bounding-box packer's notch-air is reclaimed. On a representative 272-part job it uses 6 sheets where the same parts by bounding box need 9 (−33 % material). Two things the rectangular API cannot express come for free here: per-sheet EXCLUSION ZONES (`stock[].exclusions` — a defect, a clamp footprint, a pre-printed area; a `quality`-0 zone is a no-go region for any part), and true-shape holes. Material partition (`material`) and the opaque `meta` passthrough work exactly as on the other modes. `density` is the placed POLYGON area over used sheet area — the honest fill, with concave pockets counted as empty. It is NOT comparable to a rectangular packer's `yieldPct` (which counts each bounding box as solid and so reads higher for a worse result); the cross-comparable metric is `sheetCount` on the same parts. A placed part carries the rigid transform (`rotation` in degrees, then `x`/`y` translation), NOT a re-emitted polygon: your input outline plus that transform reconstructs the placement exactly. Deterministic (a pinned seed); set…
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| parts | array<object> | oui | One or more parts to nest, one NestPart per row. |
| stock | array<object> | oui | One or more sheet types, one NestStock per row. |
| options | object | non | Solve options. All optional. |
| engine | enum: "lbf" | "max" | "sparrow" | non | `lbf` (default) is single-pass, synchronous and instant. `max` is ASYNCHRONOUS: 202 + poll `GET /v1/jobs/{id}`; it runs `lbf` first, then a time-budgeted search that fills sheets one at a time looking for FEWER sheets, and never returns more than `lbf`, nor a plan that ranks worse (price with `mini… |
| include | array<enum: "svg" | "dxf"> | non | Additive inline export of the achieved layout. `svg` returns a self-contained, styled ` ` string (one titled band per sheet, parts drawn as filled polygons with holes, exclusion zones hatched); `dxf` returns an R12 document (closed `POLYLINE`/`VERTEX` outlines on STOCK/PARTS/HOLES/ZONES layers, par… |
validate_2d
Validate a 2D request
Free, no key needed: checks a 2D request without solving it. Same arguments as optimize_2d (field descriptions there). Validate a 2D request — free, no key, no quota, no solve. Schema-validate the SAME body `/v1/optimize/2d` takes, WITHOUT solving or spending a call. 200 `{valid:true, warnings}` (warnings flag parts that fit no stock — an approximate, solve-free probe), or 400 with the exact bad field path. Open like `/v1/health`: validate payloads during integration before you even have a key. The engine verdict matches the optimize path exactly, `engine: "max"` included: a body this endpoint accepts is one `/v1/optimize/2d` will accept, and one it refuses (400 for an option the max tier cannot model, 503 where that tier is not enabled) is refused there too.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| parts | array<object> | oui | The rectangular parts to cut, one row per part type (`w`, `h`, optional `qty`, `name`, grain, edge banding). |
| stock | array<object> | oui | The sheet sizes to cut from, one row per size (`w`, `h`, optional `qty`, `price`). |
| options | object | non | Kerf, trim, first-cut direction, cost and stock rules, effort and label output; every field is optional. |
| async | enum: "auto" | non | Opt in to answers that may arrive later. With `"auto"` a job that finishes within the synchronous time limit still answers 200 with the plan, exactly as without it; a job that would outgrow the limit answers **202** with a `jobId` instead, keeps solving, and its plan is read with `GET /v1/jobs/{id}… |
| engine | enum: "heuristic" | "balanced" | "max" | non | Which optimizer to run. `heuristic` is the guillotine multi-strategy packer: highest yield, every layout edge-to-edge saw-cuttable, always a full `cutPlan`. `balanced` is a MaxRects free-nesting packer: much faster on large jobs for a small yield cost, but its layouts are often not guillotine (`gui… |
| include | array<enum: "cutPlan" | "offcuts" | "svg" | "csv" | "dxf" | "labels" | "planHash" | "pdf" …> | non | Three kinds of token. NARROWING (`cutPlan`, `offcuts`): omit the field entirely to get both; a present array keeps only the narrowing tokens it lists (an empty array drops both). ADDITIVE EXPORT (`svg`, `csv`, `dxf`): each adds an inline export STRING to the response (`svg` a standalone 2D layout —… |
| matchedSets | non | Matched sets (grain matching): groups of parts cut side by side from one piece of board. Send a NON-EMPTY ARRAY of sets (at most 50); members are named by `parts[].id`. Only a non-empty array switches the feature on: absent, `null`, `[]` — and any value that is not an array — is a request without s… |
validate_1d
Validate a 1D request
Free, no key needed: checks a 1D request without solving it. Same arguments as optimize_1d (field descriptions there). Validate a 1D request — free, no key, no quota, no solve. Schema-validate the SAME body `/v1/optimize/1d` takes, WITHOUT solving or spending a call. See `/v1/validate/2d`.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| parts | array<object> | oui | The lengths to cut, one row per part type (`length`, optional `qty`, `name`, mitred `ends`). |
| stock | array<object> | oui | The bar lengths to cut from, one row per length (`length`, optional `qty`, `price`). |
| options | object | non | The 1D option set is deliberately smaller: there is no `firstCut`, `maxCutStages` or `minimizeRotations`, because none of them means anything on a bar. |
| async | enum: "auto" | non | Opt in to answers that may arrive later. With `"auto"` a job that finishes within the synchronous time limit still answers 200 with the plan, exactly as without it; a job that would outgrow the limit answers **202** with a `jobId` instead, keeps solving, and its plan is read with `GET /v1/jobs/{id}… |
| engine | enum: "heuristic" | "balanced" | non | `max` is not offered here: it is a 2D (and, separately, nesting) tier, and `engine: "max"` on this path is a **400** before a call is charged. In 1D `balanced` resolves to the same packer as `heuristic` — the linear packer is already a best-of-multiple-strategies search, so there is no separate bal… |
| include | array<enum: "cutPlan" | "offcuts" | "svg" | "csv" | "dxf" | "labels" | "planHash" | "pdf" …> | non | Three kinds of token. NARROWING (`cutPlan`, `offcuts`): omit the field entirely to get both; a present array keeps only the narrowing tokens it lists (an empty array drops both). ADDITIVE EXPORT (`svg`, `csv`, `dxf`): each adds an inline export STRING to the response (`svg` a standalone 2D layout —… |
validate_wood
Validate a timber request
Free, no key needed: checks a timber request without solving it. Same arguments as optimize_wood (field descriptions there). Validate a wood request — free, no key, no quota, no solve. Schema-validate the SAME body `/v1/optimize/wood` takes, WITHOUT solving or spending a call. Warnings flag parts with no matching-section stock long enough. See `/v1/validate/2d`.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| parts | array<object> | oui | The timber parts to cut, one row per part type: cross-section `sw` × `sh`, `length`, optional `qty`. |
| stock | array<object> | oui | At most 50 rows. Since every cross-section needs at least one stock row, this is also the practical ceiling on cross-sections in a single job; a wider catalogue should be split into several requests. |
| options | object | non | Identical to `Options1D` — a cross-section changes what fits, not how a bar is cut. |
| async | enum: "auto" | non | Opt in to answers that may arrive later. With `"auto"` a job that finishes within the synchronous time limit still answers 200 with the plan, exactly as without it; a job that would outgrow the limit answers **202** with a `jobId` instead, keeps solving, and its plan is read with `GET /v1/jobs/{id}… |
| engine | enum: "heuristic" | "balanced" | non | As in 1D, `max` is not offered here (a **400** before a call is charged). `balanced` resolves to the same packer as `heuristic`: within a section a timber job is a length problem, and free nesting has nothing to offer it. The value is accepted, echoed back, and a warning states which packer actuall… |
| include | array<enum: "cutPlan" | "offcuts" | "svg" | "csv" | "dxf" | "labels" | "planHash" | "pdf" …> | non | Three kinds of token. NARROWING (`cutPlan`, `offcuts`): omit the field entirely to get both; a present array keeps only the narrowing tokens it lists (an empty array drops both). ADDITIVE EXPORT (`svg`, `csv`, `dxf`): each adds an inline export STRING to the response (`svg` a standalone 2D layout —… |
validate_nest
Validate a nesting request
Free, no key needed: checks a nesting request without solving it. Same arguments as optimize_nest (field descriptions there). Validate a nest request — free, no key, no quota, no solve. Schema-validate the SAME body `/v1/optimize/nest` takes, WITHOUT solving or spending a call. Reports `engineEnabled` (whether the nesting engine is built into this deployment) and warns about parts whose bounding box fits no stock sheet. For `engine: "max"` the verdict matches the optimize path exactly: 400 for anything outside the preview scope, 503 where the async tier is not enabled, and otherwise a warning that the job will be asynchronous. See `/v1/validate/2d`.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| parts | array<object> | oui | One or more parts to nest, one NestPart per row. |
| stock | array<object> | oui | One or more sheet types, one NestStock per row. |
| options | object | non | Solve options. All optional. |
| engine | enum: "lbf" | "max" | "sparrow" | non | `lbf` (default) is single-pass, synchronous and instant. `max` is ASYNCHRONOUS: 202 + poll `GET /v1/jobs/{id}`; it runs `lbf` first, then a time-budgeted search that fills sheets one at a time looking for FEWER sheets, and never returns more than `lbf`, nor a plan that ranks worse (price with `mini… |
| include | array<enum: "svg" | "dxf"> | non | Additive inline export of the achieved layout. `svg` returns a self-contained, styled ` ` string (one titled band per sheet, parts drawn as filled polygons with holes, exclusion zones hatched); `dxf` returns an R12 document (closed `POLYLINE`/`VERTEX` outlines on STOCK/PARTS/HOLES/ZONES layers, par… |
get_job
Get an async job
Free (needs the key that submitted the job). Reads an engine "max" job; when it succeeded, the plan is in result. Poll an async max-engine job. Fetch the status (and, when finished, the plan) of a job submitted with `engine: "max"`. A job is `queued`, then `running`, then `succeeded` (with `result` = the same response shape a synchronous solve of that `mode` returns, carrying `engine: "max"` — a 2D plan for `mode: "2d"`, a nest for `mode: "nest"`) or `failed` (with `error`). Polling spends no quota, but the key must still be usable: a revoked key or a lapsed API subscription is refused with 403 here exactly as it is on every other authenticated path. A caller sees only its own jobs — a job id belonging to another account is reported as 401 "job not found", indistinguishable from one that does not exist, so ids cannot be probed.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| jobId | string | oui | The jobId from the 202 submission. |
get_usage
Get API usage
Free (needs an API key). Shows the plan, the calls used and left this month, and when the period ends. The account's current-month usage and quota. Read-only. Does not consume quota and does not send rate-limit headers. The period is the UTC calendar month.
Aucun paramètre.
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://api.cutoptim.com/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http engine https://api.cutoptim.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : engine ; URL : https://api.cutoptim.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : engine ; Server URL : https://api.cutoptim.com/mcp ; Create as a plugin{
"mcpServers": {
"engine": {
"url": "https://api.cutoptim.com/mcp"
}
}
}{
"mcpServers": {
"engine": {
"type": "http",
"url": "https://api.cutoptim.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"engine": {
"url": "https://api.cutoptim.com/mcp"
}
}
}{
"mcpServers": {
"engine": {
"httpUrl": "https://api.cutoptim.com/mcp"
}
}
}[mcp_servers.engine]
url = "https://api.cutoptim.com/mcp"Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.