Omnichannel MCP Server for OpenAI Codex
Connect OpenAI Codex to ChatbotX via MCP SSE. Manage customer conversations, CRM contacts, tags, and chatbot flows across your connected customer channels.
Please make sure there is always a human in the loop.
Connect ChatbotX MCP to Codex
Paste the prompt command into your Codex interface to connect automatically, or configure it manually using the settings block below.
# Add to your Codex configuration (~/.codex/config.toml)
[mcpServers.chatbotx]
url = "https://app.chatbotx.io/mcp/sse"
[mcpServers.chatbotx.headers]
x-workspace-token = "YOUR_WORKSPACE_TOKEN"
Codex reads this page and wires up the MCP. You approve the connection.
It fetches this page, discovers the MCP endpoint, and asks you to confirm before connecting.
# ChatbotX Model Context Protocol (MCP) Server for OpenAI Codex Connect OpenAI Codex developer agent to ChatbotX via MCP. Automate customer conversations, CRM contact resolution, webhook inspections, and chatbot flow pipelines directly from code and developer runtime environments. ## Connection Setup for OpenAI Codex - Protocol: Model Context Protocol (MCP) via Server-Sent Events (SSE) - Endpoint: https://app.chatbotx.io/mcp/sse - Authentication: Header "x-workspace-token: <YOUR_WORKSPACE_TOKEN>" - Documentation: https://chatbotx.io/docs/mcp/introduction ### Configuration (~/.codex/config.toml) ```toml [mcpServers.chatbotx] url = "https://app.chatbotx.io/mcp/sse" [mcpServers.chatbotx.headers] x-workspace-token = "YOUR_WORKSPACE_TOKEN" ``` ## Available MCP Tools - contacts_search: Programmatically lookup contacts by email, phone, or workspace ID. - contacts_tag: Add or remove segmentation tags during code execution loops. - contacts_custom_field: Mutate or query custom attributes on contact objects. - flows_trigger: Trigger automated chatbot sequences and webhook handlers. - conversations_list: Query active conversation threads across messaging providers. - messages_send: Dispatch outbound API messages and transactional notifications. - broadcasts_list: Inspect broadcast campaigns and delivery analytics. - channels_list: Verify connected channels and active webhook listener health. ## Developer Workflows with Codex ```bash $ codex "Check webhook delivery status for contact +84901234567 on WhatsApp and trigger flow_order_status" $ codex "Query CRM for contacts with custom_field:plan='enterprise' and verify their Telegram handle" $ codex "Automate test broadcast payload dispatch and verify SSE listener response" ``` ## Supported Messaging Channels WhatsApp, Messenger, Instagram, TikTok, Telegram, Zalo OA, Webchat, SMTP, and API.
Prompt Examples for OpenAI Codex
Once connected, you can converse with your customer base and execute omnichannel actions in plain language.
Send Omnichannel Message
"Send a WhatsApp message to +123456789 saying their order #9821 has shipped with tracking link."
Query CRM & Contacts
"Find the contact for [email protected], check their conversation history, and tag them as 'VIP Lead'."
Trigger Visual Flows
"Trigger the Onboarding Drip Sequence for the newly registered lead on Instagram."
Audit Live Inbox
"List all unread conversations in Messenger and summarize what customers are asking today."
Autonomous Multi-Channel Execution
ChatbotX standardizes your messaging channels into clean MCP tool calls with safe guardrails.
Unified MCP Architecture
One SSE endpoint provides 380+ tools covering WhatsApp, Messenger, Zalo, Telegram, Email, and Webchat.
Enterprise Security
Workspace token authentication, granular tool whitelisting, and strict human-in-the-loop approvals for sensitive actions.
Real-time State Sync
Changes to contact fields, custom tags, or conversation status sync immediately across your ChatbotX dashboard and CRM.
Works with Every MCP Client
ChatbotX MCP works seamlessly with any AI agent runtime that supports Model Context Protocol.
Cursor
AI Code EditorAI-powered code editor with native MCP support. Connect to ChatbotX to manage omnichannel customer conversations from your IDE.
Gemini
Google Multimodal AIGoogle's 1M+ token context model with native MCP and Function Calling. Parse high-volume customer messages effortlessly.
Supported Messaging & Customer Channels
Connect your channels in ChatbotX once, then automate customer conversations to any of them via your AI assistant.