Repository navigation
v0.6.0
Summary
tvplus-mcp-chatwoot v0.6.0 expands from 81 to 133 MCP tools organized in 5 modular API buckets. Each bucket is opt-in with environment flags and has independent safety controls.
Buckets
| Bucket | Tools | Enable Flag | Auth | Safe Mode |
|---|---|---|---|---|
| Core | 81 | Always on | CHATWOOT_API_TOKEN |
MCP_SAFE_MODE (14 blocked) |
| Public | 12 | MCP_ENABLE_PUBLIC_API=true |
inbox_identifier |
N/A |
| Platform | 17 | MCP_ENABLE_PLATFORM_API=true |
CHATWOOT_PLATFORM_API_TOKEN |
MCP_PLATFORM_SAFE_MODE (11 blocked) |
| Enterprise | 8 | MCP_ENABLE_ENTERPRISE=true |
CHATWOOT_API_TOKEN |
MCP_SAFE_MODE (3 blocked) |
| Help Center | 15 | MCP_ENABLE_HELP_CENTER=true |
CHATWOOT_API_TOKEN |
MCP_SAFE_MODE (3 blocked) |
What's New
New API Buckets
- Public API (12 tools): Widget/client-facing endpoints — contacts, conversations, messages using
inbox_identifierauth - Platform API (17 tools): Super-admin operations — accounts, users, global agent bots. Uses separate
CHATWOOT_PLATFORM_API_TOKEN - Enterprise (8 tools): Audit logs, reporting events, account-scoped agent bots
- Help Center (15 tools): Portal, article, and category management for knowledge bases
Safety & Guardrails
MCP_SAFE_MODE=true: Blocks 20 destructive tools across core, enterprise, and help center bucketsMCP_PLATFORM_SAFE_MODE=true(default ON): Blocks all 11 platform write/delete operations. Only read operations allowed by default- All blocked error messages include: tool name, flag, and how to unblock
Testing
- 240 tests across 9 test files (up from 169 in v0.5.0)
- Exhaustive safe mode guardrail tests for all 31 blocked tools
- Tool registration tests: counts, uniqueness, naming conventions, schema validity
- HTTP-level mocking with Vitest + nock
Documentation
docs/SCOPE.md— Complete tool inventory for all 5 bucketsdocs/PLATFORM_SECURITY.md— Security guide with deployment examplesdocs/ENTERPRISE.md— Enterprise endpoints documentation.env.example— All flags documentedscripts/smoke/live-smoke.ts— Read-only live smoke test (npm run smoke:live)
Upgrade Guide
No breaking changes — fully backward compatible
Existing setups (core-only) work without changes. New buckets are disabled by default.
New environment variables
# Optional buckets (all default to false/disabled)
MCP_ENABLE_PUBLIC_API=true
MCP_ENABLE_PLATFORM_API=true
CHATWOOT_PLATFORM_API_TOKEN=your-platform-token # Required if platform enabled
MCP_PLATFORM_SAFE_MODE=true # Default ON — blocks writes
MCP_ENABLE_ENTERPRISE=true
MCP_ENABLE_HELP_CENTER=trueSecurity
- Platform API uses a separate token (
CHATWOOT_PLATFORM_API_TOKEN) distinct from the application token - Platform Safe Mode is ON by default — only read operations allowed until explicitly disabled
- MCP_SAFE_MODE blocks destructive operations across core, enterprise, and help center
- No secrets in logs, commits, or release artifacts
- See PLATFORM_SECURITY.md for detailed security guide
Full Changelog: v0.2.0...v0.6.0