דלג לתוכן הראשי
@cig-chat/mcp v0.1.0

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.

Install itTool reference

243
API operations
11
toolsets
3+
supported clients

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/mcp

Claude Desktop · Cursor

{
  "mcpServers": {
    "cigchat": {
      "command": "npx",
      "args": ["-y", "@cig-chat/mcp"],
      "env": { "CIGCHAT_API_TOKEN": "your-token-here" }
    }
  }
}
The token is yours. The server ships with no credentials and sends your token nowhere except app.cig.chat.

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.

Your MCP client’s approval prompt is the real gate. Do not auto-approve cigchat_broadcast_* tools.

The tools

Every cig.chat API operation is available as a tool. Narrow it to the toolsets you actually need.

ToolsetToolsCovers
subscribers40Find, create and update subscribers; tags, labels, fields, opt-in state.
flow43Sub-flows, tags, user fields, bot fields, shortcuts, closing notes, segments.
conversations2Conversation history and agent activity.
whatsapp8WhatsApp and Facebook utility message templates.
messaging21Send to one subscriber, or broadcast to many. Handle with care.
shop49Products, variants, types, vendors, tags, orders, discounts, locations, carts.
team17Ticket lists, team labels and agent groups.
ai13AI agents and tasks, provider settings, OpenAI embeddings.
integrations30Third-party integration credentials and mini-apps.
workspace17Workspace settings, members, analytics and account info.
templates3Flow templates and one-time install links.

Tool reference

Resources

בואו נתחיל