M

Messaging MCP

by pinlyx.com · com.pinlyx/messaging-mcp

Self-hosted MCP server that lets an AI assistant read and answer WhatsApp, Instagram, Messenger and Telegram conversations through the official APIs, and refuses a send the platform would reject, such as one outside the 24 hour reply window.

Messaging MCP is a local (stdio) MCP server by pinlyx.com in the APIs category. It runs with npx -y messaging-mcp, declares 6 secret settings, and is listed in 2 registries.

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": {
    "com-pinlyx-messaging-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "messaging-mcp"
      ],
      "env": {
        "WHATSAPP_ACCESS_TOKEN": "<YOUR_VALUE>",
        "WHATSAPP_PHONE_NUMBER_ID": "<VALUE>",
        "WHATSAPP_BUSINESS_ACCOUNT_ID": "<VALUE>",
        "META_APP_SECRET": "<YOUR_VALUE>",
        "META_VERIFY_TOKEN": "<YOUR_VALUE>",
        "MESSENGER_PAGE_ACCESS_TOKEN": "<YOUR_VALUE>",
        "MESSENGER_PAGE_ID": "<VALUE>",
        "INSTAGRAM_ACCESS_TOKEN": "<YOUR_VALUE>",
        "INSTAGRAM_ACCOUNT_ID": "<VALUE>",
        "TELEGRAM_BOT_TOKEN": "<YOUR_VALUE>",
        "MESSAGING_MCP_DB": "<VALUE>",
        "INSTAGRAM_API_HOST": "<VALUE>"
      }
    }
  }
}

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": {
    "com-pinlyx-messaging-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "messaging-mcp"
      ],
      "env": {
        "WHATSAPP_ACCESS_TOKEN": "<YOUR_VALUE>",
        "WHATSAPP_PHONE_NUMBER_ID": "<VALUE>",
        "WHATSAPP_BUSINESS_ACCOUNT_ID": "<VALUE>",
        "META_APP_SECRET": "<YOUR_VALUE>",
        "META_VERIFY_TOKEN": "<YOUR_VALUE>",
        "MESSENGER_PAGE_ACCESS_TOKEN": "<YOUR_VALUE>",
        "MESSENGER_PAGE_ID": "<VALUE>",
        "INSTAGRAM_ACCESS_TOKEN": "<YOUR_VALUE>",
        "INSTAGRAM_ACCOUNT_ID": "<VALUE>",
        "TELEGRAM_BOT_TOKEN": "<YOUR_VALUE>",
        "MESSAGING_MCP_DB": "<VALUE>",
        "INSTAGRAM_API_HOST": "<VALUE>"
      }
    }
  }
}

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": {
    "com-pinlyx-messaging-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "messaging-mcp"
      ],
      "env": {
        "WHATSAPP_ACCESS_TOKEN": "<YOUR_VALUE>",
        "WHATSAPP_PHONE_NUMBER_ID": "<VALUE>",
        "WHATSAPP_BUSINESS_ACCOUNT_ID": "<VALUE>",
        "META_APP_SECRET": "<YOUR_VALUE>",
        "META_VERIFY_TOKEN": "<YOUR_VALUE>",
        "MESSENGER_PAGE_ACCESS_TOKEN": "<YOUR_VALUE>",
        "MESSENGER_PAGE_ID": "<VALUE>",
        "INSTAGRAM_ACCESS_TOKEN": "<YOUR_VALUE>",
        "INSTAGRAM_ACCOUNT_ID": "<VALUE>",
        "TELEGRAM_BOT_TOKEN": "<YOUR_VALUE>",
        "MESSAGING_MCP_DB": "<VALUE>",
        "INSTAGRAM_API_HOST": "<VALUE>"
      }
    }
  }
}

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": {
    "com-pinlyx-messaging-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "messaging-mcp"
      ],
      "env": {
        "WHATSAPP_ACCESS_TOKEN": "<YOUR_VALUE>",
        "WHATSAPP_PHONE_NUMBER_ID": "<VALUE>",
        "WHATSAPP_BUSINESS_ACCOUNT_ID": "<VALUE>",
        "META_APP_SECRET": "<YOUR_VALUE>",
        "META_VERIFY_TOKEN": "<YOUR_VALUE>",
        "MESSENGER_PAGE_ACCESS_TOKEN": "<YOUR_VALUE>",
        "MESSENGER_PAGE_ID": "<VALUE>",
        "INSTAGRAM_ACCESS_TOKEN": "<YOUR_VALUE>",
        "INSTAGRAM_ACCOUNT_ID": "<VALUE>",
        "TELEGRAM_BOT_TOKEN": "<YOUR_VALUE>",
        "MESSAGING_MCP_DB": "<VALUE>",
        "INSTAGRAM_API_HOST": "<VALUE>"
      }
    }
  }
}

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": {
    "com-pinlyx-messaging-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "messaging-mcp"
      ],
      "env": {
        "WHATSAPP_ACCESS_TOKEN": "<YOUR_VALUE>",
        "WHATSAPP_PHONE_NUMBER_ID": "<VALUE>",
        "WHATSAPP_BUSINESS_ACCOUNT_ID": "<VALUE>",
        "META_APP_SECRET": "<YOUR_VALUE>",
        "META_VERIFY_TOKEN": "<YOUR_VALUE>",
        "MESSENGER_PAGE_ACCESS_TOKEN": "<YOUR_VALUE>",
        "MESSENGER_PAGE_ID": "<VALUE>",
        "INSTAGRAM_ACCESS_TOKEN": "<YOUR_VALUE>",
        "INSTAGRAM_ACCOUNT_ID": "<VALUE>",
        "TELEGRAM_BOT_TOKEN": "<YOUR_VALUE>",
        "MESSAGING_MCP_DB": "<VALUE>",
        "INSTAGRAM_API_HOST": "<VALUE>"
      }
    }
  }
}

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": {
    "com-pinlyx-messaging-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "messaging-mcp"
      ],
      "env": {
        "WHATSAPP_ACCESS_TOKEN": "<YOUR_VALUE>",
        "WHATSAPP_PHONE_NUMBER_ID": "<VALUE>",
        "WHATSAPP_BUSINESS_ACCOUNT_ID": "<VALUE>",
        "META_APP_SECRET": "<YOUR_VALUE>",
        "META_VERIFY_TOKEN": "<YOUR_VALUE>",
        "MESSENGER_PAGE_ACCESS_TOKEN": "<YOUR_VALUE>",
        "MESSENGER_PAGE_ID": "<VALUE>",
        "INSTAGRAM_ACCESS_TOKEN": "<YOUR_VALUE>",
        "INSTAGRAM_ACCOUNT_ID": "<VALUE>",
        "TELEGRAM_BOT_TOKEN": "<YOUR_VALUE>",
        "MESSAGING_MCP_DB": "<VALUE>",
        "INSTAGRAM_API_HOST": "<VALUE>"
      }
    }
  }
}

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
WHATSAPP_ACCESS_TOKEN secret No WhatsApp Cloud API access token.
WHATSAPP_PHONE_NUMBER_ID No WhatsApp Cloud API phone number ID.
WHATSAPP_BUSINESS_ACCOUNT_ID No WhatsApp Business Account ID, used only for template listing.
META_APP_SECRET secret No Meta app secret used to verify webhook signatures.
META_VERIFY_TOKEN secret No Meta webhook verification token.
MESSENGER_PAGE_ACCESS_TOKEN secret No Messenger page access token.
MESSENGER_PAGE_ID No Messenger page ID.
INSTAGRAM_ACCESS_TOKEN secret No Instagram access token.
INSTAGRAM_ACCOUNT_ID No Instagram account ID.
TELEGRAM_BOT_TOKEN secret No Telegram Bot API token.
MESSAGING_MCP_DB No Storage path for the local database. Defaults to your user data folder.
INSTAGRAM_API_HOST No Instagram API host. Defaults to the Instagram API with Instagram Login; can be set to https://graph.facebook.com to use Facebook Login tokens.

Similar servers