Manage your Odichat WhatsApp/IG/FB inbox from Claude: conversations, contacts, pipeline, reports.
Runs on your machine from its package; the steps are below.
At most: moves money, runs code or commands, deletes data, or sends messages for you.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally
This server runs on your machine over stdio, but its source registry didn't list a distribution package. Check the source repository for setup instructions.
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.
readOnlyHint, destructiveHint, idempotentHint)account_id is a per-tool argument)?token= query parambun install
| Variable | Required | Description |
|---|---|---|
ODICHAT_API_TOKEN | stdio only | API access token (found in Odichat → Profile → Access Token). Not used by the HTTP transport. |
MCP_TRANSPORT | No | Set to http to run as a network server. Any other value (or unset) uses stdio. |
PORT | No | Port 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.
bun run dev
bun run start
Run the server over HTTP with Bun.serve() and the web-standard Streamable HTTP transport:
MCP_TRANSPORT=http PORT=3000 bun run src/index.ts
Or with Docker:
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:
| Method | Path | Description |
|---|---|---|
POST/GET | /mcp | MCP Streamable HTTP endpoint |
GET | /health | Health check (returns ok) |
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
Add to your claude_desktop_config.json:
{
"mcpServers": {
"odichat": {
"command": "bun",
"args": ["run", "/path/to/mcp-odichat/src/index.ts"],
"env": {
"ODICHAT_API_TOKEN": "your-api-token"
}
}
}
}
Add to your .vscode/mcp.json:
{
"servers": {
"odichat": {
"command": "bun",
"args": ["run", "${workspaceFolder}/src/index.ts"],
"env": {
"ODICHAT_API_TOKEN": "your-api-token"
}
}
}
}
ChatGPT connects to remote MCP servers over HTTP — see Connecting to a hosted server above.
account_get, account_update
agent_bots_list, agent_bots_create, agent_bots_get, agent_bots_update, agent_bots_delete
agents_list, agents_create, agents_update, agents_delete
audit_logs_list
automation_rules_list, automation_rules_create, automation_rules_get, automation_rules_update, automation_rules_delete
canned_responses_list, canned_responses_create, canned_responses_update, canned_responses_delete
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_list, contact_labels_set
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_assign
messages_list, messages_create, messages_delete
custom_attributes_list, custom_attributes_create, custom_attributes_get, custom_attributes_update, custom_attributes_delete
custom_filters_list, custom_filters_create, custom_filters_get, custom_filters_update, custom_filters_delete
help_center_portals_list, help_center_portals_create, help_center_portals_update, help_center_categories_create, help_center_articles_create
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_list_apps, integrations_create_hook, integrations_update_hook, integrations_delete_hook
profile_get
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_list, teams_create, teams_get, teams_update, teams_delete, team_members_list, team_members_add, team_members_update, team_members_delete
webhooks_list, webhooks_create, webhooks_update, webhooks_delete
kanban_boards_list, kanban_boards_create, kanban_boards_get, kanban_boards_update, kanban_boards_delete, kanban_boards_update_agents
kanban_steps_list, kanban_steps_create, kanban_steps_get, kanban_steps_update, kanban_steps_delete
kanban_tasks_list, kanban_tasks_create, kanban_tasks_get, kanban_tasks_update, kanban_tasks_delete, kanban_tasks_move
kanban_audit_events_list, kanban_audit_events_get
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