KerfScript

Write, check and render parametric laser-cutting designs in KerfScript, as SVG or DXF.

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
76%
命名品質
80%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~802Token(工具定義)
~1.4 KB典型回應大小
中等的注意力影響(128k 上下文的 0.63%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "kerfscript": {
      "command": "npx",
      "args": [
        "@mylasertools/kerfscript-mcp"
      ]
    }
  }
}

可執行的套件

npm@mylasertools/kerfscript-mcp0.1.1stdio

遠端端點

https://mcp.mylasertools.com/mcpstreamable-http

它能做什麼

工具清單

工具(4)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢kerfscript_docs(topic, offset)

Read KerfScript language and JavaScript integration documentation for building laser-cutting generators. Omit topic to list guides. Long guides are paginated with nextOffset.

輸入結構描述

{
  "type": "object",
  "properties": {
    "topic": {
      "type": "string",
      "maxLength": 100
    },
    "offset": {
      "default": 0,
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢kerfscript_examples(query, id, offset)

Find working parametric laser-cutting examples by title, id or tags. Supply an id from the results to get its .kerf source.

輸入結構描述

{
  "type": "object",
  "properties": {
    "query": {
      "default": "",
      "type": "string",
      "maxLength": 200
    },
    "id": {
      "type": "string",
      "maxLength": 100
    },
    "offset": {
      "default": 0,
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢kerfscript_parameters(source)

Extract editable settings and customizer ranges from .kerf source to build a generator UI. Parses without rendering geometry.

輸入結構描述

{
  "type": "object",
  "properties": {
    "source": {
      "type": "string",
      "maxLength": 64000
    }
  },
  "required": [
    "source"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢kerfscript_render(source, params, libraries, format, sheet, ...)

Render .kerf source to SVG or DXF files, one per sheet, with part sizes, layers and warnings. Uses millimetres and bundled Atkinson font. No filesystem or network imports. Bounded to 100 parts and 10 sheets. For production generators install @mylasertools/kerfscript locally.

輸入結構描述

{
  "type": "object",
  "properties": {
    "source": {
      "type": "string",
      "maxLength": 64000,
      "description": "KerfScript program. Lengths are millimetres; angles are degrees."
    },
    "params": {
      "type": "object",
      "propertyNames": {
        "type": "string",
        "maxLength": 100
      },
      "additionalProperties": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "string",
            "maxLength": 2000
          },
          {
            "type": "boolean"
          },
          {
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "number"
            }
          }
        ]
      }
    },
    "libraries": {
      "description": "Optional virtual libraries keyed by the exact use/include path. No files or URLs are fetched.",
      "type": "object",
      "propertyNames": {
        "type": "string",
        "maxLength": 200
      },
      "additionalProperties": {
        "type": "string",
        "maxLength": 64000
      }
    },
    "format": {
      "default": "svg",
      "type": "string",
      "enum": [
        "svg",
        "dxf"
      ]
    },
    "sheet": {
      "type": "array",
      "items": [
        {
          "type": "number",
          "exclusiveMinimum": 0,
          "maximum": 10000
        },
        {
          "type": "number",
          "exclusiveMinimum": 0,
          "maximum": 10000
        }
      ],
      "additionalItems": false,
      "minItems": 2,
      "maxItems": 2
    },
    "kerf": {
      "type": "number",
      "minimum": 0,
      "maximum": 10
    },
    "gap": {
      "type": "number",
      "minimum": 0,
      "maximum": 100
    },
    "margin": {
      "type": "number",
      "minimum": 0,
      "maximum": 100
    },
    "layout": {
      "default": "pack",
      "type": "string",
      "enum": [
        "pack",
        "none"
      ]
    }
  },
  "required": [
    "source"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本4 個工具