Drive cig.chat from an AI assistant.
The official MCP server, connecting Claude, Cursor or any MCP client straight to your bot. Search subscribers, tag them, set custom fields, run flows, send WhatsApp templates, broadcast and manage the shop — in plain language.
Set up in three minutes
1. Get an API token
In cig.chat, open your bot → Settings → API. One token controls exactly one bot. It stays on your machine and is never sent anywhere except app.cig.chat.
2. Add the server
One command in Claude Code, or one entry in the Claude Desktop or Cursor config file.
3. Verify
Ask your assistant "which bot am I connected to?" — it calls cigchat_whoami and reports the account.
Per-client configuration
Claude Code
claude mcp add cigchat \
--env CIGCHAT_API_TOKEN=your-token-here \
-- npx -y @cig-chat/mcpClaude Desktop · Cursor
{
"mcpServers": {
"cigchat": {
"command": "npx",
"args": ["-y", "@cig-chat/mcp"],
"env": { "CIGCHAT_API_TOKEN": "your-token-here" }
}
}
}Safety
This server can send real messages and delete data, so it adds its own guards on top of your client’s approval prompt:
Named by risk
Every fan-out tool is cigchat_broadcast_*, every 1:1 send cigchat_send_*, so a single deny rule covers the whole class.
Confirmation step
Broadcast and destructive tools refuse the first call and return an audience estimate, an impact statement and a one-time token.
Token bound to arguments
The token is tied to a hash of the exact arguments — approval for a 12-person test cannot be replayed on a 50,000-person blast.
No blind retry
A rate-limited send is never retried automatically, because the messages may already have gone out.
Secrets masked
Third-party keys come back truncated, and your token never appears in any output.
The tools
Every cig.chat API operation is available as a tool. Narrow it to the toolsets you actually need.
| Toolset | Tools | Covers |
|---|---|---|
subscribers | 40 | Find, create and update subscribers; tags, labels, fields, opt-in state. |
flow | 43 | Sub-flows, tags, user fields, bot fields, shortcuts, closing notes, segments. |
conversations | 2 | Conversation history and agent activity. |
whatsapp | 8 | WhatsApp and Facebook utility message templates. |
messaging | 21 | Send to one subscriber, or broadcast to many. Handle with care. |
shop | 49 | Products, variants, types, vendors, tags, orders, discounts, locations, carts. |
team | 17 | Ticket lists, team labels and agent groups. |
ai | 13 | AI agents and tasks, provider settings, OpenAI embeddings. |
integrations | 30 | Third-party integration credentials and mini-apps. |
workspace | 17 | Workspace settings, members, analytics and account info. |
templates | 3 | Flow templates and one-time install links. |