A native WhatsApp MCP server for Claude, Cursor and any agent
SocialMate ships a native Model Context Protocol server so Claude Desktop, Cursor and any MCP client can control WhatsApp as tools: send, read, contacts, groups and conversation memory. Self-hosted, no Business API.
SocialMate speaks the open Model Context Protocol. Its native socialmate-mcp server lets Claude Desktop, Cursor, Cline — any MCP client — control WhatsApp as native tools: send and read messages, look up contacts, manage groups, queue batches of personalised messages and recall whole conversations. It runs on your own machine with your own number, and every tool call flows through the same anti-ban, scope and tier gates as the API, so an agent can never bypass a limit.
Connect WhatsApp to Claude via MCP
- Turn on the local API server. In the SocialMate app → API & Integrations, switch the local API server on. It is off by default, and the MCP server talks to it — so nothing works until it is running.
- Create an API key. Still in API & Integrations → API Keys, create a key. Its scope (read / send / admin) and your license tier decide which tools work. Copy it now — it is shown once.
- Add the MCP server to your client. For Claude Desktop or Cursor, add a server to claude_desktop_config.json that runs: npx -y socialmate-mcp, with SOCIALMATE_API_KEY and SOCIALMATE_BASE_URL in its env. For Claude Code, run: claude mcp add socialmate --env SOCIALMATE_API_KEY=sm_xxx --env SOCIALMATE_BASE_URL=http://127.0.0.1:3456 -- npx -y socialmate-mcp. There is nothing to install — npx fetches the package on first run.
- Restart the client. Reopen Claude Desktop / Cursor and the WhatsApp tools appear in the tool list. On Claude Code, run claude mcp list to confirm it connected.
- Talk to your WhatsApp. Ask the agent to message a contact, summarise a chat, or look someone up — it calls the SocialMate tools directly.
Connect it in two minutes
Nothing to install globally — npx fetches the server on first run. Paste your own API key from the app where the placeholder is.
Claude Desktop · Cursor · Cline — claude_desktop_config.json
{
"mcpServers": {
"socialmate": {
"command": "npx",
"args": ["-y", "socialmate-mcp"],
"env": {
"SOCIALMATE_API_KEY": "sm_paste_your_api_key_here",
"SOCIALMATE_BASE_URL": "http://127.0.0.1:3456"
}
}
}
}
Claude Code — one command
claude mcp add socialmate \
--env SOCIALMATE_API_KEY=sm_paste_your_api_key_here \
--env SOCIALMATE_BASE_URL=http://127.0.0.1:3456 \
-- npx -y socialmate-mcp
Keep the -y: without it npx can stop to ask you to confirm the install — inside an MCP client, where there is no terminal to answer it, so the server never starts.
How SocialMate compares
| Capability | SocialMate This is us | WAHA | Evolution API | Twilio (Cloud API) |
|---|---|---|---|---|
| Self-hosted, your own number | Yes | Yes | Yes | No |
| No WhatsApp Business API / approval | Yes | Yes | Yes | No |
| No per-message fees | Yes | Yes | Yes | No |
| Native n8n node (usableAsTool) | Yes | Partial | Partial | Yes |
| Native MCP server | Yes | Yes | No | No |
| Conversation-memory tool for agents | Yes | No | No | No |
| Anti-ban engine | Yes | No | No | n/a |
| Smart queue + scheduling | Yes | Partial | Partial | Partial |
SocialMate automates the WhatsApp app on your own machine. It is not the official WhatsApp Business API and is not affiliated with WhatsApp or Meta. Provider capabilities change — verify current details with each provider.
Frequently asked questions
Is there a WhatsApp MCP server?
How do I connect WhatsApp to Claude Desktop?
How do I connect WhatsApp to Claude Code?
Do I need to install anything?
Do I need to turn anything on in SocialMate?
Does it use the WhatsApp Business API?
Can the AI bypass rate limits over MCP?
Can a Claude or Cursor agent auto-reply when a message arrives?
Local only, or remote too?
Give your AI a WhatsApp
Self-hosted on your own machine and number — no WhatsApp Business API, no per-message fees. Free to start.