# uucut.cc > uucut.cc optimizes cutting of rectangular parts from stock sheets (guillotine / panel-saw cuts) for wood panels, glass, plastic and sheet metal. It handles saw kerf, sheet trim, edge banding, grain (rotation rules), several sheet sizes, offcuts, materials and sheet prices, and it reports when a plan is proven optimal (fewest sheets / least sheet area). Use it from the web app, the HTTP API or the MCP server. ## For AI agents - MCP server (Streamable HTTP): `https://uucut.cc/api/mcp`, header `Authorization: Bearer `. Tools: `optimize_cutting` (one credit), `validate_cutting_task` (free), `account_credits` (free). - HTTP API: `POST https://uucut.cc/api/v1/cut` with the same header; one task per request, JSON in and out, answers within about 30 seconds. Add `?share=true` to get `share_url`, a page with the drawn layouts to show the user. `POST /api/v1/validate` checks a task for free. `POST /api/v1/render/svg` and `/api/v1/render/pdf` turn a `/cut` result into a layout drawing or a printable plan, free. - Show the user the result's `summary` and `share_url` rather than drawing layouts yourself. MCP results with a share link also carry `pdf_url` (printable plan) and per-layout `svg_url`. - Lengths: plain numbers in one unit of your choice (mm or inches); the result uses the same unit. Strings with fractions and feet are accepted and read as inches: `"23 5/8"`, `"7' 6\""`. Pass the unit as `"unit": "mm"` or `"in"` (display only). - Part sizes are finished sizes. `orientation`: 0 may rotate, 1 keep as given (grain), 2 must rotate. `edges`: banded edges, `"TBLR"` letters or `"L1L2W1W2"` long/short sides. - Errors carry `error.code`, `error.field` and `error.hint`; 402 means the account needs credits (`error.buy_url`), 429 means retry after the `Retry-After` header. - API keys: sign up at https://uucut.cc/register (30 free optimizations), then Settings -> API keys. Credits: $10 per 100 optimizations. ## Docs - [Developers guide](https://uucut.cc/developers): API keys, first request, response fields, limits, MCP setup. - [Examples on GitHub](https://github.com/nlog2n/uucut-api): OpenAPI spec, curl/Python/Node examples, MCP config. - [API reference](https://uucut.cc/api/docs): interactive OpenAPI docs. Machine-readable spec: https://uucut.cc/api/openapi.json - [User guide](https://uucut.cc/guide): input fields, options and results in the web app. - [Pricing](https://uucut.cc/pricing) ## Example request ```json { "name": "Cabinet", "unit": "mm", "sheets": [{"id": "s1", "label": "Plywood 18", "width": 2440, "height": 1220, "quantity": 10}], "items": [ {"id": "side", "label": "Side", "width": 720, "height": 560, "quantity": 4}, {"id": "door", "label": "Door", "width": 716, "height": 396, "quantity": 4, "orientation": 1, "edges": "TBLR"} ], "options": {"kerf": 4, "band_thickness": 1} } ```