CutOptim Engine

السجل الرسمي أخرى

Cutting optimization: 2D panels, 1D bars, timber and true-shape nesting via the CutOptim API.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http cutoptim-engine 'https://api.cutoptim.com/mcp' --header 'Authorization: <Bearer followed by your CutOptim API key (co_live_…, co_test_…, or the public demo key). Not needed for validate_* and tools/list.>'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "cutoptim-engine": {
            "type": "http",
            "url": "https://api.cutoptim.com/mcp",
            "headers": {
                "Authorization": "<Bearer followed by your CutOptim API key (co_live_…, co_test_…, or the public demo key). Not needed for validate_* and tools/list.>"
            }
        }
    }
}
NPM package @cutoptim/mcp
Claude Code
claude mcp add cutoptim-engine -e 'CUTOPTIM_API_KEY=<your cutoptim_api_key>' -- npx -y @cutoptim/mcp@0.1.0
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "cutoptim-engine": {
            "command": "npx",
            "args": [
                "-y",
                "@cutoptim/mcp@0.1.0"
            ],
            "env": {
                "CUTOPTIM_API_KEY": "<your cutoptim_api_key>"
            }
        }
    }
}

متغيرات البيئة

  • CUTOPTIM_API_KEY سري Your CutOptim API key (co_live_…, co_test_…, or the public demo key). Not needed for validate_*.

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. CutOptim MCP server
  2. Two ways to connect
  3. Tools
  4. Quota and billing
  5. License and support

CutOptim MCP server

Cutting optimization as tools for AI assistants: 2D panels, 1D bars, timber and true-shape nesting,

through the CutOptim Engine API and the Model Context Protocol.

MCP guide · API reference · Get a free test key


Two ways to connect

Hosted (no install) — point your MCP client at https://api.cutoptim.com/mcp with the header Authorization: Bearer <your API key>. Configurations for Claude Code, Cursor, VS Code and Claude Desktop are in the MCP guide.

Local (this package, stdio) — runs on your machine and calls the same API with your key:

{
  "mcpServers": {
    "cutoptim": {
      "command": "npx",
      "args": ["-y", "@cutoptim/mcp"],
      "env": { "CUTOPTIM_API_KEY": "co_test_YOUR_KEY" }
    }
  }
}

Claude Code: claude mcp add cutoptim --env CUTOPTIM_API_KEY=co_test_YOUR_KEY -- npx -y @cutoptim/mcp

VariableMeaning
CUTOPTIM_API_KEYyour key: co_live_…, co_test_… (never billed) or the public demo key. Without one, only the validate_* tools work.
CUTOPTIM_BASE_URLdefault https://api.cutoptim.com

Node 18 or newer.

Tools

ToolWhat it doesCost
optimize_2drectangular parts from sheets: layout, cut plan, yieldone API call
optimize_1dlengths from bars, tubes, profilesone API call
optimize_woodtimber parts by cross-sectionone API call
optimize_nestfree-form polygon parts on sheetsone API call
validate_2d · validate_1d · validate_wood · validate_nestcheck a request without solving itfree
get_jobread an async engine: "max" jobfree
get_usagecalls used and left this monthfree

The arguments of each tool are exactly the request body of its endpoint — the schemas are generated from the OpenAPI document. Every result carries a short summary for the assistant and the API's JSON answer as structuredContent.

Quota and billing

One tool call is one Engine API call: the same key, quota, rate limits and billing as calling the REST API yourself. The client sends an Idempotency-Key with every optimize call, so its own retries are never charged twice.

License and support

MIT. This repository is published from the CutOptim monorepo; report a bug in Issues or write to support@cutoptim.com.

الأسئلة الشائعة

ما هو CutOptim Engine؟

Cutting optimization: 2D panels, 1D bars, timber and true-shape nesting via the CutOptim API.

كيف أثبّت CutOptim Engine؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http cutoptim-engine 'https://api.cutoptim.com/mcp' --header 'Authorization: <Bearer followed by your CutOptim API key (co_live_…, co_test_…, or the public demo key). Not needed for validate_* and tools/list.>'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج CutOptim Engine إلى مفتاح API؟

نعم. يتطلب CUTOPTIM_API_KEY, Authorization، وتضبطها في إعداداته.

هل CutOptim Engine مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون CutOptim Engine؟

ينشره cutoptim. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.