Skip to content
MCP server

Wa MCP

Local MCP server and bridge to search, read and send WhatsApp messages from AI clients

Runs locally

Wa MCP is an open-source MCP server for communication. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, macOS, Windows
Runs
Locally
Version
0.2.1
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add wa-mcp --env WA_MCP_API_TOKEN='<WA_MCP_API_TOKEN>' -- docker run -i --rm -e WA_MCP_API_TOKEN ghcr.io/tsahospital-beep/wa-mcp-server:0.2.1

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "wa-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "WA_MCP_API_TOKEN",
        "ghcr.io/tsahospital-beep/wa-mcp-server:0.2.1"
      ],
      "env": {
        "WA_MCP_API_TOKEN": "<WA_MCP_API_TOKEN>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "wa-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "WA_MCP_API_TOKEN",
        "ghcr.io/tsahospital-beep/wa-mcp-server:0.2.1"
      ],
      "env": {
        "WA_MCP_API_TOKEN": "<WA_MCP_API_TOKEN>"
      }
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "wa-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "WA_MCP_API_TOKEN",
        "ghcr.io/tsahospital-beep/wa-mcp-server:0.2.1"
      ],
      "env": {
        "WA_MCP_API_TOKEN": "<WA_MCP_API_TOKEN>"
      }
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "wa-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "WA_MCP_API_TOKEN",
        "ghcr.io/tsahospital-beep/wa-mcp-server:0.2.1"
      ],
      "env": {
        "WA_MCP_API_TOKEN": "<WA_MCP_API_TOKEN>"
      }
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add wa-mcp --env WA_MCP_API_TOKEN='<WA_MCP_API_TOKEN>' -- docker run -i --rm -e WA_MCP_API_TOKEN ghcr.io/tsahospital-beep/wa-mcp-server:0.2.1

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.wa-mcp]
command = "docker"
args = ["run", "-i", "--rm", "-e", "WA_MCP_API_TOKEN", "ghcr.io/tsahospital-beep/wa-mcp-server:0.2.1"]
env = { WA_MCP_API_TOKEN = "<WA_MCP_API_TOKEN>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "wa-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "WA_MCP_API_TOKEN",
        "ghcr.io/tsahospital-beep/wa-mcp-server:0.2.1"
      ],
      "env": {
        "WA_MCP_API_TOKEN": "<WA_MCP_API_TOKEN>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "wa-mcp": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "WA_MCP_API_TOKEN",
            "ghcr.io/tsahospital-beep/wa-mcp-server:0.2.1"
          ],
          "env": {
            "WA_MCP_API_TOKEN": "<WA_MCP_API_TOKEN>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e WA_MCP_API_TOKEN='<WA_MCP_API_TOKEN>' wa-mcp docker -- run -i --rm -e WA_MCP_API_TOKEN ghcr.io/tsahospital-beep/wa-mcp-server:0.2.1

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "wa-mcp": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "WA_MCP_API_TOKEN",
            "ghcr.io/tsahospital-beep/wa-mcp-server:0.2.1"
          ],
          "env": {
            "WA_MCP_API_TOKEN": "<WA_MCP_API_TOKEN>"
          }
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "wa-mcp": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "WA_MCP_API_TOKEN",
            "ghcr.io/tsahospital-beep/wa-mcp-server:0.2.1"
          ],
          "env": {
            "WA_MCP_API_TOKEN": "<WA_MCP_API_TOKEN>"
          }
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "wa-mcp": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "WA_MCP_API_TOKEN",
            "ghcr.io/tsahospital-beep/wa-mcp-server:0.2.1"
          ],
          "env": {
            "WA_MCP_API_TOKEN": "<WA_MCP_API_TOKEN>"
          }
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "wa-mcp": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "WA_MCP_API_TOKEN",
            "ghcr.io/tsahospital-beep/wa-mcp-server:0.2.1"
          ],
          "env": {
            "WA_MCP_API_TOKEN": "<WA_MCP_API_TOKEN>"
          }
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "wa-mcp": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "WA_MCP_API_TOKEN",
            "ghcr.io/tsahospital-beep/wa-mcp-server:0.2.1"
          ],
          "env": {
            "WA_MCP_API_TOKEN": "<WA_MCP_API_TOKEN>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "wa-mcp": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "WA_MCP_API_TOKEN",
            "ghcr.io/tsahospital-beep/wa-mcp-server:0.2.1"
          ],
          "env": {
            "WA_MCP_API_TOKEN": "<WA_MCP_API_TOKEN>"
          }
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "wa-mcp": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "WA_MCP_API_TOKEN",
            "ghcr.io/tsahospital-beep/wa-mcp-server:0.2.1"
          ],
          "env": {
            "WA_MCP_API_TOKEN": "<WA_MCP_API_TOKEN>"
          }
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • WA_MCP_TOOLSETSComma-separated MCP toolsets. Defaults to core. Use all for the full catalog.
  • WA_MCP_CONFIGConfiguration file inside the container.
  • WA_MCP_STORE_DIRMessage database directory inside the shared volume.
  • WA_MCP_API_LISTENBridge API host and port.
  • WA_MCP_API_TOKENBridge API token if the bridge uses an explicit token.
  • WA_MCP_ENCRYPTION_MODE
  • WA_MCP_KEY_FILE

