Skip to main content
The MCP server exposes over 140 tools across 25+ domains. Every tool listed here is available from any MCP-compatible client.
Ask your AI assistant “What OpenCX tools do you have?” — it will enumerate all available tools live.

Conversations

Companion session searches can briefly lag recent changes. A busy, unavailable, or oversized search returns an error, not an empty result. For counts, trends, and grouped analysis, use run_analytics_query instead of paging through sessions.

AI Configuration

Knowledge

Channels

Operations

Use list_team_categories or create_team_category to find a category ID, then set category_id with update_team_settings. Send null to clear it. Categories organize teams without changing their routing. Category reads require teams:read; creation requires teams:write.Use list_office_hours to find a schedule, then set support_office_hours_id; null restores the workspace default. Schedules and categories must belong to the current workspace. Set support_assignment_strategy and auto_assign_interval_seconds to configure assignment. Pacing accepts 0 to turn it off or whole seconds from 15 to 3600.To configure call routing, first use get_team to review the current settings, then call update_team_settings with the team ID and only the settings to change. This requires both teams:read and teams:write. Omitted settings stay unchanged; it does not add members, change their availability, or set organization-wide auto-answer.
Ring timeout accepts 10–120 seconds; maximum wait accepts 30–3,600 seconds. Wrap-up accepts 0–3,600 seconds: 0 disables it and null inherits the organization setting. Distribution accepts longest_available or fewest_answered_today. Enabling Support does not make an unstaffed or unavailable team ready to answer calls. See inbound calls for routing prerequisites.
Macro responses include read-only created_by_user_id: the authenticated creator when known, or null for older macros and integration writes without a user identity. Creation and edits are recorded in macro version history, which authorized users can view in the dashboard. History is not exposed through MCP tools.Custom variables are authored in the OpenCX dashboard (Settings → Macros → Variables); the API and MCP surface them read-only via list_macro_variables. Macro attachments are also authored in the dashboard and returned read-only by list_macros and get_macro. Options can be set with create_macro and update_macro: update_macro takes the full list, so keep an option by passing its id and leave one out to remove it.Macros can be written in any language. update_macro_settings takes the full list of up to 10 languages, so read it first with get_macro_settings and send every language to keep. Choosing a new language translates every macro into it, so confirm the languages with your team first. Translations are generated copies that refresh when the macro is edited; use retranslate_macro to redo one, or set_macro_translation to use your own wording for one language. Whether suggested macros are on for the workspace is shown by get_macro_settings but is changed in Settings → Workspace → Replies → Suggested macros. See the Macros API for the matching endpoints.

Analytics

Compliance and Audit

Turning a rule on or lowering a threshold permanently erases every session that already matches, starting within about 30 minutes. Reading needs session-retention:read; changing needs session-retention:write. See Session retention.

Ticketing Integrations

These tools appear only when the organization has the integration connected. Credentials are never returned and can only be changed in Settings → Ticketing.
Available when Zendesk is connected.
Available when HubSpot is connected.
Available when Salesforce is connected. The AI reply template tools (list_salesforce_ai_reply_templates and friends) are also available only then.
Available when Dynamics 365 is connected.
Available when Front is connected.
Available when Genesys Cloud is connected.
Available when Infobip is connected.
Available when Twilio Flex is connected.
Available when Freshdesk is connected.
Available when Freshchat is connected.
Available when Gorgias is connected.
Available when Intercom is connected.

Prompt Library

Ready-to-use prompts by domain

Workflows

Multi-step scenarios that chain prompts together

Get Started

Connect the MCP server to your AI client

Troubleshooting

Common issues and how to resolve them

Contact segment management

Use create_contact_segment, update_contact_segment, and delete_contact_segment to manage saved contact filters. These tools require segments:write. Companion makes them available to users with contact write permission. Updates change only supplied fields; supplying a definition replaces the complete filter rules. Membership recalculates in the background after creation or filter changes. Deletion removes the segment and its memberships while keeping contacts, and does not rewrite references in other configurations. Use add_contacts_to_segment (up to 100 contacts) and remove_contact_from_segment to add and remove contacts by hand, with segments:write. A contact added by hand stays in the segment whatever its filter rules say until it is removed; removing it leaves a contact that matches the rules in the segment. Use list_contact_segments, get_contact_segment, list_segments_for_contact, and check_contact_in_segment to inspect definitions and membership with segments:read. See contact segments for examples.