Skip to content
VS Code

WaWarden for VS Code

io.github.dortort/wawarden

Self-hosted WhatsApp gateway with per-client, per-chat scoped reading, search, and sending

client:VS Code transport:stdio runtime:oci

Install WaWarden in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "wawarden-listen",
      "description": "WAWARDEN_LISTEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wawarden-owner-phone",
      "description": "WAWARDEN_OWNER_PHONE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wawarden-admin-token-sha256",
      "description": "WAWARDEN_ADMIN_TOKEN_SHA256",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wawarden-admin-listen",
      "description": "WAWARDEN_ADMIN_LISTEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wawarden-log-level",
      "description": "WAWARDEN_LOG_LEVEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wawarden-media-max-bytes",
      "description": "WAWARDEN_MEDIA_MAX_BYTES",
      "password": true
    }
  ],
  "servers": {
    "wawarden": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/dortort/wawarden:v1.4.1@sha256:a9beadf84676a3900fd93098afac9cc042640eecc19b673982c0d63d3a4635af"
      ],
      "env": {
        "WAWARDEN_LISTEN": "${input:wawarden-listen}",
        "WAWARDEN_OWNER_PHONE": "${input:wawarden-owner-phone}",
        "WAWARDEN_ADMIN_TOKEN_SHA256": "${input:wawarden-admin-token-sha256}",
        "WAWARDEN_ADMIN_LISTEN": "${input:wawarden-admin-listen}",
        "WAWARDEN_LOG_LEVEL": "${input:wawarden-log-level}",
        "WAWARDEN_MEDIA_MAX_BYTES": "${input:wawarden-media-max-bytes}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

WaWarden in other clients