About Wa MCP

WA MCP links a WhatsApp account to a local bridge and exposes its messages to MCP-compatible assistants such as Claude, Cursor and VS Code. Once linked, an assistant can search chat history, read messages and transcripts, and review what needs a reply today. The message store stays on the user's machine, with encryption at rest using the OS keystore or a passphrase.

Sending is off by default. When enabled, sends are paced like human typing, respect quiet hours and per-hour limits, and can require approval in the client. Optional features cover voice note transcription, OCR of screenshots, document text extraction, chat export import, scheduled messages and webhooks.

The project suits people who want an AI assistant to work with their own WhatsApp conversations and are comfortable running a local bridge alongside an MCP client.

What it does

Local message store
Keeps synced and imported chats in a local database, with message text encrypted at rest.
Search and read
Case-insensitive search across messages, voice transcripts and extracted file text.
Daily overview
A single tool lists open requests, due promises, unanswered chats and scheduled sends.
Approval-gated sending
Text, files and voice notes can be sent only when enabled, with approval in supporting clients.
Transcription and OCR
Converts voice notes to text with several backends and reads text from images locally.
Webhooks and HTTP API
Posts signed events to URLs and exposes a token-protected local REST API.

Good for

  • Asking an AI assistant what needs a reply across several WhatsApp chats
  • Searching old conversations for an invoice, address or shared file
  • Transcribing voice notes so they can be searched and summarised
  • Scheduling recurring WhatsApp reminders without keeping an assistant open
  • Importing exported chat history for analysis

Pricing

Open source

Open source under MIT licence; no paid plan listed.

Wa MCP FAQ

Is there a free demo?

Yes. Running uvx wa-mcp-server --demo starts an offline archive of eight fictional chats without linking a phone.

Is sending messages enabled by default?

No. Sending is disabled by default and must be turned on in configuration.

Which MCP clients are supported?

The project names Claude, Cursor, VS Code and other MCP clients, and offers remote access over Streamable HTTP.

How do I add Wa MCP to Claude Code?

Run this command in your terminal: claude mcp add wa-mcp --env WA_MCP_API_TOKEN='<WA_MCP_API_TOKEN>' -- docker run -i --rm -e WA_MCP_API_TOKEN ghcr.io/tsahospital-beep/wa-mcp-server:0.2.1

What are the best alternatives to Wa MCP?

The closest alternatives to Wa MCP are WhatsApp MCP server (wacli), WhatsApp Connect, WhatsApp MCP, WhatsApp MCP and WhatsApp Web MCP Server.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers