
Chatwoot CLI
CLIChatwoot 官方命令行:客服可让 AI 查看和搜索会话、回复客户、写内部备注、分配处理人、打标签、改优先级和结单,并查询帮助中心文章;自带 agent 技能,规定发出客户可见回复前的安全规则。需要 Chatwoot 账号(云服务或自部署)与 API Key。
Chatwoot CLI
CLI for Chatwoot — manage conversations, send replies, and run common workflows from your terminal.
Install
macOS / Linux — install script (detects OS/arch, fetches the matching release binary, verifies SHA256):
curl -fsSL https://chwt.app/install-cli | sh
For a specific version or Windows, see the install docs.
Setup
chatwoot auth login
You'll be prompted for your Base URL, API Key, and Account ID. Credentials are validated before saving. Non-secret config lives at ~/.chatwoot/config.yaml; the API key is stored in your OS keyring. For CI or headless environments, set CHATWOOT_API_KEY to override the keyring.
Agent Skill
If you use Claude Code, Cursor, or another AI coding assistant, install the agent skill so it knows the CLI's grammar and safety rules before sending customer-visible replies:
npx skills add chatwoot/cli # current project
npx skills add chatwoot/cli --global # all projects
See the agent skill docs for details.
Usage
The CLI uses a simple noun grammar:
- Plural noun = list:
chatwoot convs,chatwoot contacts,chatwoot agents <noun> <id>views:chatwoot conv 123<noun> <id> <verb>acts:chatwoot conv 123 reply "thanks"— id before verb, the way you'd say it.
chatwoot convs # Open conversations assigned to you
chatwoot convs --assignee all --inbox 5 # All conversations in inbox 5
chatwoot convs --query "refund" # Search by message content
chatwoot conv 123 # View
chatwoot conv 123 reply "Looking into it"
chatwoot conv 123 reply "internal note" --private
chatwoot conv 123 resolve # Or: open, pending, snooze
chatwoot conv 123 assign --agent me # Or: --agent alice, --agent 42, --team 7
chatwoot conv 123 label billing,urgent
chatwoot conv 123 priority urgent # urgent | high | medium | low | none
chatwoot contacts --search "john"
chatwoot contact 456 conversations
chatwoot inboxes / agents / labels / teams # List
chatwoot me # Your profile
chatwoot hcs # List help centers
chatwoot hc default chatwoot-support # Save default help center and locale
chatwoot hc articles --query "account"
chatwoot hc articles --category getting-started
chatwoot hc article create-a-agent-bot
chatwoot hc articles --portal other-help-center --locale fr
chatwoot api /conversations/123 # Expands to /api/v1/accounts/<id>/conversations/123
chatwoot api -X PATCH /conversations/123 --data '{"status":"open"}'
Run chatwoot --help or see the full command reference.
Output Formats
-o text (default), -o json, -o csv, or -q (IDs only, for scripting):
chatwoot convs -o json | jq '.data.payload[].id'
chatwoot convs -q | xargs -I{} chatwoot conv view {}
For piping, batching, and CI workflows, see the scripting guide.
License
MIT
相關資源

Intercom CLI (Printing Press)
CLI社区用 Printing Press 生成的 Intercom 命令行(非官方),覆盖全部 REST 接口:客服团队可让 AI 把会话、联系人和帮助文章同步到本地离线搜索,批量给同一事件的会话打标签,查看客户全景与 SLA 报告,拉取或推送帮助文章;支持美国、欧洲、澳洲区域。需要 Intercom 账号与访问令牌。
mvanhorn/printing-press-library2.1k
Salesforce Service Engagement
PluginSalesforce 官方插件:帮客服系统管理员配置 Service Cloud 的网页聊天、消息、WhatsApp 和 Email-to-Case 渠道,把 Agentforce 客服机器人接入渠道并设置转人工。需要 Salesforce 组织的管理权限,本机装好并登录 Salesforce CLI(sf),另需 Python。
forcedotcom/sf-skills1.1k
Zendesk MCP Server
MCP让 agent 查看、创建和更新 Zendesk 工单与评论,读取帮助中心文章作为知识库,并内置工单分析与回复起草提示词。每位客服用自己的账号 OAuth 授权,需管理员先注册 OAuth 客户端,从源码安装。
reminia/zendesk-mcp-server123
Discourse MCP
MCPDiscourse 官方 MCP:让 agent 搜索和阅读论坛主题与帖子、查看分类和用户,默认只读,读公开论坛无需账号;配置站点 API Key 并加 --allow_writes 参数后才能发帖、回帖,适合社区运营和客服整理常见问题。需要 Node.js 24 及以上。
discourse/discourse-mcp76
Help Scout MCP Server
MCP让 agent 搜索 Help Scout 会话,查看客户与组织的完整往来记录并拉取满意度等报表,另配 Docs API Key 后可检索知识库;起草回复、内部备注、打标签等写操作默认关闭,需手动开启。需在 Help Scout 创建私有应用,获取 App ID 与 App Secret。
drewburchfield/help-scout-mcp-server47
Teamwork MCP Server
MCPTeamwork.com 官方 MCP:用自然语言查询和更新项目、任务、里程碑与工时,也能处理 Desk 客服工单和 Spaces 知识库页面,可按项目经理、客服等角色只加载相关工具。需要 Teamwork.com 账号,并由管理员在设置中开启 AI/MCP。
Teamwork/mcp27