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 分