ChatRail logo

ChatRail

Inspect WhatsApp connections, groups, delivery failures, schedules, reactions, and webhook deliveries through MCP.

Install ChatRail

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "chatrail": {
      "command": "npx",
      "args": [
        "-y",
        "chatrail-mcp"
      ],
      "env": {
        "CHATRAIL_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

The install command started, but didn't respond the way we expected when we tried to talk to it.

npx -y chatrail-mcp

MCP error -32600: ChatRail rejected the API key. Check that CHATRAIL_API_KEY is a current workspace key.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

ChatRail MCP server connects MCP clients to a ChatRail workspace for inspecting WhatsApp connections, groups, messages, schedules, and webhook deliveries. It supports a hosted OAuth endpoint or a local stdio package that forwards requests to the hosted service. Read tools inspect workspace state, while write tools preview changes before confirmation. Reach for it when an agent needs WhatsApp operational visibility without exposing message bodies or recipient phone numbers.

Use cases

  • Inspect WhatsApp connection health
  • Trace failed message delivery
  • Review pending scheduled messages
  • Replay failed webhook deliveries
  • Manage scheduled messages and reactions

Key features

  • WhatsApp connection and group inspection
  • Message delivery timelines and failure explanations
  • Scheduled message management
  • Webhook delivery review and replay
  • OAuth-hosted and API-key stdio modes
  • Preview-before-confirmation write actions

Tools13

What ChatRail lets your agent do. Expand a tool for its parameters.

Self-reported~236 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

12/12 checks healthy over the last 48d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · chatrail-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads60Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Install checkInconclusiveStarted but did not complete the MCP handshake in our test.
Tools exposed13Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How ChatRail works

What ChatRail MCP server does

ChatRail MCP server gives an MCP client read access to operational data in a ChatRail workspace. ChatRail is a WhatsApp API that sends and receives messages over HTTP using an existing number, while this MCP server focuses on workspace inspection and selected management actions.

Available information includes WhatsApp connection state and health, recent connection history, groups and participant counts, message delivery state, delivery timelines, scheduled messages, and webhook delivery outcomes. The server can also explain structured reasons for message failures.

Message bodies, recipient phone numbers, and credentials are not returned by tools. Each call is scoped to one workspace and recorded in its audit log. Sending messages is outside this MCP server; the accompanying agent skill directs agents to the REST API for that operation.

How it works

There are two connection modes. The hosted server uses the streamable HTTP endpoint at https://www.chatrail.dev/v1/mcp and OAuth. A client opens a browser so a workspace owner, admin, or developer can approve access. This mode requires no local package installation or copied API key.

The local option runs the chatrail-mcp npm package over stdio. It forwards MCP requests to the hosted endpoint and authenticates with a workspace API key. Docker can run the same local server. When no key is configured, the process can still start and expose its tool catalog, but authenticated tool calls are unavailable.

State-changing operations use a confirmation step. Rescheduling or canceling a scheduled message, changing a reaction, or replaying a webhook first returns a preview; the operation is applied only when called again with confirm: true.

Setup and configuration

For the hosted mode, configure an MCP client with the service URL. Claude Code, Cursor, and VS Code examples are provided by the project. For local stdio mode, create a ChatRail workspace API key with mcp:read; add mcp:write if the agent needs to reschedule, cancel, react, or replay.

The npm package can be launched with npx -y chatrail-mcp. Docker users can build the repository image and pass CHATRAIL_API_KEY at runtime. CHATRAIL_MCP_URL is optional and overrides the default hosted endpoint. The MCP features are included on ChatRail Core + AI and Team plans.

Tools and capabilities

ChatRail MCP server provides these read tools:

  • list_connections and get_connection for connection state, health, and recent state history.
  • list_whatsapp_groups and get_whatsapp_group for group details and member counts.
  • list_messages, get_message, and explain_message_failure for delivery records and failure analysis.
  • list_scheduled_messages for pending messages in sending order.
  • list_webhook_deliveries for recent webhook results.

Write tools include reschedule_message, cancel_scheduled_message, react_to_message, and replay_webhook. These actions require write scope and confirmation after the preview.

Limitations and notes

The server does not send WhatsApp messages. Use the ChatRail REST API for sending. Write access is separate from read access and should be granted only when needed. The hosted and local modes both operate against a ChatRail workspace, rather than providing an independent WhatsApp connection layer. The project also publishes an agent skill describing setup and sending rules; it can be installed from the repository or referenced from ChatRail's canonical skill URL.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about ChatRail

ChatRail is an MCP server that connects AI clients to a ChatRail workspace and its WhatsApp operations. Its main tools inspect connections, groups, messages, delivery failures, scheduled messages, and webhook deliveries, with additional tools to reschedule, cancel, react, or replay after confirmation.

Install it locally with `npx -y chatrail-mcp`, or configure an MCP client to use the hosted endpoint at `https://www.chatrail.dev/v1/mcp`. Docker is also supported. Local use requires a workspace API key for authenticated tool calls.

Yes, ChatRail works with Cursor through its hosted MCP URL. Add `https://www.chatrail.dev/v1/mcp` to Cursor's MCP configuration, then complete the browser-based OAuth approval flow.

Read-only use requires the `mcp:read` scope. Add `mcp:write` when the agent must reschedule or cancel scheduled messages, change reactions, or replay webhook deliveries.

No, the MCP server cannot send messages. Use the ChatRail REST API for sending; the published agent skill explains when to use that API and the required sending rules.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewChatRail AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/chatrail?style=directory)](https://allmcps.com/mcp/chatrail)
HTML Embed
<a href="https://allmcps.com/mcp/chatrail"><img src="https://allmcps.com/api/badge/chatrail?style=directory" alt="ChatRail on AllMCPs" /></a>