# KerfScript MCP server

> Enables AI assistants to write, validate, and render parametric laser-cutting designs into SVG or DXF formats.

- Repository: https://github.com/mylasertools/kerfscript
- Page: https://hostedmcp.org/servers/mylasertools/kerfscript
- Transport: stdio, remote
- Stars: 11
- License: AGPL-3.0
- Latest version: 0.1.1

## Install

### Claude Code

```sh
claude mcp add kerfscript -- npx -y @mylasertools/kerfscript-mcp
```

### Cursor (`~/.cursor/mcp.json`)

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

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "kerfscript": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mylasertools/kerfscript-mcp"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"kerfscript","type":"stdio","command":"npx","args":["-y","@mylasertools/kerfscript-mcp"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

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

### Codex

```sh
codex mcp add kerfscript -- npx -y @mylasertools/kerfscript-mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.kerfscript]
command = "npx"
args = ["-y", "@mylasertools/kerfscript-mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user kerfscript npx -- -y @mylasertools/kerfscript-mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

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

## Tools (4)

- `kerfscript_docs`
- `kerfscript_examples`
- `kerfscript_parameters`
- `kerfscript_render`

## FAQ

### How can I use the server without an account?

The hosted server requires no account or API key to connect.

### What are the rendering limits for a design?

Each render is limited to 100,000 steps, 100 parts, and 10 sheets.

### Does a successful render guarantee the parts will fit?

No, a successful render does not guarantee part fitment; you should cut a test piece in your material first.

### Can I run the server locally to keep my designs private?

Yes, you can run the server locally using Node.js 20 or newer so that designs never leave your computer.
