ChatRail MCP server
OfficialProvides tools for managing a WhatsApp workspace via ChatRail, including checking connection health, listing groups, inspecting message delivery and failures, managing scheduled messages, reacting to messages, and replaying webhook deliveries.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ChatRail MCP servercheck the health of our WhatsApp connections"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ChatRail MCP server
Operate a ChatRail workspace from Claude, Cursor, VS Code and any other Model Context Protocol client. Check the health of your WhatsApp connections, look up groups, trace why a message failed, manage scheduled messages and replay webhook deliveries without leaving your editor.
ChatRail is a WhatsApp API for developers: send and receive WhatsApp messages over HTTP from a number you already have. See the MCP documentation for the full reference.
Privacy by design
Message bodies, recipient phone numbers and credentials are never returned by any tool.
Tools that change state return a preview first and apply only when called again with
confirm: true.Every call is scoped to one workspace and recorded in its audit log.
Related MCP server: WhatsApp MCP
Two ways to connect
1. Hosted server with OAuth (recommended)
Point any client that supports remote MCP servers at:
https://www.chatrail.dev/v1/mcpYour client opens a browser window where a workspace owner, admin or developer approves access. Nothing to install and no key to copy.
Claude Code
claude mcp add --transport http chatrail https://www.chatrail.dev/v1/mcpCursor (~/.cursor/mcp.json)
{
"mcpServers": {
"chatrail": { "url": "https://www.chatrail.dev/v1/mcp" }
}
}VS Code (.vscode/mcp.json)
{
"servers": {
"chatrail": { "type": "http", "url": "https://www.chatrail.dev/v1/mcp" }
}
}2. Local stdio server with an API key
For clients that only run local servers, or when you would rather use an API key. This package runs on your machine and forwards requests to the hosted server.
In the ChatRail dashboard, create a workspace API key with the
mcp:readscope. Addmcp:writeif the assistant may reschedule, cancel, react or replay.Add the server to your client.
Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"chatrail": {
"command": "npx",
"args": ["-y", "github:chatrail/chatrail_mcp"],
"env": { "CHATRAIL_API_KEY": "cr_live_..." }
}
}
}Docker
docker build -t chatrail-mcp .
docker run -i --rm -e CHATRAIL_API_KEY=cr_live_... chatrail-mcpVariable | Required | Description |
| Yes, to call tools | Workspace API key with |
| No | Override the endpoint. Defaults to |
Without a key the server still starts and lists its tools, so you can inspect it before signing up.
Tools
Tool | Scope | What it does |
| read | Every WhatsApp connection in the workspace with its state and health. |
| read | One connection with its state, health and recent state history. |
| read | Groups visible to a connected number, with ids and participant counts. |
| read | Name, description, settings and member counts for one group. |
| read | Recent messages with their delivery state. |
| read | One message and its delivery timeline. |
| read | A structured explanation of why a message failed. |
| read | Messages waiting to be sent, soonest first. |
| read | Recent webhook deliveries and their outcomes. |
| write | Change when a scheduled message is sent. Previews first. |
| write | Cancel a message that has not been sent. Previews first. |
| write | Set or remove an emoji reaction on a message. Previews first. |
| write | Requeue a dead or skipped webhook delivery. Previews first. |
Plans
MCP access is included on the ChatRail Core + AI and Team plans. See pricing.
Development
npm install
npm run build
CHATRAIL_API_KEY=cr_test_... node dist/index.jstools.json is the tool catalog served when no API key is configured. It is exported from the
hosted server and should be refreshed when the hosted tools change.
Links
Website: https://www.chatrail.dev
MCP docs: https://www.chatrail.dev/mcp
API reference: https://www.chatrail.dev/api-reference
Authentication: https://www.chatrail.dev/auth.md
License
This server cannot be deployed
Maintenance
Related MCP Connectors
Manage SRG+ hubs, channels, content, assets, users, and workspaces from any MCP-aware AI agent.
WhatsMCP connects Claude and other MCP-compatible AI agents directly to WhatsApp. Send and receive text, images, documents, and voice notes; manage groups (create, add/remove members, promote admins); look up contacts and profiles; follow channels; and read call and message history — all through a standard MCP interface. For voice use cases, WhatsMCP offers SIP-based calling plans (inbound-only, or full inbound/outbound) so AI voice agents can answer and place WhatsApp calls, plus low-latency WebSocket integrations with voice agent providers like ElevenLabs. Multiple WhatsApp accounts can be paired and managed per workspace, with webhook support for real-time inbound message delivery to your own infrastructure.
WhatsApp (Web + Business API), SMS, contacts, and call records via 2Chat's MCP server.
Hosted MCP memory and agent control plane for durable conversations, jobs, and operations.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables sending messages, managing templates, uploading media, and configuring webhooks for WhatsApp Business via the MCP protocol.10 npm5MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to list, read, search, and send WhatsApp messages via a persistent WebSocket connection with local SQLite storage.35 npmAGPL 3.0
- AlicenseNot gradedqualityCmaintenanceEnables AI-driven customer support operations including conversation management, knowledge base, contacts, metrics, and settings via MCP.MIT
- AlicenseNot gradedqualityAmaintenanceEnables MCP clients to read, search, and send WhatsApp messages with a server-enforced send gate for safety.2MIT