# Dnpm Configurator — REST API endpoint `dnpm-configurator`

Returns the five files of a hardened Docker-based npm wrapper (the ./dnpm bash script, .dnpm/Dockerfile, docker-compose.node.yml, .dnpm/seccomp-profile.json and a CLAUDE.md) generated for a project. The sandbox mounts the source read-only, drops all capabilities, runs as a non-root user, disables postinstall scripts, pins the npm registry and builds with zero network access.

- Category: security
- MCP server: https://mcp.findutils.com/ (Streamable HTTP, no API keys, 120 req/min per IP)
- REST endpoint: POST https://api.findutils.com/api/tools/dnpm-configurator/execute (no API keys, 60 req/min per IP)
- Reference page: https://findutils.com/api/dnpm-configurator/
- Same tool on the other surface: https://findutils.com/mcp/dnpm-configurator/

## Call the endpoint (verified example)

```bash
curl -X POST https://api.findutils.com/api/tools/dnpm-configurator/execute \
  -H "Content-Type: application/json" \
  -d '{
    "project_name": "my-project",
    "framework": "astro"
  }'

# Parameter schema
curl https://api.findutils.com/api/tools/dnpm-configurator
```

## Input schema

| Argument | Type | Required | Description |
|---|---|---|---|
| `project_name` | string | no | Project name used for container names (lowercase letters, digits and dashes; other characters become dashes). Default: "my-project". Default: `"my-project"`. |
| `framework` | string (astro \| next \| vite \| remix \| generic) | no | Framework preset: astro, next, vite, remix or generic. Sets the default dev port and writable output dirs. Default: "astro". Default: `"astro"`. |
| `node_version` | string (22 \| 20 \| 18) | no | Node.js major version for the image. Default: "22". Default: `"22"`. |
| `dev_port` | integer | no | Dev server port (1024-65535). Default: the framework port (astro 4321, next 3000, vite 5173, remix 3000, generic 3000). |
| `memory_limit` | string (2048 \| 4096 \| 8192 \| 16384) | no | Container memory limit in MB. Default: "4096". Default: `"4096"`. |
| `cpu_limit` | string (1 \| 2 \| 4 \| 8) | no | Container CPU limit. Default: "4". Default: `"4"`. |
| `max_pids` | integer (128 \| 256 \| 512) | no | Maximum number of processes. Default: 256. Default: `256`. |
| `tmp_size` | string (256m \| 512m \| 1g) | no | Size of the noexec /tmp tmpfs. Default: "512m". Default: `"512m"`. |
| `enable_polling` | boolean | no | Set CHOKIDAR_USEPOLLING=true for file watching inside Docker. Default: true. Default: `true`. |

Example arguments (verified):

```json
{
  "project_name": "my-project",
  "framework": "astro"
}
```

OpenAPI 3.1 spec: https://findutils.com/api/openapi.json · Interactive docs: https://findutils.com/api/docs/

## Also an MCP tool

```bash
claude mcp add findutils --transport http https://mcp.findutils.com/
```

Then ask the client to call `findutils:dnpm_configurator`. Full MCP reference: https://findutils.com/mcp/dnpm-configurator/

---
Full catalog: GET https://api.findutils.com/api/tools · https://findutils.com/api/ · https://findutils.com/llms.txt
