W

Wazap

by razvangirgiz · io.github.razvangirgiz/wazap

An MCP server that lets AI agents access and manage a WhatsApp account, offering 22 tools for chats, messages, media, contacts, groups, and more, with pairing-code login and optional read-only or HTTP modes.

npm Local · stdio 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-razvangirgiz-wazap": {
      "command": "npx",
      "args": [
        "-y",
        "wazap-mcp"
      ],
      "env": {
        "WAZAP_READ_ONLY": "0",
        "WAZAP_DATA_DIR": "~/.wazap",
        "WAZAP_HOST": "127.0.0.1",
        "WAZAP_PORT": "8766",
        "OPENAI_API_KEY": "<VALUE>",
        "WAZAP_NO_SHARE": "0",
        "WAZAP_TRANSPORT": "stdio",
        "WAZAP_PUBLIC_URL": "<VALUE>",
        "WAZAP_RATE_LIMIT": "20",
        "WAZAP_READ_TOKEN": "<VALUE>",
        "WAZAP_TRANSCRIBE": "off",
        "WAZAP_WHISPER_BIN": "<VALUE>",
        "WAZAP_WRITE_TOKEN": "<VALUE>",
        "WAZAP_WHISPER_MODEL": "turbo",
        "WAZAP_OAUTH_PASSWORD": "<VALUE>",
        "WAZAP_TRANSCRIBE_URL": "https://api.openai.com/v1",
        "WAZAP_NO_UPDATE_CHECK": "0",
        "WAZAP_PERSIST_HISTORY": "1",
        "WAZAP_TRANSCRIBE_AUTO": "1",
        "WAZAP_TRANSCRIBE_MODEL": "gpt-4o-mini-transcribe",
        "WAZAP_SYNC_FULL_HISTORY": "0",
        "WAZAP_TRANSCRIBE_API_KEY": "<VALUE>",
        "WAZAP_TRANSCRIBE_LANGUAGE": "auto"
      }
    }
  }
}

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-razvangirgiz-wazap": {
      "command": "npx",
      "args": [
        "-y",
        "wazap-mcp"
      ],
      "env": {
        "WAZAP_READ_ONLY": "0",
        "WAZAP_DATA_DIR": "~/.wazap",
        "WAZAP_HOST": "127.0.0.1",
        "WAZAP_PORT": "8766",
        "OPENAI_API_KEY": "<VALUE>",
        "WAZAP_NO_SHARE": "0",
        "WAZAP_TRANSPORT": "stdio",
        "WAZAP_PUBLIC_URL": "<VALUE>",
        "WAZAP_RATE_LIMIT": "20",
        "WAZAP_READ_TOKEN": "<VALUE>",
        "WAZAP_TRANSCRIBE": "off",
        "WAZAP_WHISPER_BIN": "<VALUE>",
        "WAZAP_WRITE_TOKEN": "<VALUE>",
        "WAZAP_WHISPER_MODEL": "turbo",
        "WAZAP_OAUTH_PASSWORD": "<VALUE>",
        "WAZAP_TRANSCRIBE_URL": "https://api.openai.com/v1",
        "WAZAP_NO_UPDATE_CHECK": "0",
        "WAZAP_PERSIST_HISTORY": "1",
        "WAZAP_TRANSCRIBE_AUTO": "1",
        "WAZAP_TRANSCRIBE_MODEL": "gpt-4o-mini-transcribe",
        "WAZAP_SYNC_FULL_HISTORY": "0",
        "WAZAP_TRANSCRIBE_API_KEY": "<VALUE>",
        "WAZAP_TRANSCRIBE_LANGUAGE": "auto"
      }
    }
  }
}

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-razvangirgiz-wazap": {
      "command": "npx",
      "args": [
        "-y",
        "wazap-mcp"
      ],
      "env": {
        "WAZAP_READ_ONLY": "0",
        "WAZAP_DATA_DIR": "~/.wazap",
        "WAZAP_HOST": "127.0.0.1",
        "WAZAP_PORT": "8766",
        "OPENAI_API_KEY": "<VALUE>",
        "WAZAP_NO_SHARE": "0",
        "WAZAP_TRANSPORT": "stdio",
        "WAZAP_PUBLIC_URL": "<VALUE>",
        "WAZAP_RATE_LIMIT": "20",
        "WAZAP_READ_TOKEN": "<VALUE>",
        "WAZAP_TRANSCRIBE": "off",
        "WAZAP_WHISPER_BIN": "<VALUE>",
        "WAZAP_WRITE_TOKEN": "<VALUE>",
        "WAZAP_WHISPER_MODEL": "turbo",
        "WAZAP_OAUTH_PASSWORD": "<VALUE>",
        "WAZAP_TRANSCRIBE_URL": "https://api.openai.com/v1",
        "WAZAP_NO_UPDATE_CHECK": "0",
        "WAZAP_PERSIST_HISTORY": "1",
        "WAZAP_TRANSCRIBE_AUTO": "1",
        "WAZAP_TRANSCRIBE_MODEL": "gpt-4o-mini-transcribe",
        "WAZAP_SYNC_FULL_HISTORY": "0",
        "WAZAP_TRANSCRIBE_API_KEY": "<VALUE>",
        "WAZAP_TRANSCRIBE_LANGUAGE": "auto"
      }
    }
  }
}

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-razvangirgiz-wazap": {
      "command": "npx",
      "args": [
        "-y",
        "wazap-mcp"
      ],
      "env": {
        "WAZAP_READ_ONLY": "0",
        "WAZAP_DATA_DIR": "~/.wazap",
        "WAZAP_HOST": "127.0.0.1",
        "WAZAP_PORT": "8766",
        "OPENAI_API_KEY": "<VALUE>",
        "WAZAP_NO_SHARE": "0",
        "WAZAP_TRANSPORT": "stdio",
        "WAZAP_PUBLIC_URL": "<VALUE>",
        "WAZAP_RATE_LIMIT": "20",
        "WAZAP_READ_TOKEN": "<VALUE>",
        "WAZAP_TRANSCRIBE": "off",
        "WAZAP_WHISPER_BIN": "<VALUE>",
        "WAZAP_WRITE_TOKEN": "<VALUE>",
        "WAZAP_WHISPER_MODEL": "turbo",
        "WAZAP_OAUTH_PASSWORD": "<VALUE>",
        "WAZAP_TRANSCRIBE_URL": "https://api.openai.com/v1",
        "WAZAP_NO_UPDATE_CHECK": "0",
        "WAZAP_PERSIST_HISTORY": "1",
        "WAZAP_TRANSCRIBE_AUTO": "1",
        "WAZAP_TRANSCRIBE_MODEL": "gpt-4o-mini-transcribe",
        "WAZAP_SYNC_FULL_HISTORY": "0",
        "WAZAP_TRANSCRIBE_API_KEY": "<VALUE>",
        "WAZAP_TRANSCRIBE_LANGUAGE": "auto"
      }
    }
  }
}

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-razvangirgiz-wazap": {
      "command": "npx",
      "args": [
        "-y",
        "wazap-mcp"
      ],
      "env": {
        "WAZAP_READ_ONLY": "0",
        "WAZAP_DATA_DIR": "~/.wazap",
        "WAZAP_HOST": "127.0.0.1",
        "WAZAP_PORT": "8766",
        "OPENAI_API_KEY": "<VALUE>",
        "WAZAP_NO_SHARE": "0",
        "WAZAP_TRANSPORT": "stdio",
        "WAZAP_PUBLIC_URL": "<VALUE>",
        "WAZAP_RATE_LIMIT": "20",
        "WAZAP_READ_TOKEN": "<VALUE>",
        "WAZAP_TRANSCRIBE": "off",
        "WAZAP_WHISPER_BIN": "<VALUE>",
        "WAZAP_WRITE_TOKEN": "<VALUE>",
        "WAZAP_WHISPER_MODEL": "turbo",
        "WAZAP_OAUTH_PASSWORD": "<VALUE>",
        "WAZAP_TRANSCRIBE_URL": "https://api.openai.com/v1",
        "WAZAP_NO_UPDATE_CHECK": "0",
        "WAZAP_PERSIST_HISTORY": "1",
        "WAZAP_TRANSCRIBE_AUTO": "1",
        "WAZAP_TRANSCRIBE_MODEL": "gpt-4o-mini-transcribe",
        "WAZAP_SYNC_FULL_HISTORY": "0",
        "WAZAP_TRANSCRIBE_API_KEY": "<VALUE>",
        "WAZAP_TRANSCRIBE_LANGUAGE": "auto"
      }
    }
  }
}

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-razvangirgiz-wazap": {
      "command": "npx",
      "args": [
        "-y",
        "wazap-mcp"
      ],
      "env": {
        "WAZAP_READ_ONLY": "0",
        "WAZAP_DATA_DIR": "~/.wazap",
        "WAZAP_HOST": "127.0.0.1",
        "WAZAP_PORT": "8766",
        "OPENAI_API_KEY": "<VALUE>",
        "WAZAP_NO_SHARE": "0",
        "WAZAP_TRANSPORT": "stdio",
        "WAZAP_PUBLIC_URL": "<VALUE>",
        "WAZAP_RATE_LIMIT": "20",
        "WAZAP_READ_TOKEN": "<VALUE>",
        "WAZAP_TRANSCRIBE": "off",
        "WAZAP_WHISPER_BIN": "<VALUE>",
        "WAZAP_WRITE_TOKEN": "<VALUE>",
        "WAZAP_WHISPER_MODEL": "turbo",
        "WAZAP_OAUTH_PASSWORD": "<VALUE>",
        "WAZAP_TRANSCRIBE_URL": "https://api.openai.com/v1",
        "WAZAP_NO_UPDATE_CHECK": "0",
        "WAZAP_PERSIST_HISTORY": "1",
        "WAZAP_TRANSCRIBE_AUTO": "1",
        "WAZAP_TRANSCRIBE_MODEL": "gpt-4o-mini-transcribe",
        "WAZAP_SYNC_FULL_HISTORY": "0",
        "WAZAP_TRANSCRIBE_API_KEY": "<VALUE>",
        "WAZAP_TRANSCRIBE_LANGUAGE": "auto"
      }
    }
  }
}

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
WAZAP_READ_ONLY No Do not register the write tools. Set to 1 to enable read-only mode. Default: 0
WAZAP_DATA_DIR No Where everything is stored. Default: ~/.wazap
WAZAP_HOST No HTTP bind address. Default: 127.0.0.1
WAZAP_PORT No HTTP bind port. Default: 8766
OPENAI_API_KEY No Fallback API key for OpenAI-compatible transcription when WAZAP_TRANSCRIBE_API_KEY is not set.
WAZAP_NO_SHARE No Set to 1 to opt out of sharing a WhatsApp session between multiple wazap processes. Default: 0
WAZAP_TRANSPORT No stdio or http. Default: stdio
WAZAP_PUBLIC_URL No The https address agents reach the server at. Must be a bare origin with no path. With WAZAP_OAUTH_PASSWORD, turns OAuth on.
WAZAP_RATE_LIMIT No Write tool calls per minute; 0 disables. Default: 20
WAZAP_READ_TOKEN No HTTP bearer token that grants read-only access. Required to bind a non-loopback address without OAuth.
WAZAP_TRANSCRIBE No local, openai or off. Default: off
WAZAP_WHISPER_BIN No Path to a whisper.cpp binary that is not on PATH.
WAZAP_WRITE_TOKEN No HTTP bearer token that also unlocks write tools.
WAZAP_WHISPER_MODEL No turbo, large-v3 or medium. Default: turbo
WAZAP_OAUTH_PASSWORD No What the consent page asks for. At least 8 characters. With WAZAP_PUBLIC_URL, turns OAuth on.
WAZAP_TRANSCRIBE_URL No OpenAI-compatible base URL. Default: https://api.openai.com/v1
WAZAP_NO_UPDATE_CHECK No Set to 1 to stop status asking npm for a newer version. Default: 0
WAZAP_PERSIST_HISTORY No Keep chats and messages across restarts. Default: 1
WAZAP_TRANSCRIBE_AUTO No Transcribe incoming voice notes in the background. Set to 0 to keep the tool and stop background work. Default: 1
WAZAP_TRANSCRIBE_MODEL No Model at that URL. Default: gpt-4o-mini-transcribe
WAZAP_SYNC_FULL_HISTORY No Ask WhatsApp for a fuller history sync. Default: 0
WAZAP_TRANSCRIBE_API_KEY No API key for OpenAI-compatible transcription. Never a flag; stored in .env. OPENAI_API_KEY is the fallback.
WAZAP_TRANSCRIBE_LANGUAGE No Spoken language, e.g. ro. Default: auto

Similar servers