Skip to main content

2Chat MCP

The 2Chat MCP server lets any AI assistant (Claude, Cursor or any other MCP-Compatible client) send messages to WhatsApp (using your connected number to 2Chat), manage your WhatsApp Business Templates, manage contacts, etc.

Authentication

All requests use your 2Chat API key as an HTTP header:

HeaderValue
X-User-API-KeyYour API key
tip

You can generate a new API key here.

Configure your client

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
"mcpServers": {
"2chat": {
"url": "https://mcp.2chat.io/mcp",
"headers": {
"X-User-API-Key": "YOUR_API_KEY"
}
}
}
}

Restart Claude Desktop after saving.

Cursor

Go to Settings → MCP and add:

{
"name": "2chat",
"url": "https://mcp.2chat.io/mcp",
"headers": {
"X-User-API-Key": "YOUR_API_KEY"
}
}

Other clients

ParameterValue
Server URLhttps://mcp.2chat.io/mcp
Auth headerX-User-API-Key: YOUR_API_KEY

Verify

Once connected, ask your AI assistant:

"List my connected 2Chat WhatsApp channels."

If it responds with your channel list, the connection is working.