Skip to main content
Glama
@indica-facil/mcp-chatwoot

@indica-facil/mcp-chatwoot

@indicafacil/mcp-chatwoot

npm version npm downloads

一个 Model Context Protocol(MCP)服务器,将 Chatwoot 的完整 API——包括 indicafacil.ai 的独有功能——以 147 个工具的形式提供给 Claude、VS Code Copilot 等 AI 助手使用。

功能特性

  • 147 个工具,覆盖所有 Chatwoot API 端点

  • 账户、客服、联系人、对话、消息、收件箱、团队等

  • 报告(v1 与 v2)、帮助中心、自动化规则、自定义属性、自定义筛选器

  • [indicafacil.ai] 独有:看板、看板步骤、看板任务、看板审计事件、看板偏好设置、定时消息

  • 规范的 MCP 工具注解(readOnlyHint、destructiveHint、idempotentHint)

  • 多账户支持(account_id 是每个工具的参数)

  • stdio 传输(兼容 Claude Desktop、VS Code 和任何 MCP 客户端)

Related MCP server: Ploomes MCP Server

环境要求

  • Bun v1.0+

  • 一个具有 API 访问权限的 Chatwoot 实例

安装

bun install

环境变量

变量

必填

说明

CHATWOOT_BASE_URL

是

你的 Chatwoot 实例 URL(例如 https://app.chatwoot.com)

CHATWOOT_API_TOKEN

是

API 访问令牌(可在 Chatwoot → 个人资料 → 访问令牌中找到)

用法

开发环境

bun run dev

生产环境

bun run start

Claude Desktop 配置

在你的 claude_desktop_config.json 中添加以下内容:

{
  "mcpServers": {
    "chatwoot": {
      "command": "bun",
      "args": ["run", "/path/to/mcp-chatwoot/src/index.ts"],
      "env": {
        "CHATWOOT_BASE_URL": "https://your-chatwoot-instance.com",
        "CHATWOOT_API_TOKEN": "your-api-token"
      }
    }
  }
}

VS Code 配置

在你的 .vscode/mcp.json 中添加以下内容:

{
  "servers": {
    "chatwoot": {
      "command": "bun",
      "args": ["run", "${workspaceFolder}/src/index.ts"],
      "env": {
        "CHATWOOT_BASE_URL": "https://your-chatwoot-instance.com",
        "CHATWOOT_API_TOKEN": "your-api-token"
      }
    }
  }
}

可用工具(147 个)

账户(2 个)

account_get, account_update

客服机器人(5 个)

agent_bots_list, agent_bots_create, agent_bots_get, agent_bots_update, agent_bots_delete

客服(4 个)

agents_list, agents_create, agents_update, agents_delete

审计日志(1 个)

audit_logs_list

自动化规则(5 个)

automation_rules_list, automation_rules_create, automation_rules_get, automation_rules_update, automation_rules_delete

预设回复(4 个)

canned_responses_list, canned_responses_create, canned_responses_update, canned_responses_delete

联系人(11 个)

contacts_list, contacts_create, contacts_get, contacts_update, contacts_delete, contacts_conversations, contacts_search, contacts_filter, contacts_create_contact_inbox, contacts_contactable_inboxes, contacts_merge

联系人标签(2 个)

contact_labels_list, contact_labels_set

对话(12 个)

conversations_meta, conversations_list, conversations_create, conversations_filter, conversations_get, conversations_update, conversations_toggle_status, conversations_toggle_priority, conversations_set_custom_attributes, conversations_get_labels, conversations_set_labels, conversations_reporting_events

对话分配(1 个)

conversation_assignments_assign

消息(3 个)

messages_list, messages_create, messages_delete

自定义属性(5 个)

custom_attributes_list, custom_attributes_create, custom_attributes_get, custom_attributes_update, custom_attributes_delete

自定义筛选器(5 个)

custom_filters_list, custom_filters_create, custom_filters_get, custom_filters_update, custom_filters_delete

帮助中心(5 个)

help_center_portals_list, help_center_portals_create, help_center_portals_update, help_center_categories_create, help_center_articles_create

收件箱(11 个)

inboxes_list, inboxes_get, inboxes_create, inboxes_update, inboxes_get_agent_bot, inboxes_set_agent_bot, inbox_members_list, inbox_members_create, inbox_members_update, inbox_members_delete

集成(4 个)

integrations_list_apps, integrations_create_hook, integrations_update_hook, integrations_delete_hook

个人资料(1 个)

profile_get

报告(9 个)

reports_account_overview, reports_account_summary, reports_agent_summary, reports_conversation_metrics, reports_v2_overview, reports_v2_agents, reports_v2_inboxes, reports_v2_teams, reports_v2_labels

团队(9 个)

teams_list, teams_create, teams_get, teams_update, teams_delete, team_members_list, team_members_add, team_members_update, team_members_delete

Webhooks(4 个)

webhooks_list, webhooks_create, webhooks_update, webhooks_delete

看板(9 个)——[indicafacil.ai]

kanban_boards_list, kanban_boards_create, kanban_boards_get, kanban_boards_update, kanban_boards_delete, kanban_boards_update_agents, kanban_boards_update_inboxes, kanban_boards_toggle_favorite, kanban_boards_conversations

看板步骤(6 个)——[indicafacil.ai]

kanban_steps_list, kanban_steps_create, kanban_steps_get, kanban_steps_update, kanban_steps_delete, kanban_steps_reorder

看板任务(6 个)——[indicafacil.ai]

kanban_tasks_list, kanban_tasks_create, kanban_tasks_get, kanban_tasks_update, kanban_tasks_delete, kanban_tasks_move

看板任务产品(4 个)——[indicafacil.ai]

kanban_task_products_list, kanban_task_products_create, kanban_task_products_update, kanban_task_products_delete

看板任务评论(4 个)——[indicafacil.ai]

kanban_task_comments_list, kanban_task_comments_create, kanban_task_comments_update, kanban_task_comments_delete

看板产品(5 个)——[indicafacil.ai]

kanban_products_list, kanban_products_get, kanban_products_create, kanban_products_update, kanban_products_delete

看板报告(7 个)——[indicafacil.ai]

kanban_reports_summary, kanban_reports_funnel, kanban_reports_stage_durations, kanban_reports_agent_performance, kanban_reports_cfd, kanban_reports_aging, kanban_reports_timeseries

看板审计事件(2 个)——[indicafacil.ai]

kanban_audit_events_list, kanban_audit_events_get

定时消息(4 个)——[indicafacil.ai]

scheduled_messages_list, scheduled_messages_create, scheduled_messages_update, scheduled_messages_delete

开发

# Run tests
bun test

# Lint & format
bun run lint
bun run format

# Type check
bun run build-check

# Full check (lint + type-check + tests)
bun run check

许可证

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables interaction with Intercom's customer communications platform via the Intercom REST API, providing 102 tools for managing admins, articles, companies, contacts, conversations, and more.
      2
      MIT
    • F
      license
      C
      quality
      C
      maintenance
      Exposes 153 tools to connect AI assistants to the Ploomes CRM, enabling CRUD operations, funnel configuration, CPQ, automations, and webhooks.
      100
      1
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to interact with the full Odichat API, providing 123 tools for managing accounts, agents, contacts, conversations, inboxes, reports, and Odichat-exclusive features like Kanban boards and scheduled messages.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI assistants to list and retrieve conversations, read and send messages or internal notes, and toggle conversation status through the Chatwoot API.
      5
      MIT