Odichat

io.github.odichat由 GitHub 账号 odichat 发布v1.0.0更新于 Oct 24, 2026

Manage your Odichat WhatsApp/IG/FB inbox from Claude: conversations, contacts, pipeline, reports.

已验证Streamable HTTP可网页运行效率与工作流沟通与协作商业与电商

概览

AI 生成的概览

远程 MCP 服务器,开放 Odichat 的 WhatsApp/Instagram/Facebook 收件箱 API,让助手管理会话、联系人、销售管道与报表。

可以做什么
  • 读取与更新账户、个人资料、客服人员、机器人代理与团队
  • 列出、创建、更新、删除和搜索联系人、标签与联系人收件箱
  • 管理会话:列出、筛选、创建、分配、切换状态与优先级、设置标签和自定义属性
  • 列出、发送和删除消息,并可安排定时消息
  • 管理收件箱与成员、自动化规则、快捷回复、自定义属性、自定义筛选、Webhook 与集成
  • 获取账户、客服、收件箱、团队和标签报表,并操作看板、看板步骤、任务与审计事件
适用场景
适合在 Odichat 上处理客户沟通的团队,让助手在不切换应用的情况下分拣收件箱、查询联系人、发送或定时回复、移动看板任务或拉取客服报表。
运行要求
通过 Streamable HTTP 连接 mcp.odichat.app 远程端点;需要一个开通 API 访问的 Odichat 实例,以及从「个人资料 → 访问令牌」获取的 API 令牌,按请求以 token 查询参数传入。自行运行 stdio 版本还需 Bun 和 ODICHAT_API_TOKEN 环境变量。
安装前请注意
令牌放在 URL 查询参数中传递,可能通过日志、代理或分享链接泄露,应视为机密。大量工具会创建、修改或删除记录、发送消息,并改动自动化规则、Webhook 与集成,操作会影响真实客户数据和线上渠道。托管服务无状态且多租户,每个请求各自携带令牌。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Odichat,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

mcp-odichat

A Model Context Protocol (MCP) server that exposes the full Odichat API — including Odichat exclusive features — as 123 tools for use with AI assistants like Claude, ChatGPT, VS Code Copilot, and others.

Features

  • 123 tools covering all Odichat API endpoints
  • Account, Agents, Contacts, Conversations, Messages, Inboxes, Teams, and more
  • Reports (v1 & v2), Help Center, Automation Rules, Custom Attributes, Custom Filters
  • Odichat exclusive: Kanban Boards, Kanban Steps, Kanban Tasks, Kanban Audit Events, Scheduled Messages
  • Proper MCP tool annotations (readOnlyHint, destructiveHint, idempotentHint)
  • Multi-account support (account_id is a per-tool argument)
  • Two transports:
    • stdio — local subprocess (Claude Desktop, VS Code, and any MCP client)
    • Streamable HTTP — remote, hosted server (Claude Web/Desktop/Code, ChatGPT). Stateless; the API token is passed per request via a ?token= query param

Requirements

  • Bun v1.0+
  • An Odichat instance with API access

Installation

bash
bun install

Environment Variables

VariableRequiredDescription
ODICHAT_API_TOKENstdio onlyAPI access token (found in Odichat → Profile → Access Token). Not used by the HTTP transport.
MCP_TRANSPORTNoSet to http to run as a network server. Any other value (or unset) uses stdio.
PORTNoPort for the HTTP transport. Defaults to 3000.

In HTTP mode the token is not read from the environment — each client supplies its own token via the ?token= query param, keeping the server stateless and multi-tenant.

Usage

Development

bash
bun run dev

Production (stdio)

bash
bun run start

Production (remote HTTP server)

Run the server over HTTP with Bun.serve() and the web-standard Streamable HTTP transport:

bash
MCP_TRANSPORT=http PORT=3000 bun run src/index.ts

Or with Docker:

bash
docker build -t mcp-odichat .docker run -p 3000:3000 mcp-odichat

