mcp-chatwoot
Provides tools for managing a Chatwoot instance through its APIs, including conversations, contacts, messages, agents, teams, inboxes, labels, canned responses, reports, webhooks, custom attributes, automation rules, custom filters, and optional Public, Platform, Enterprise, and Help Center endpoints.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mcp-chatwoot
MCP (Model Context Protocol) server for Chatwoot — manage conversations, contacts, messages, agents, teams, and more through AI tools.
Features
133 tools covering Chatwoot's Application, Public, Platform, Enterprise, and Help Center APIs
Modular buckets: Each API group is opt-in with environment flags
Multi-account: All tools accept an optional
account_idto target any accountDual transport: STDIO (Claude Desktop, Claude Code) and HTTP/SSE (remote access)
Docker ready: Multi-stage build with health checks
Session management: Multi-session HTTP with automatic cleanup
Safe mode: Block destructive operations at both Application and Platform API levels
Tested: Vitest + nock with 240 tests
Buckets Overview
Bucket | Tools | Enable Flag | Auth | Safe Mode |
Core | 81 | Always on |
|
|
Public | 12 |
|
| N/A |
Platform | 17 |
|
|
|
Enterprise | 8 |
|
|
|
Help Center | 15 |
|
|
|
Core Tools (81 — always enabled)
Category | Tools |
Health |
|
Contacts |
|
Contact Labels |
|
Conversations |
|
Messages |
|
Agents |
|
Teams |
|
Inboxes |
|
Inbox Members |
|
Labels |
|
Canned Responses |
|
Reports (v2) |
|
Webhooks |
|
Custom Attributes |
|
Automation Rules |
|
Custom Filters |
|
Integrations |
|
Profile |
|
Public API Tools (12 — MCP_ENABLE_PUBLIC_API=true)
Widget/client-facing API using inbox_identifier + contact_identifier for auth.
Category | Tools |
Contacts |
|
Conversations |
|
Messages |
|
Platform API Tools (17 — MCP_ENABLE_PLATFORM_API=true)
Super-admin operations. Requires separate CHATWOOT_PLATFORM_API_TOKEN. See docs/PLATFORM_SECURITY.md.
Category | Tools |
Accounts |
|
Agent Bots |
|
Users |
|
Account Users |
|
Enterprise Tools (8 — MCP_ENABLE_ENTERPRISE=true)
Admin and Enterprise-only endpoints. See docs/ENTERPRISE.md.
Category | Tools |
Audit Logs |
|
Reporting Events |
|
Account Agent Bots |
|
Help Center Tools (15 — MCP_ENABLE_HELP_CENTER=true)
Knowledge base management for portals, articles, and categories.
Category | Tools |
Portals |
|
Articles |
|
Categories |
|
Related MCP server: @indica-facil/mcp-chatwoot
Quick Start
Option A: Docker (recommended for production)
docker run -d \
-e CHATWOOT_BASE_URL=https://your-chatwoot.com \
-e CHATWOOT_API_TOKEN=your_token \
-e MCP_MODE=http \
-e AUTH_TOKEN=your_secret \
-p 3000:3000 \
ghcr.io/renatoascencio/mcp-chatwoot:latestOption B: Local install
1. Clone and build
git clone https://github.com/RenatoAscencio/mcp-chatwoot.git
cd mcp-chatwoot
npm install
npm run build2. Configure
cp .env.example .env
# Edit .env with your Chatwoot credentials:
# CHATWOOT_BASE_URL=https://your-chatwoot.com
# CHATWOOT_ACCOUNT_ID=1 (optional — omit to require account_id per tool call)
# CHATWOOT_API_TOKEN=your_tokenWhere to find your API token: In Chatwoot, go to Profile Settings → Access Token.
3. Run
STDIO mode (for Claude Desktop / Claude Code):
npm startHTTP mode (for remote access):
MCP_MODE=http AUTH_TOKEN=your_secret npm startClaude Desktop Configuration
Add to ~/.claude/mcp.json:
{
"mcpServers": {
"chatwoot": {
"command": "node",
"args": ["/path/to/mcp-chatwoot/dist/index.js"],
"env": {
"CHATWOOT_BASE_URL": "https://your-chatwoot.com",
"CHATWOOT_API_TOKEN": "your_api_token"
}
}
}
}Note:
CHATWOOT_ACCOUNT_IDis optional. When omitted, each tool call requiresaccount_idas a parameter, enabling multi-account usage from a single instance.
Enabling Optional Buckets
{
"mcpServers": {
"chatwoot": {
"command": "node",
"args": ["/path/to/mcp-chatwoot/dist/index.js"],
"env": {
"CHATWOOT_BASE_URL": "https://your-chatwoot.com",
"CHATWOOT_API_TOKEN": "your_api_token",
"MCP_ENABLE_PUBLIC_API": "true",
"MCP_ENABLE_ENTERPRISE": "true",
"MCP_ENABLE_HELP_CENTER": "true",
"MCP_ENABLE_PLATFORM_API": "true",
"CHATWOOT_PLATFORM_API_TOKEN": "your_platform_token",
"MCP_PLATFORM_SAFE_MODE": "false"
}
}
}
}Environment Variables
Variable | Required | Default | Description |
| Yes | — | Chatwoot instance URL |
| No | — | Default account ID (if omitted, |
| Yes | — | Application API access token |
| No |
| Transport mode: |
| No |
| HTTP server port |
| No | — | Bearer token for HTTP mode |
| No |
| Log level: |
| No |
| Block destructive Application API operations |
| No |
| Enable Public/Client API tools (12) |
| No |
| Enable Platform API tools (17) |
| No | — | Platform App API token (required if Platform enabled) |
| No |
| Block Platform API writes/deletes |
| No |
| Enable Enterprise/Niche tools (8) |
| No |
| Enable Help Center tools (15) |
Safety
Application API Safe Mode
When MCP_SAFE_MODE=true, blocks 14 destructive core tools plus 6 Enterprise/Help Center destructive tools. See docs/SCOPE.md for the full list.
Platform API Safe Mode
When MCP_PLATFORM_SAFE_MODE=true (default), blocks all 11 write/delete Platform API tools. Only read operations are allowed. See docs/PLATFORM_SECURITY.md for details.
Architecture
src/
├── index.ts # Entry point (STDIO/HTTP mode selection)
├── server.ts # MCP Server (STDIO transport)
├── http-server.ts # HTTP/SSE server with session management
├── api/
│ ├── client.ts # Application API client (81 + Enterprise + Help Center)
│ ├── public-client.ts # Public/Client API client
│ ├── platform-client.ts # Platform API client
│ └── types.ts # TypeScript interfaces
├── tools/
│ ├── definitions.ts # Core tool schemas (81 tools)
│ ├── handlers.ts # Core tool execution handlers
│ ├── public/ # Public API bucket
│ ├── platform/ # Platform API bucket
│ ├── enterprise/ # Enterprise/Niche bucket
│ └── helpcenter/ # Help Center bucket
└── utils/
├── config.ts # Environment configuration
└── logger.ts # Structured loggingDevelopment
# Dev with hot reload
npm run dev
# Dev in HTTP mode
npm run dev:http
# Type check
npm run lint
# Run tests
npm test
# Build
npm run buildMulti-Account Support
All Application API tools accept an account_id parameter. When CHATWOOT_ACCOUNT_ID is set, it serves as the default and account_id becomes optional. When not set, account_id is required on every tool call — this enables a single MCP instance to serve multiple Chatwoot accounts.
Documentation
docs/API_COVERAGE.md — Application API coverage matrix
docs/SCOPE.md — Tool scope and safe-mode behavior
docs/PLATFORM_SECURITY.md — Platform API security guide
docs/ENTERPRISE.md — Enterprise endpoints documentation
CHANGELOG.md — Release history
Docker
Pre-built multi-arch images (amd64 + arm64) are published to GitHub Container Registry on every release:
docker pull ghcr.io/renatoascencio/mcp-chatwoot:latest
docker run -d \
-e CHATWOOT_BASE_URL=https://your-chatwoot.com \
-e CHATWOOT_API_TOKEN=your_token \
-e MCP_MODE=http \
-e AUTH_TOKEN=your_secret \
-p 3000:3000 \
ghcr.io/renatoascencio/mcp-chatwoot:latestOr use docker-compose.yml from the repo as a starting point.
Contributing
Contributions are welcome. Please:
Fork the repository
Create a feature branch (
git checkout -b feature/my-feature)Run tests (
npm test) and ensure they passCommit with a descriptive message
Open a Pull Request
For larger changes, please open an issue first to discuss.
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect your AI agent to 300+ methods and 100+ live tools
Backend platform for AI agents: one agentstack.execute tool runs batched steps over +700 actions (hosting, storage, auth, payments, CRM, app builder).
Build, validate, deploy — HTTP APIs, cron jobs, webhooks and MCP tools — from your AI client.
Build, test and manage customer-facing AI voice and chat agents (web, WhatsApp, phone) from chat.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to manage Docker containers, execute commands inside them, and inspect container information through a minimalist set of tools supporting both stdio and HTTP transports.31MIT
- AlicenseNot gradedqualityDmaintenanceExposes the full Chatwoot API as 129 tools for AI assistants, enabling account, contact, conversation, message, inbox, team, report, help center, automation, and custom attribute management, plus exclusive Kanban and scheduled message features.5 npmMIT

Evo CRM MCPofficial
AlicenseBqualityBmaintenanceEnables assistants to read and modify contacts, conversations, messages, pipelines, tasks, inboxes, and AI agents through the CRM REST API, using separate read-only or read-write tool sets. Runs over local stdio or stateless Streamable HTTP with token-based scope separation.17MIT- AlicenseAqualityCmaintenanceEnables AI assistants to list and retrieve conversations, read and send messages or internal notes, and toggle conversation status through the Chatwoot API.5MIT