{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.bunkerity/bunkerweb-mcp",
  "slug": "bunkerity.bunkerweb-mcp",
  "title": "BunkerWeb",
  "summary": "Operate BunkerWeb, the open-source WAF, through its API: services, bans, configs, jobs.",
  "version": "0.8.0",
  "serverKey": "bunkerweb-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/bunkerity.bunkerweb-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/bunkerity.bunkerweb-mcp/install.md",
  "trust": {
    "score": 89,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T12:40:26.774723912Z"
  },
  "methods": [
    {
      "id": "pypi",
      "label": "PyPI (uvx)",
      "transport": "stdio",
      "command": "uvx",
      "args": [
        "bunkerweb-mcp==0.8.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add bunkerweb-mcp -e 'BUNKERWEB_API_TOKEN=<BUNKERWEB_API_TOKEN>' -e 'BUNKERWEB_BASE_URL=<BUNKERWEB_BASE_URL>' -e 'BUNKERWEB_WEBSOCKET_TOKEN=<BUNKERWEB_WEBSOCKET_TOKEN>' -- uvx bunkerweb-mcp==0.8.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"bunkerweb-mcp\": {\n      \"args\": [\n        \"bunkerweb-mcp==0.8.0\"\n      ],\n      \"command\": \"uvx\",\n      \"env\": {\n        \"BUNKERWEB_API_TOKEN\": \"<BUNKERWEB_API_TOKEN>\",\n        \"BUNKERWEB_BASE_URL\": \"<BUNKERWEB_BASE_URL>\",\n        \"BUNKERWEB_WEBSOCKET_TOKEN\": \"<BUNKERWEB_WEBSOCKET_TOKEN>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"bunkerweb-mcp\": {\n      \"args\": [\n        \"bunkerweb-mcp==0.8.0\"\n      ],\n      \"command\": \"uvx\",\n      \"env\": {\n        \"BUNKERWEB_API_TOKEN\": \"<BUNKERWEB_API_TOKEN>\",\n        \"BUNKERWEB_BASE_URL\": \"<BUNKERWEB_BASE_URL>\",\n        \"BUNKERWEB_WEBSOCKET_TOKEN\": \"<BUNKERWEB_WEBSOCKET_TOKEN>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"BUNKERWEB_API_TOKEN\",\n      \"id\": \"bunkerweb-api-token\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"BUNKERWEB_BASE_URL\",\n      \"id\": \"bunkerweb-base-url\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"BUNKERWEB_WEBSOCKET_TOKEN\",\n      \"id\": \"bunkerweb-websocket-token\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"bunkerweb-mcp\": {\n      \"args\": [\n        \"bunkerweb-mcp==0.8.0\"\n      ],\n      \"command\": \"uvx\",\n      \"env\": {\n        \"BUNKERWEB_API_TOKEN\": \"${input:bunkerweb-api-token}\",\n        \"BUNKERWEB_BASE_URL\": \"${input:bunkerweb-base-url}\",\n        \"BUNKERWEB_WEBSOCKET_TOKEN\": \"${input:bunkerweb-websocket-token}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.bunkerweb-mcp]\ncommand = \"uvx\"\nargs = [\"bunkerweb-mcp==0.8.0\"]\nenv = { \"BUNKERWEB_API_TOKEN\" = \"<BUNKERWEB_API_TOKEN>\", \"BUNKERWEB_BASE_URL\" = \"<BUNKERWEB_BASE_URL>\", \"BUNKERWEB_WEBSOCKET_TOKEN\" = \"<BUNKERWEB_WEBSOCKET_TOKEN>\" }"
        }
      ],
      "requires": [
        "uv (https://docs.astral.sh/uv/)"
      ]
    }
  ],
  "env": [
    {
      "name": "BUNKERWEB_BASE_URL",
      "required": true,
      "secret": false,
      "description": "Base URL of the BunkerWeb API, for example http://localhost:8888.",
      "help": "Base URL of the BunkerWeb API, reachable from inside the container.",
      "placeholder": "<BUNKERWEB_BASE_URL>"
    },
    {
      "name": "BUNKERWEB_API_TOKEN",
      "required": true,
      "secret": true,
      "description": "BunkerWeb API bearer token. The server authenticates to BunkerWeb with it.",
      "help": "BunkerWeb API bearer token. The server authenticates to BunkerWeb with it.",
      "placeholder": "<BUNKERWEB_API_TOKEN>"
    },
    {
      "name": "BUNKERWEB_WEBSOCKET_TOKEN",
      "required": true,
      "secret": true,
      "description": "Token MCP clients send as Authorization: Bearer <token>. Required so /mcp/, /rpc and /ws are not open.",
      "help": "Token MCP clients send as Authorization: Bearer <token>. Required so /mcp/, /rpc and /ws are not open.",
      "placeholder": "<BUNKERWEB_WEBSOCKET_TOKEN>"
    },
    {
      "name": "MCP_ALLOWED_HOSTS",
      "required": false,
      "secret": false,
      "description": "Host header values accepted by the DNS rebinding protection. Change it with the published port.",
      "help": "Host header values accepted by the DNS rebinding protection. Change it with the published port.",
      "default": "localhost,localhost:8080,127.0.0.1,127.0.0.1:8080",
      "placeholder": "localhost,localhost:8080,127.0.0.1,127.0.0.1:8080"
    },
    {
      "name": "SEARCH_MODE",
      "required": false,
      "secret": false,
      "description": "Documentation search. disabled keeps the server free of an external search service.",
      "help": "Documentation search. disabled keeps the server free of an external search service.",
      "default": "disabled",
      "placeholder": "disabled"
    }
  ],
  "expectedTools": [
    "create_api_token",
    "ping_api",
    "diagnose_bunkerweb",
    "list_instances",
    "ping_instances",
    "stop_instances",
    "get_instance",
    "create_instance",
    "update_instance",
    "delete_instances",
    "reload_instances",
    "list_bans",
    "ban_ips",
    "unban_ips",
    "list_services",
    "get_service",
    "create_service",
    "update_service",
    "delete_service",
    "get_global_config",
    "update_global_config",
    "list_configs",
    "get_config",
    "create_config",
    "update_config",
    "delete_configs",
    "create_configs_from_files",
    "update_config_from_file",
    "list_plugins",
    "install_plugins",
    "uninstall_plugin",
    "list_cache_files",
    "delete_cache_files",
    "get_cache_file",
    "list_jobs",
    "run_jobs",
    "search_bunkerweb_docs"
  ],
  "agentSteps": [
    "Ask the user for: BUNKERWEB_BASE_URL, BUNKERWEB_API_TOKEN, BUNKERWEB_WEBSOCKET_TOKEN. 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: create_api_token, ping_api, diagnose_bunkerweb, list_instances, ping_instances, stop_instances, get_instance, create_instance, ….",
    "If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T12:40:26.774723912Z"
}
