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 Settings → Billing, or compare plans.
  • One of the two ways to authenticate:
    • Sign in with CloudTalk (OAuth): a CloudTalk user with the Admin role. Available in Claude (Claude.ai, Claude Desktop, Claude mobile), Claude Code, ChatGPT and Gemini. Users with any other role are refused at sign-in.
    • API Access Key: an API Access Key ID and API Access Key Secret, for every client that can send a request header. If you haven’t generated these yet, follow the Authentication guide first.
Treat an API 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 (API key only)

Skip this step if you sign in with CloudTalk.With an 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 gets the request refused with a 403.
2

Connect Your Client

The server URL is the same for every client:
Sign in with CloudTalk:
Then run /mcp in Claude Code, pick cloudtalk and choose Authenticate. Your browser opens the CloudTalk sign-in page; sign in as an admin and approve the access on the consent screen.API key:
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 credentials were accepted, your company is enabled for MCP, and which company and user they resolved to. Check the company ID matches the account you meant to connect.
Signed in with CloudTalk, user_id is your own user. An API Access Key belongs to the company, not to a person, so with a key user_id comes back as 0: that 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 or a refused API key is rejected at the gateway before one is generated, so quote your API Key ID, or the email you signed in with, instead. A 401 carries a WWW-Authenticate challenge that points clients to CloudTalk’s sign-in.