KerfScript
Write, check and render parametric laser-cutting designs in KerfScript, as SVG or DXF.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"kerfscript": {
"command": "npx",
"args": [
"@mylasertools/kerfscript-mcp"
]
}
}
}실행 가능한 패키지
0.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
}커뮤니티
증거