WizMessage
Team inbox for WhatsApp Business: AI agents read chats, reply and send approved templates.
Serveur MCP hébergé
npx add-mcp 'https://wizmessage.com/mcp'S’installe dans Claude Code, Codex, Cursor et plus
Documentation
WizMessage MCP Server for AI Agents
1
What It Does
WizMessage runs a remote MCP (Model Context Protocol) server, so the AI assistants and agents you already use (ChatGPT, Claude, Cursor, Antigravity, VS Code, Codex, n8n and others) can work with your WhatsApp Business inbox in WizMessage. Your agent can read conversations, reply inside WhatsApp's 24-hour customer service window, send your approved message templates, and assign, close or mark conversations as read. WizMessage is built on the official WhatsApp Business Platform (Cloud API). WhatsApp is a trademark of Meta; WizMessage is not made or endorsed by WhatsApp.
2
Server Address and Sign-in
- Server URL: https://wizmessage.com/mcp (Streamable HTTP transport; MCP protocol versions from 2025-06-18 to 2026-07-28 are supported).
- Two ways to connect: sign in to WizMessage from the app (ChatGPT, Codex and Claude Code), or use the key of an AI agent (every other tool).
- Key: made on the AI Agents (MCP) page in WizMessage. Send it in an X-API-Key header, or as Authorization: Bearer followed by the key.
- Who can connect: only the workspace owner. An app that signed in works with the WhatsApp numbers you choose; a key works with one number.
- Plan: an active Wiz Bot or Wiz Pro plan.
3
Sign In, No Key Needed
For ChatGPT, Codex and Claude Code. The app opens WizMessage in your browser, you sign in, choose what it may do and press Allow.
- Check the page before you press Allow. All your WhatsApp numbers and everything the app asks for are ticked at first, Send messages included. Untick what it must not use or do.
- Continue only if you started this yourself just now. If somebody sent you the link, press Cancel.
- Sign in as the owner of the account, with your password or with Facebook. The app gets only numbers of your own account.
- You see the app under Apps that signed in on the AI Agents (MCP) page and on your profile page. Disconnect ends its access immediately.
- A connection also ends when you set a new password, when it is not used for 90 days, or when you connect a 21st app (the one used least recently goes).
ChatGPT (sign in)
Custom MCP server
- Open chatgpt.com/plugins in your browser, click the plus button and choose Add custom MCP server.
- Enter the name WizMessage and a short description. Under Connection, enter https://wizmessage.com/mcp. ChatGPT finds the sign-in by itself.
- Read the notice, tick I understand and want to continue and click Create as a plugin.
- Click Continue to WizMessage, sign in, check the numbers and permissions and press Allow.
- In a new chat, type @WizMessage and ask your question.
Your ChatGPT account or workspace decides whether custom MCP servers are allowed.
Codex (sign in)
Two commands
- Run codex mcp add wizmessage --url https://wizmessage.com/mcp.
- Run codex mcp login wizmessage. Your browser opens WizMessage.
- Sign in, check the numbers and permissions, tick I started this on this computer and press Allow.
- Start Codex and type /mcp to see the server.
Claude Code (sign in)
Two commands
- Run claude mcp add --transport http --scope user wizmessage https://wizmessage.com/mcp.
- Run claude mcp login wizmessage. Your browser opens WizMessage.
- Sign in, check the numbers and permissions, tick I started this on this computer and press Allow.
- Run claude mcp list. wizmessage should show as connected.
Do not add an Authorization header for this: with one, Claude Code does not sign in.
4
Create a Key for Your Agent
- In WizMessage, open AI Agents (MCP) in the menu and choose your tool. If you have more than one WhatsApp number, choose the number too.
- Choose what the agent may do. Reading is on (Read the inbox and View Templates) and everything under Can do is off: Send Text Messages, Send Media Messages, Send Template Messages and Assign and close conversations. Turn on only what your agent needs. You can change it later with Edit access.
- Click Create key. The key is shown only once, with a block for your tool that already has the key in it. Copy the block; the sections below say where it goes for each tool.
- Keep the key secret: anyone who has it can act on this number within the access you chose. If it leaks, pause or delete the agent on the same page. If you lose it, delete the agent and connect a new one.
- These keys work only on the MCP server. The WizMessage API and the Graph API refuse them. For those, create an API key in API Management.
5
Connect Your AI Client
With a key. For most of these tools, the AI Agents page gives you a block with your key already in it. For Cursor, Antigravity, VS Code, Codex and other coding tools, see the next section.
Claude (web, desktop and mobile)
Custom connector with a request header (beta)
- In Claude on the web or desktop, open Customize, then Connectors, click Add and choose Add custom connector. On Team and Enterprise plans, an Owner does this in Organization settings, Connectors.
- Enter the name WizMessage and the URL https://wizmessage.com/mcp, then click Continue.
- Choose No sign-in, even if another option is marked Detected.
- Open Request headers (in some accounts it is under Advanced). Choose x-api-key, paste your key as the value, mark it Required and click Add.
Request headers is a beta feature that not every Claude account has yet. If you do not see it, use Claude Code or the Claude Desktop steps below. To change the key later, remove the connector and add it again. The Free plan allows one custom connector. On Team and Enterprise plans, everyone in the organization uses this one key.
Claude Desktop without Request headers
Local configuration file
- Install Node.js 20.18.1 or newer from nodejs.org.
- In Claude Desktop, open Settings, Developer and click Edit Config. In newer versions, open Settings, Desktop app, click Manage next to Extensions and go to Local MCP servers.
- Quit Claude Desktop completely. Paste the block below into the file, replace YOUR_API_KEY with your key and save.
- Open Claude Desktop again. wizmessage should appear under Local MCP servers.
{
"mcpServers": {
"wizmessage": {
"command": "npx",
"args": [
"-y",
"[email protected]",
"https://wizmessage.com/mcp",
"--header",
"X-API-Key:${WIZMESSAGE_KEY}"
],
"env": {
"WIZMESSAGE_KEY": "YOUR_API_KEY"
}
}
}
}
This uses the open-source mcp-remote package, which is not made by WizMessage. It runs on your computer and handles your key. On some Windows computers, Edit Config opens a file that Claude does not read. If wizmessage does not appear, use Claude Code instead.
ChatGPT
Sign in instead of a key
ChatGPT on the web does not take a key: it signs in, see Sign In, No Key Needed above. The ChatGPT desktop app shares its MCP settings with Codex, so there you can also use a key: follow the Codex steps in the next section.
OpenAI API
Responses API and Agents SDK
Responses API: add a tool of type mcp with server_url set to https://wizmessage.com/mcp and authorization set to your key, without the word Bearer. Agents SDK: add an MCP server with the same URL and the header Authorization: Bearer YOUR_API_KEY.
n8n and other automation tools
MCP Client node or tool
- Add the MCP Client node or tool, choose the HTTP Streamable transport and enter the URL https://wizmessage.com/mcp.
- Choose header authentication with the header name X-API-Key and your key as the value.
6
Connect a Coding Tool
- A block copied from the AI Agents page already has your key. In the blocks below, replace YOUR_API_KEY with it. The key starts with pk_live_. Never paste a key into a chat.
- If the file already has other servers, add only the wizmessage part next to them.
- Put the key in your own settings file, never in a project file that goes to git. Commands you run stay in your terminal history.
- In the paths below, ~ is your home folder. On Windows that is C:\Users\YOUR_NAME. Create the file if it is missing.
- Keep tool approval on. Messages from your customers are untrusted text, and one could try to trick an agent that can run commands on your computer.
- To connect a second WhatsApp number, connect another agent for it and use another name in place of wizmessage, such as wizmessage-1234. The AI Agents page does this for you.
Claude Code
One command
- Replace YOUR_API_KEY in the command below and run it.
- Run claude mcp list. wizmessage should show as connected.
claude mcp add --transport http --scope user wizmessage https://wizmessage.com/mcp --header "Authorization: Bearer YOUR_API_KEY"
To start again, run claude mcp remove wizmessage --scope user first.
Cursor
mcp.json file
- Open ~/.cursor/mcp.json.
- Paste the block below, replace YOUR_API_KEY with your key and save.
- Open Customize in the Cursor sidebar and check that wizmessage is on.
{
"mcpServers": {
"wizmessage": {
"url": "https://wizmessage.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
Antigravity IDE and app
mcp_config.json file
- Click … at the top of the agent panel, then MCP Servers, Manage MCP Servers and View raw config.
- Paste the block below, replace YOUR_API_KEY with your key and save.
- Go back to Manage MCP Servers and check that wizmessage is listed.
{
"mcpServers": {
"wizmessage": {
"serverUrl": "https://wizmessage.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
Antigravity CLI
One command
- Replace YOUR_API_KEY in the command below and run it.
- Start agy and type /mcp to see the server.
agy mcp add --header "Authorization: Bearer YOUR_API_KEY" wizmessage https://wizmessage.com/mcp
VS Code (GitHub Copilot)
Copilot mcp-config.json file
- Open ~/.copilot/mcp-config.json. Do not use.vscode/mcp.json.
- Paste the block below, replace YOUR_API_KEY with your key and save.
- In the Copilot chat, choose Copilot as the session target. Run Chat: Open Customizations and check that wizmessage is listed under MCP Servers.
{
"mcpServers": {
"wizmessage": {
"type": "http",
"url": "https://wizmessage.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
"tools": [
"*"
]
}
}
}
To keep the key out of the file, set an environment variable named WIZMESSAGE_KEY and write Bearer ${WIZMESSAGE_KEY} in place of Bearer YOUR_API_KEY.
Codex (CLI, IDE and ChatGPT desktop)
config.toml file
- Open ~/.codex/config.toml.
- Paste the block below at the end of the file, replace YOUR_API_KEY with your key and save.
- Restart Codex and type /mcp to see the server.
[mcp_servers.wizmessage]
url = "https://wizmessage.com/mcp"
http_headers = { "Authorization" = "Bearer YOUR_API_KEY" }
Cline
MCP settings file
- Click the MCP Servers icon in the Cline panel, open Configure and click Configure MCP Servers.
- Paste the block below, replace YOUR_API_KEY with your key and save.
{
"mcpServers": {
"wizmessage": {
"type": "streamableHttp",
"url": "https://wizmessage.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
Zed
settings.json file
- Open the command palette and run zed: open settings file.
- Add the context_servers part below inside the outer { }, replace YOUR_API_KEY with your key and save.
- Open Settings, AI, MCP Servers and check that wizmessage is listed.
{
"context_servers": {
"wizmessage": {
"url": "https://wizmessage.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
opencode (version 2)
One command
- Replace YOUR_API_KEY in the command below and run it. The header uses an equals sign.
- Run opencode mcp list. wizmessage should show as connected.
opencode mcp add wizmessage --global --url https://wizmessage.com/mcp --header "Authorization=Bearer YOUR_API_KEY"
Other MCP clients
Devin Desktop (formerly Windsurf) and others
- Add a remote server with the details below.
URL: https://wizmessage.com/mcp
Transport: Streamable HTTP
Header: Authorization: Bearer YOUR_API_KEY
7
Check the Connection
Ask your agent one of these. The tools it can see depend on the access you gave it, up to 11.
- Which WhatsApp number is connected?
- Which message templates are approved? Needs View Templates.
- Show my unread conversations. Needs Read the inbox.
8
Tools
- list_whatsapp_numbers: the WhatsApp numbers this connection can use (one, for a key).
- list_conversations: inbox conversations, newest first, filtered by status, unread, assignment or a search term.
- get_conversation: the messages in one conversation, and until when a free-form reply is allowed.
- get_message_status: whether a sent message was delivered, read or failed, with the reason.
- list_team_members: teammates a conversation can be assigned to.
- update_conversation: assign a conversation, open or close it, or mark it as read.
- list_templates and get_template: your approved message templates, their language and the values they need.
- send_text_message: a free-form reply inside the 24-hour customer service window.
- send_media_message: an image, video, document or audio file from a public HTTPS link.
- send_template_message: an approved template, which can start or reopen a conversation.
9
Safety Limits
- An agent can start a conversation only with numbers that have messaged your business before, or with contacts a person on your team added. Unsubscribed and blocked contacts are never messaged.
- Free-form messages are allowed only inside WhatsApp's 24-hour customer service window. After that, only an approved template can be sent.
- Messages containing more than 3 phone numbers or email addresses, or a link shortener, are refused.
- Each key is limited to 120 requests a minute, 300 sent messages a day, and 300 conversation reads an hour. Each app that signed in is limited to 120 requests a minute; its sends and reads count for the whole account, all signed-in apps together.
- Text written by your contacts is returned marked as untrusted content, so your agent can treat it as data rather than as instructions.
- Messages an agent sends appear in your WizMessage inbox and mobile app like any other message, and your outbound webhooks receive them with source "mcp".
11
Troubleshooting
- 401 Unauthorized: the key is missing, mistyped, expired or deleted, or the agent is paused. An app that signed in has to sign in again.
- 403 Forbidden: the plan has ended, the WhatsApp number is not active, or the key was not made on the AI Agents (MCP) page.
- "Missing credentials" or "Unknown or unsupported access token": YOUR_API_KEY was not replaced, or the key is incomplete.
- The app asks you to sign in: in ChatGPT, Codex and Claude Code that is the normal way, so sign in. In every other tool the key was not sent or was refused: check the header name, and that the value is the word Bearer, a space and your key.
- "WizMessage does not know this app": this app cannot sign in yet. Use a key.
- No Request headers in Claude: look under Advanced. If it is not there, your account does not have the beta yet. Use Claude Code or the Claude Desktop steps.
- Only list_whatsapp_numbers appears: give the agent more access with Edit access on the AI Agents page. If the app signed in, disconnect it and sign in again with more permissions.
- Claude Desktop says "Server disconnected": the key was refused. If it says "spawn npx ENOENT", install Node.js from nodejs.org and restart your computer.
- "The 24-hour window is closed": the contact has not written to you in the last 24 hours. Send an approved template instead.
- 429 Too Many Requests: a rate limit was reached. Wait for the time in the Retry-After header.
- Payment error from WhatsApp (131042): Meta reports a problem with the payment method on your WhatsApp Business account. Add or fix it in Meta Business Settings, then clear the send block in WizMessage.
12
Support
Questions or problems with the MCP server: email [email protected] with the time of the request and the tool name. Never include your API key.
Contact Us
[
[email protected]
Website
](https://www.bethtechnologies.com/)
Company
BETH TECHNOLOGIES
Address
1st Floor, 302/A(10) & 302/A(11), Olimala Tower, Ernakulam Thekkady Road, Noorul Hudha Jumah Masjid, Vazhappily, Muvattupuzha, Ernakulam, Kerala 686673, India. Phone: +91 85906 13617