MCP低风险未认领

WhatsApp Web MCP Server

WhatsApp MCP via web.js or browserless Baileys: messages, media, chats, groups and contacts

mario-andreschakmario-andreschak/mcp-whatsapp-web★ 29更新于 2026年9月5日

server.json

{
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "name": "io.github.mario-andreschak/mcp-whatsapp-web",
  "description": "WhatsApp MCP via web.js or browserless Baileys: messages, media, chats, groups and contacts",
  "title": "WhatsApp Web MCP Server",
  "repository": {
    "url": "https://github.com/mario-andreschak/mcp-whatsapp-web",
    "source": "github"
  },
  "version": "1.2.0",
  "websiteUrl": "https://github.com/mario-andreschak/mcp-whatsapp-web",
  "icons": [
    {
      "src": "https://raw.githubusercontent.com/mario-andreschak/mcp-whatsapp-web/main/public/logo.png",
      "mimeType": "image/png",
      "sizes": [
        "391x389"
      ]
    }
  ],
  "packages": [
    {
      "registryType": "npm",
      "registryBaseUrl": "https://registry.npmjs.org",
      "identifier": "mcp-whatsapp-web",
      "version": "1.2.0",
      "runtimeHint": "npx",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "WhatsApp backend: webjs uses a persistent browser profile; baileys connects without a browser and requires separate pairing",
          "format": "string",
          "default": "webjs",
          "choices": [
            "webjs",
            "baileys"
          ],
          "name": "WHATSAPP_BACKEND"
        },
        {
          "description": "Baileys credentials and synchronized history directory (default: <working directory>/baileys-sessions). Use a private absolute path, owned by one server process.",
          "format": "filepath",
          "name": "BAILEYS_SESSION_DIR"
        },
        {
          "description": "Log level for the log file (logs/mcp-whatsapp.log)",
          "format": "string",
          "default": "info",
          "choices": [
            "trace",
            "debug",
            "info",
            "warn",
            "error",
            "fatal"
          ],
          "name": "LOG_LEVEL"
        },
        {
          "description": "Log level for stderr (visible in most MCP client logs)",
          "format": "string",
          "default": "warn",
          "choices": [
            "trace",
            "debug",
            "info",
            "warn",
            "error",
            "fatal"
          ],
          "name": "LOG_STDERR_LEVEL"
        },
        {
          "description": "webjs only: set to false to show the browser window instead of running headless",
          "format": "boolean",
          "name": "WHATSAPP_HEADLESS"
        },
        {
          "description": "webjs only: explicitly disable the browser sandbox for containers that require it. The sandbox is enabled by default.",
          "format": "boolean",
          "default": "false",
          "name": "WHATSAPP_NO_SANDBOX"
        },
        {
          "description": "webjs only: browser executable. Chrome and Edge are auto-detected; set this to use a specific browser. Chrome/Edge is required for sending videos and GIFs.",
          "format": "filepath",
          "name": "BROWSER_EXECUTABLE_PATH"
        },
        {
          "description": "webjs only: persistent browser profile directory (default: <working directory>/whatsapp-sessions)",
          "format": "filepath",
          "name": "WHATSAPP_SESSION_DIR"
        },
        {
          "description": "Phone number pairing: when set (international, symbol-free format, e.g. 4915112345678), an 8-character pairing code is logged to stderr on startup instead of relying on the QR code",
          "format": "string",
          "name": "WHATSAPP_PAIRING_PHONE_NUMBER"
        },
        {
          "description": "Path to an ffmpeg binary (only needed to override the ffmpeg installed automatically via the ffmpeg-static npm package)",
          "format": "filepath",
          "name": "FFMPEG_PATH"
        },
        {
          "description": "webjs only: pin the WhatsApp Web version if a WhatsApp-side update breaks the client.",
          "format": "string",
          "name": "WA_WEB_VERSION"
        },
        {
          "description": "webjs only: connection health check interval in milliseconds (<=0 disables)",
          "format": "number",
          "default": "60000",
          "name": "HEALTH_CHECK_INTERVAL_MS"
        },
        {
          "description": "How long tool calls wait for the WhatsApp client to become ready before erroring",
          "format": "number",
          "default": "45000",
          "name": "TOOL_READY_TIMEOUT_MS"
        },
        {
          "description": "When set, additionally exposes the MCP endpoint at http://127.0.0.1:<port>/mcp (Streamable HTTP) from the same process",
          "format": "number",
          "name": "MCP_HTTP_PORT"
        },
        {
          "description": "Bind address for the HTTP endpoint (do not expose publicly; the endpoint controls your personal WhatsApp account)",
          "format": "string",
          "default": "127.0.0.1",
          "name": "MCP_HTTP_HOST"
        },
        {
          "description": "Enable OAuth for the HTTP endpoint: /mcp requires a bearer token and clients authenticate via a browser page showing the WhatsApp QR code / pairing form",
          "format": "boolean",
          "name": "MCP_OAUTH"
        }
      ]
    }
  ]
}

权限

声明检测
运行代码—node
安装—npm:mcp-whatsapp-web@1.2.0
安装时运行脚本—无
网络无无
需要的凭据无无
工作区外的路径—无
智能体工具—无

检查

低风险 · 没有发现需要提醒的地方。

未经人工审核 · 已做规则检查;模型审核尚未开启。

版本

  1. #11.2.0最新2026年10月7日