Skip to main content
This guide connects an AI assistant to your CloudTalk account. By the end, the assistant can search your calls, read transcripts, and act on your account. See the Overview for everything it can do.

Prerequisites

  • A CloudTalk account on the Essential plan or higher; MCP isn’t available on Starter. Check your plan under Account → Billing, or compare plans.
  • An API Access Key ID and API Access Key Secret. If you haven’t generated these yet, follow the Authentication guide first.
Treat the key pair like a password: anyone holding it can read your call and contact data and act on your account through an assistant. Revoke it from the Dashboard at any time.
1

Encode Your API Key

The MCP server uses HTTP Basic authentication. Combine your key pair into one header value:
tr -d '\n' matters: on Linux, base64 wraps long output across lines, and a line break inside the header value produces a 401.
2

Connect Your Client

The server URL is the same for every client:
See Claude Code MCP documentation.
To give the assistant a focused tool set for one job, append a profile name to the URL, e.g. https://mcp.cloudtalk.io/analytics. See Profiles.
3

Verify the Connection

Ask the assistant:
Run the cloudtalk_health_check tool.
A successful run confirms three things at once: your key was accepted, your company is enabled for MCP, and which company and user the key resolved to. Check the company ID matches the account you meant to connect.
An API Access Key belongs to the company, not to a person, so user_id comes back as 0. That is the expected value and means “no specific user” — not user number 0. Tools that act as a particular agent take that agent’s id as a parameter instead.
4

Ask Your First Question

Try:
Show me yesterday’s missed calls that have no tags.
You don’t call tools by name; ask in natural language and the assistant picks the right ones. More ideas in Common use cases.

Troubleshooting

Most errors carry a requestId; quote it when contacting support. A 401 is rejected at the gateway before one is generated, so for a 401 quote your API Key ID instead. It also carries no WWW-Authenticate challenge, so a client that waits for one before asking you for credentials will just see the request fail.