Skip to content
SocialMate
Knowledge base Developer API & automation

Connect Claude Desktop, Cursor or any MCP client

Give Claude Desktop, Cursor or any MCP client WhatsApp tools with socialmate-mcp: create a key in the app, paste the config, and what to check when the tools do not appear.

2 min read Updated November 27, 2026

socialmate-mcp is SocialMate’s Model Context Protocol server. It gives an AI client you already use — Claude Desktop, Cursor, Cline, a terminal coding tool — 59 WhatsApp tools: send and read messages, look up contacts, manage groups, and read the chat history as memory. It is open-source and published on npm. It connects on the Free plan too; what each tool may do follows your plan, exactly like the API (see below).

Set it up

  1. In the app, open API & Integrations → MCP.
  2. Choose your client and press Create key & copy config. This creates an API key, switches the local API server on, and copies a ready config with the key filled in. The key is shown once.
  3. Paste the config into your client’s MCP settings and restart the client.

The config runs npx -y socialmate-mcp with two environment variables: SOCIALMATE_API_KEY (the key you just created) and SOCIALMATE_BASE_URL (http://127.0.0.1:3456 when the client is on the same computer as SocialMate).

The WhatsApp tools do not appear

  • The local API server is off. It is off until you create a key. Open API & Integrations and check that the server shows as running. This is the most common cause.
  • SocialMate is not running. The tools talk to the app on your computer; if the app is closed, the client cannot reach it.
  • The client was not restarted. Most clients read their MCP config only at start-up.
  • The address is wrong. On the same computer it is always http://127.0.0.1:3456. For a client on another machine, use your public address (a tunnel or your server’s HTTPS address), not 127.0.0.1.
  • Node.js is missing. npx comes with Node.js; the client needs it installed to start the server.
  • “Connection refused” or “401”. Refused means nothing is listening at that address (the first two points). 401 means the key is wrong or was deleted — create a new one.

Will it reply to incoming messages by itself?

No. An MCP client acts when you ask it to; it does not wake up when a message arrives. To answer incoming messages automatically, use the n8n node with its message.received trigger, your own code on a webhook, or SocialMate’s built-in Claude Agent (Pro).

What works on Free and on Pro

The tools follow the same rules as the API. On Free: reading accounts, chats and contacts, and sending plain text. On Pro: sending media, working with groups, queueing scheduled messages, and reading the synced message history — the chat-history-as-memory tools.

Was this helpful?

Still stuck — open a ticket · Back to all articles

Free forever · no card Download free