AI assistants (MCP)
Overview
The Conversational Router has an MCP server, so an AI assistant that supports the Model Context Protocol can work with your Router account. Ask it to find conversations, explain how a chat was routed, summarise your routing setup or prepare a change to your flows.
The assistant acts as you: every tool call runs with your own CM.com sign-in and your Router permissions on the account. It can read what you can read, and change only what you can change. Changes it makes are saved as a draft and never go live on their own: a person reviews and publishes them in the Router (see Publishing changes).
Connecting
The server address is:
https://ai.cm.com/mcp/router
Add it as a remote MCP server in your AI assistant. The assistant needs to support remote servers over Streamable HTTP with OAuth sign-in. For example, in Claude Code:
claude mcp add --transport http router https://ai.cm.com/mcp/router
On first use the assistant opens the CM.com sign-in page. Sign in with the account you use for the Router and allow access to the Router tools.
Every tool takes the id of your Router account (a GUID). Give it to the assistant in your question, or let it ask for it.
Read tools
| Tool | What it does |
|---|---|
router_list_conversations | Lists conversations, newest first, with their metadata. |
router_search_conversations | Searches conversations by text or by meaning, and returns the matching transcripts. |
router_get_conversation | Gets the transcript of one conversation, including the routing actions. |
router_get_chat_conversations | Lists the conversations of one chat. |
router_get_stats | Gets the conversation statistics shown on the Home page, and how conversations moved between states. |
router_resolve_chat_id | Works out the chat id for a channel and customer (see Chat ID construction). Not for Email. |
router_get_session | Gets the current session of a chat: its state and participants. |
router_get_routing_setup | Summarises your channels, applications and flows as they are live. |
router_get_unpublished_changes | Lists the changes in the draft that are not published yet. Needs permission to edit the configuration. |
The read tools use the live configuration, the one conversations are routed by. Changes that are not published yet only show up in router_get_unpublished_changes.
Edit tools
The edit tools need permission to edit the Router configuration on the account. Each one saves to the draft, like a save in the Router UI.
| Tool | What it does |
|---|---|
router_create_application | Adds a channel or application: WhatsApp, SMS, RCS, Instagram, Facebook Messenger, Email, Web Conversations, HALO, Agent Inbox, Marketplace or Conversational AI Cloud. |
router_update_application | Changes a channel's or application's name, whether it is enabled, and its settings. Its type cannot change. |
router_create_flow | Adds a flow. A new flow is always disabled. |
router_update_flow | Changes a flow's name, conversation lifetime and default state, adds or removes its channels and applications, and enables or disables it. |
router_create_state | Adds a state to a flow, with its routes. |
router_update_state_links | Adds and removes routes in a state and leaves the others as they are. |
router_update_state | Gives a state another state name. HALO and Conversational AI Cloud hand conversations over by state name, so renaming a state they hand over to breaks that handover. |
Other channel and application types, such as custom services, are added in the Router UI.
The assistant cannot publish or discard the draft. When it is done, open Publish in the Router side menu to review what it changed and publish it, or discard it. Its saves are recorded under your name, and they are published together with any other saved changes on the account (see Publishing changes).
Limits
- About 60 tool calls a minute per user, of which at most 20 edits. Over the limit the assistant is asked to wait and try again.
- Each tool call returns at most 2 MB. When a result is larger, the assistant is asked to narrow its request, for example with a shorter time range or a lower
limit.