Preventionlabs

v1.2.6
au.com.preventionlabs/preventionlabs Checked 1 day ago Published 1 month ago

See what's wrong with a live website from the outside, with proof: uptime, DNS, HTTPS, leaked files.

Values you need

VariableWhat it is
PREVENTIONLABS_API_KEYrequired secret Your Preventionlabs API key (dashboard: Integrations > AI agents, Create API key)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add preventionlabs -e 'PREVENTIONLABS_API_KEY=<PREVENTIONLABS_API_KEY>' -- npx -y preventionlabs-mcp@1.2.6
Add to claude_desktop_config.json
{
  "mcpServers": {
    "preventionlabs": {
      "args": [
        "-y",
        "preventionlabs-mcp@1.2.6"
      ],
      "command": "npx",
      "env": {
        "PREVENTIONLABS_API_KEY": "<PREVENTIONLABS_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "preventionlabs": {
      "args": [
        "-y",
        "preventionlabs-mcp@1.2.6"
      ],
      "command": "npx",
      "env": {
        "PREVENTIONLABS_API_KEY": "<PREVENTIONLABS_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "PREVENTIONLABS_API_KEY",
      "id": "preventionlabs-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "preventionlabs": {
      "args": [
        "-y",
        "preventionlabs-mcp@1.2.6"
      ],
      "command": "npx",
      "env": {
        "PREVENTIONLABS_API_KEY": "${input:preventionlabs-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.preventionlabs]
command = "npx"
args = ["-y", "preventionlabs-mcp@1.2.6"]
env = { "PREVENTIONLABS_API_KEY" = "<PREVENTIONLABS_API_KEY>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http preventionlabs https://app.preventionlabs.com.au/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "preventionlabs": {
      "args": [
        "-y",
        "mcp-remote",
        "https://app.preventionlabs.com.au/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "preventionlabs": {
      "url": "https://app.preventionlabs.com.au/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "preventionlabs": {
      "type": "http",
      "url": "https://app.preventionlabs.com.au/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.preventionlabs]
command = "npx"
args = ["-y", "mcp-remote", "https://app.preventionlabs.com.au/mcp"]

For AI agents

  1. Ask the user for: PREVENTIONLABS_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_sites, run_report, latest_report.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json