W

Wawarden

by dortort · io.github.dortort/wawarden

A self-hosted WhatsApp gateway that connects a personal WhatsApp account to AI agents and applications over REST and MCP. It maintains a local message archive and enforces per-client, per-chat permissions for reading and sending messages.

oci Unknown transport GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-dortort-wawarden": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "WAWARDEN_LISTEN=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_OWNER_PHONE=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_ADMIN_TOKEN_SHA256=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_ADMIN_LISTEN=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_LOG_LEVEL=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_MEDIA_MAX_BYTES=<YOUR_VALUE>",
        "ghcr.io/dortort/wawarden:v1.4.1@sha256:a9beadf84676a3900fd93098afac9cc042640eecc19b673982c0d63d3a4635af"
      ]
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-dortort-wawarden": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "WAWARDEN_LISTEN=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_OWNER_PHONE=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_ADMIN_TOKEN_SHA256=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_ADMIN_LISTEN=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_LOG_LEVEL=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_MEDIA_MAX_BYTES=<YOUR_VALUE>",
        "ghcr.io/dortort/wawarden:v1.4.1@sha256:a9beadf84676a3900fd93098afac9cc042640eecc19b673982c0d63d3a4635af"
      ]
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-dortort-wawarden": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "WAWARDEN_LISTEN=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_OWNER_PHONE=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_ADMIN_TOKEN_SHA256=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_ADMIN_LISTEN=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_LOG_LEVEL=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_MEDIA_MAX_BYTES=<YOUR_VALUE>",
        "ghcr.io/dortort/wawarden:v1.4.1@sha256:a9beadf84676a3900fd93098afac9cc042640eecc19b673982c0d63d3a4635af"
      ]
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-dortort-wawarden": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "WAWARDEN_LISTEN=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_OWNER_PHONE=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_ADMIN_TOKEN_SHA256=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_ADMIN_LISTEN=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_LOG_LEVEL=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_MEDIA_MAX_BYTES=<YOUR_VALUE>",
        "ghcr.io/dortort/wawarden:v1.4.1@sha256:a9beadf84676a3900fd93098afac9cc042640eecc19b673982c0d63d3a4635af"
      ]
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-dortort-wawarden": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "WAWARDEN_LISTEN=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_OWNER_PHONE=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_ADMIN_TOKEN_SHA256=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_ADMIN_LISTEN=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_LOG_LEVEL=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_MEDIA_MAX_BYTES=<YOUR_VALUE>",
        "ghcr.io/dortort/wawarden:v1.4.1@sha256:a9beadf84676a3900fd93098afac9cc042640eecc19b673982c0d63d3a4635af"
      ]
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-dortort-wawarden": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "WAWARDEN_LISTEN=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_OWNER_PHONE=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_ADMIN_TOKEN_SHA256=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_ADMIN_LISTEN=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_LOG_LEVEL=<YOUR_VALUE>",
        "-e",
        "WAWARDEN_MEDIA_MAX_BYTES=<YOUR_VALUE>",
        "ghcr.io/dortort/wawarden:v1.4.1@sha256:a9beadf84676a3900fd93098afac9cc042640eecc19b673982c0d63d3a4635af"
      ]
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
WAWARDEN_LISTEN Yes Client listener address inside the container; bind 0.0.0.0:8080 so host loopback port publishing reaches it Default: 0.0.0.0:8080
WAWARDEN_OWNER_PHONE No WhatsApp account phone number in E.164 format permitted to pair (e.g. +15550100001)
WAWARDEN_ADMIN_TOKEN_SHA256 secret No 64-hex-character SHA-256 hash of the admin token from 'wawarden admin init'; enables the admin listener
WAWARDEN_ADMIN_LISTEN No Admin listener address inside the container (default 127.0.0.1:8082) Default: 127.0.0.1:8082
WAWARDEN_LOG_LEVEL No Structured JSON log verbosity level Default: info
WAWARDEN_MEDIA_MAX_BYTES No Maximum downloadable attachment size in bytes (0 disables media downloads; up to 2147483648) Default: 0

Similar servers