The server is stateless — no database, no sessions. Each request must include the caller's Odichat API token as a ?token= query param. SSL is expected to be terminated by an upstream proxy (e.g. Traefik).

Endpoints:

MethodPathDescription
POST/GET/mcpMCP Streamable HTTP endpoint
GET/healthHealth check (returns ok)

Connecting to a hosted server

Point any remote-MCP-capable client (Claude Web/Desktop/Code, ChatGPT) at the server URL with your token in the query string:

https://mcp.odichat.app/mcp?token=YOUR_API_TOKEN
  1. In Odichat, go to Profile → Access Token and copy your token.
  2. Add the URL above (with your token) as the MCP server URL in your AI client.

Local (stdio) client configuration

Claude Desktop Configuration

Add to your claude_desktop_config.json:

json
{  "mcpServers": {    "odichat": {      "command": "bun",      "args": ["run", "/path/to/mcp-odichat/src/index.ts"],      "env": {        "ODICHAT_API_TOKEN": "your-api-token"      }    }  }}

VS Code Configuration

Add to your .vscode/mcp.json:

json
{  "servers": {    "odichat": {      "command": "bun",      "args": ["run", "${workspaceFolder}/src/index.ts"],      "env": {        "ODICHAT_API_TOKEN": "your-api-token"      }    }  }}

ChatGPT Configuration

ChatGPT connects to remote MCP servers over HTTP — see Connecting to a hosted server above.

Available Tools (123)

Account (2)

account_get, account_update

Agent Bots (5)

agent_bots_list, agent_bots_create, agent_bots_get, agent_bots_update, agent_bots_delete

Agents (4)

agents_list, agents_create, agents_update, agents_delete

Audit Logs (1)

audit_logs_list

Automation Rules (5)

automation_rules_list, automation_rules_create, automation_rules_get, automation_rules_update, automation_rules_delete

Canned Responses (4)

canned_responses_list, canned_responses_create, canned_responses_update, canned_responses_delete

Contacts (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

Contact Labels (2)

contact_labels_list, contact_labels_set

Conversations (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

Conversation Assignments (1)

conversation_assignments_assign

Messages (3)

messages_list, messages_create, messages_delete

Custom Attributes (5)

custom_attributes_list, custom_attributes_create, custom_attributes_get, custom_attributes_update, custom_attributes_delete

Custom Filters (5)

custom_filters_list, custom_filters_create, custom_filters_get, custom_filters_update, custom_filters_delete

Help Center (5)

help_center_portals_list, help_center_portals_create, help_center_portals_update, help_center_categories_create, help_center_articles_create

Inboxes (10)

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

Integrations (4)

integrations_list_apps, integrations_create_hook, integrations_update_hook, integrations_delete_hook

Profile (1)

profile_get

Reports (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

Teams (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

Kanban Boards (6) — [Odichat]

kanban_boards_list, kanban_boards_create, kanban_boards_get, kanban_boards_update, kanban_boards_delete, kanban_boards_update_agents

Kanban Steps (5) — [Odichat]

kanban_steps_list, kanban_steps_create, kanban_steps_get, kanban_steps_update, kanban_steps_delete

Kanban Tasks (6) — [Odichat]

kanban_tasks_list, kanban_tasks_create, kanban_tasks_get, kanban_tasks_update, kanban_tasks_delete, kanban_tasks_move

Kanban Audit Events (2) — [Odichat]

kanban_audit_events_list, kanban_audit_events_get

Scheduled Messages (4) — [Odichat]

scheduled_messages_list, scheduled_messages_create, scheduled_messages_update, scheduled_messages_delete

Development

bash
# Run testsbun test
# Lint & formatbun run lintbun run format
# Type checkbun run build-check
# Full check (lint + type-check + tests)bun run check

License

MIT

来源:README.md,提交 43524a4

工具

0
SourceWeft 尚未读取此服务器的工具。

版本历史

1
  1. v1.0.0最新Sep 26, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分