Preventionlabs
v1.2.6See what's wrong with a live website from the outside, with proof: uptime, DNS, HTTPS, leaked files.
Values you need
| Variable | What it is | |
|---|---|---|
PREVENTIONLABS_API_KEY | required 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.6Add 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/mcpAdd 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
- Ask the user for: PREVENTIONLABS_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_sites, run_report, latest_report.
- 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