Skip to content

Dnpm Configurator MCP tool

MCP findutils: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.

Arguments

application/json
  • project_name

    string optional

    Project name used for container names (lowercase letters, digits and dashes; other characters become dashes). Default: "my-project". Default "my-project".

  • framework

    string optional

    Framework preset: astro, next, vite, remix or generic. Sets the default dev port and writable output dirs. Default: "astro". One of astro · next · vite · remix · generic. Default "astro".

  • node_version

    string optional

    Node.js major version for the image. Default: "22". One of 22 · 20 · 18. Default "22".

  • dev_port

    integer optional

    Dev server port (1024-65535). Default: the framework port (astro 4321, next 3000, vite 5173, remix 3000, generic 3000).

  • memory_limit

    string optional

    Container memory limit in MB. Default: "4096". One of 2048 · 4096 · 8192 · 16384. Default "4096".

  • cpu_limit

    string optional

    Container CPU limit. Default: "4". One of 1 · 2 · 4 · 8. Default "4".

  • max_pids

    integer optional

    Maximum number of processes. Default: 256. One of 128 · 256 · 512. Default 256.

  • tmp_size

    string optional

    Size of the noexec /tmp tmpfs. Default: "512m". One of 256m · 512m · 1g. Default "512m".

  • enable_polling

    boolean optional

    Set CHOKIDAR_USEPOLLING=true for file watching inside Docker. Default: true. Default true.

Example arguments

Verified
{
  "project_name": "my-project",
  "framework": "astro"
}