ClearTalk
Developers

ClearTalk MCP

Connect your AI assistant — what it can do with ClearTalk, how the MCP server works, and how to connect from Claude, Cursor, VS Code, and other MCP clients.

ClearTalk runs an MCP server — MCP (Model Context Protocol) is the open standard AI assistants use to work with outside systems. Connect it and your assistant stops being a chatbot that talks about ClearTalk and becomes one that can work in it: build and test agents, search contacts, read transcripts, book appointments, and — with your confirmation — place a single call or text.

What it can do

The toolset is deliberately curated — not a machine translation of the whole API, but the workflows an assistant is actually good at. There are 55 tools in eleven areas, listed in full below.

Things people actually ask their assistant once it's connected:

  • "Build me an outbound agent that books solar consultations — then test it against an angry caller and a voicemail before we try it for real."
  • "Why did yesterday's calls go badly? Read the failed transcripts and fix the agent's instructions."
  • "Did anyone ask us to stop contacting them this week? Make sure they're on the do-not-call list."
  • "Find the call with Jane Doe from Tuesday and summarize how it ended."

It can

  • Create and edit agents, Pathways, tests, contacts, and bookings
  • Run simulated test conversations that spend credits but dial no one
  • Place ONE real call or text, book a meeting, or publish a Pathway — after asking you first
  • Add numbers to the Do Not Call list and pause a campaign

It never can

  • Start a campaign or dial a contact list — bulk outreach stays in the dashboard
  • Remove anyone from a do-not-contact list
  • Delete anything — agents, Pathways, contacts, tests, bookings
  • Change billing, credits, phone numbers, team members, or account settings

Every tool, and what it does in your account

Each tool is marked with what it does to your account:

  • Reads — looks only. Nothing changes.
  • Changes — creates or edits something inside ClearTalk. Nobody is contacted.
  • Credits — runs a simulated conversation. It costs credits, but no phone rings.
  • Live — reaches the real world: a phone rings, a text goes out, a meeting appears on the calendar, or callers start hearing a different Pathway. The assistant is told to confirm with you before every one of these.

Agents and knowledge

ToolWhat it doesEffect
list_agentsLists every agent across all five types — outbound, inbound, web, texting, and chatbot — with their ids.Reads
get_agentShows one agent's full configuration, including its Agent Instructions.Reads
create_agentCreates an agent of any of the five types. Voice agents (outbound, inbound, web) need a voice and a language, and an inbound agent needs the number that routes to it. Texting agents and chatbots run on a Pathway, so they need one; a texting agent also needs its sending number.Changes
update_agentChanges an agent's name, Agent Instructions, voice, language, opening line, Pathway, phone number, Interruption handling or Listening sounds. Only the fields it sends change — everything else is left as it was. Voicemail, dialing strategy, transfer lists, and tools aren't editable here; the assistant will send you to the dashboard for those.Changes
list_voicesLists the voices available to your organization.Reads
list_knowledge_basesLists your knowledge bases, with search by name.Reads
create_knowledge_baseCreates a knowledge base from text the assistant writes — pricing, policies, FAQs. Text only: uploading files or pointing at a website is done in the dashboard.Changes
get_knowledge_base_contentReads the text of a text knowledge base, one page at a time.Reads
edit_knowledge_base_contentChanges passages of a text knowledge base, re-indexes it and updates the Pathways that use it.Changes

Pathways

A Pathway is versioned, and saving is not publishing. Every save becomes a new staging version; the version real callers hear only changes when promote_pathway runs.

ToolWhat it doesEffect
list_pathwaysLists your Pathways with their ids.Reads
generate_pathwayGenerates a complete Pathway from a written description of the conversation (at least 100 characters). Runs in the background and returns a job to check on.Changes
get_pathway_generationChecks whether a generated Pathway is finished.Reads
create_pathwayCreates an empty Pathway for the assistant to build step by step. Counts against your plan's Pathway limit.Changes
get_pathway_graphReads the working (staging) version: every step, every connection, and the Pathway-wide prompt — plus which version is live.Reads
save_pathway_graphSaves an edited graph as a new staging version, with a label and a note. Live conversations are unaffected.Changes
list_pathway_versionsShows the save history, newest first, and which version is live.Reads
get_pathway_versionReads the live version, or any past one — to see exactly what callers hear right now, or to restore an earlier version by saving it again.Reads
promote_pathwayPublishes the staging version, so real conversations use it immediately. Refused while any test marked required-to-publish is failing — there's no override here; publishing past a failing test is a decision for a person, in the dashboard.Live

Testing

Tests work on a Pathway or on a prompt-based agent (outbound, inbound, or web). Each test is a simulated caller with a persona and a set of checks that decide pass or fail.

ToolWhat it doesEffect
list_test_scenariosLists the tests on a Pathway or agent, with each one's last result and score.Reads
get_test_scenarioReads one test in full: the persona, the step and variables it starts with, and every check.Reads
create_test_scenarioCreates a test: who the simulated caller is, what they want, how many turns it may run, and the checks it's scored on. On a Pathway, a test can start at a chosen step with preset variables, and can be marked required-to-publish.Changes
update_test_scenarioEdits a test, or switches it off. Changing the checks always sends the full list back, so no check is dropped by accident.Changes
delete_test_scenarioDeletes a test and its run history.Changes
generate_test_scenario_from_callDrafts a test from a real past call — the caller's side becomes the persona. The draft isn't saved until the assistant adds checks and creates it.Changes
run_testRuns one test against the agent. On a Pathway, runs against staging by default, or production if asked.Credits
run_all_testsRuns every enabled test (or up to 50 chosen ones) as one batch.Credits
list_test_runsShows run history, newest first, filterable by test and by result.Reads
get_test_runReads one run in full: the transcript, each check's verdict, the score, the webhook calls it made, and where it stopped.Reads
get_test_batchReads a whole batch at once — progress, pass/fail counts, and every finished run's detail.Reads
run_step_testPathways only: replays one step against up to 10 past calls, with rewordings of what each caller said, to tune a single step without a full simulated call. Charged per reply.Credits
get_step_testReads a step test: every reply the step gave, per call, for the caller's real words and each rewording.Reads
get_promotion_readinessShows whether a Pathway's required tests allow it to be published, and which ones are blocking.Reads

Contacts

ToolWhat it doesEffect
search_contactsSearches contacts by name, email, or phone, filtered by list, tag, or lifecycle stage.Reads
get_contactShows one contact, and optionally their activity timeline — calls, texts, notes, and bookings.Reads
create_contactAdds a contact, with list, tags, lifecycle stage, and custom fields.Changes
update_contactEdits a contact. Only the fields it sends change.Changes

Campaigns

ToolWhat it doesEffect
list_campaignsLists your Outbound Calls, Text Messages, and Batch Calls campaigns.Reads
get_campaignShows one campaign's configuration, status, and agent.Reads
pause_campaignPauses a running campaign. For a Text Messages campaign it can either stop new outreach only, letting live threads keep replying, or stop the replies too.Changes

There is no tool to start or resume a campaign — starting one contacts its whole list, which this connection never does.

Conversations

ToolWhat it doesEffect
list_conversationsLists conversations across calls, texts, web chat, and web agent sessions. Filters by channel, campaign, agent, Result, text search, date range, who replied last on a text thread, and minimum call length (to skip voicemail drops).Reads
get_conversationReads one conversation in full. Calls include the transcript, recording link, analysis answers, and Result; text threads include every message; web chat and web agent sessions include the transcript. For a call it can return a short summary instead — the Result, length, summary, whether it was recorded, and the opening and closing turns — and reads a long transcript 40 turns at a time.Reads
get_call_diagnosticsExplains why a call went wrong: a one-line verdict, who answered and who hung up, whether it hit its maximum length or was transferred, the Pathway version it ran, and the first step that failed, with its error. Beta; calls from the last 90 days. Needs a key created with Allow troubleshooting ticked (Integrations → API access); the dashboard Assistant already has it.Reads
get_call_timelineSteps through one call's Pathway in order: when each step ran, which operation it was (a tool, a Send data to your system call, a knowledge base lookup, a transfer), how it ended and how long it took, with a one-line verdict and the first failure up top. Filters to failures, one step, one operation or a stretch of the call. Never shows payloads, variables or what the caller said. Beta; calls from the last 90 days. Needs the same troubleshooting permission.Reads
list_webhook_deliveriesShows what happened to the data sent to your system (Send data to your system): how many deliveries were accepted, failed or skipped on purpose, when failures began, the answers your system gave, and each delivery with a plain-language reason. Filters by call, status and date. Never shows addresses, payloads or responses. Beta; the last 90 days. Needs the same troubleshooting permission.Reads
get_number_healthChecks whether texts are getting through, per sending number: sent, delivered and failed counts, the undelivered rate, the top carrier reasons in plain language, the number's business-texting registration and its last rotation. Give it a contact's number to see whether they are blocked (why, and who blocked them) and how their last 5 texts ended. Never shows message text. Beta; the last 90 days. Needs the same troubleshooting permission.Reads

If your organization has HIPAA encryption turned on, get_call_diagnostics, get_call_timeline and list_webhook_deliveries answer with the structure only — no error text, step names or destination names — because that wording can quote what a caller said.

Calls and texts

One person at a time, through a campaign you already have — the campaign decides the agent, the calling hours, and the number used.

ToolWhat it doesEffect
trigger_callPlaces one real call through an Outbound Calls or Batch Calls campaign. Adds or updates the contact first. A call outside the campaign's calling hours waits until the window opens. Spends credits.Live
send_textStarts one real text conversation through a Text Messages campaign. Adds or updates the contact first. Retrying with the same idempotency key never texts the person twice. Spends credits.Live

Appointments

ToolWhat it doesEffect
list_event_typesLists your bookable meeting types.Reads
get_available_slotsShows open times for a meeting type in a date window, from your real availability.Reads
book_appointmentBooks a meeting on your calendar, optionally linked to a contact. It's recorded as a manual booking, not one your agents made.Live
list_bookingsLists bookings, filtered by date window, status, meeting type, or contact.Reads

Cancelling or rescheduling a booking isn't available here — do that in the dashboard.

Do-not-contact

ToolWhat it doesEffect
check_do_not_contactChecks a number against both lists — Do Not Call (voice) and text opt-outs. Any match means don't contact.Reads
add_to_do_not_contactAdds a number to the Do Not Call list, with an optional reason, so voice agents never dial it. Removing a number is only possible in the dashboard.Changes

Account

ToolWhat it doesEffect
get_accountShows which organization the connection acts in, its plan, and who the caller is. An API key acts as the organization's owner, and the assistant is told to say so.Reads
get_credit_balanceShows the credit balance — this period's plan grant, purchased credits and the total — and the auto-recharge settings. Saved card details are never included.Reads
get_activity_summaryHeadline numbers for the last 7, 30 or 90 days, 12 months, or all time: calls, minutes, appointments, texts, spend, and calls by Result.Reads

Best-practice guides

ToolWhat it doesEffect
get_guideReturns ClearTalk's full guide to one kind of work — the complete working instructions, writing Agent Instructions, building a Pathway, designing tests, texting, keeping outreach healthy, setting an agent up, reading your results, or tracking down a problem: a call that went wrong, data that didn't reach your system, or texts that aren't being delivered. The assistant reads the matching guide before it builds or reviews something. It looks at nothing in your account and costs no credits.Reads

How it works

The server is a thin, deliberately forgetful layer in front of the same API this documentation describes. It holds no data and no credentials of its own — your API key, sent with every request, is the only thing that identifies and authorizes the connection.

  1. 1

    You ask your assistant for something

    "Test my solar agent against an impatient caller."

  2. 2

    The assistant picks a tool and calls the MCP server

    Your API key rides along on the request, straight from your client's settings.

  3. 3

    The server forwards the call to the ClearTalk API with your key

    Nothing is stored — the key and the request die together. Permissions, organization boundaries, and rate limits are enforced by the API, exactly as for any other API caller.

  4. 4

    The result comes back as plain data

    Scored transcripts, contact records, booking confirmations — the assistant reads them and answers you.

One tool call, end to end

Three consequences worth knowing:

  • The key is the whole relationship. The assistant reaches exactly what the key's organization owns — nothing else — and revoking the key (Integrations → API access) kills the connection instantly.
  • Nothing persists between requests. There's no session on our side, no stored conversation, no cached data.
  • The server also teaches. It ships built-in instructions every assistant reads before its first tool call: how ClearTalk's pieces fit together, the test-first workflow, the craft of writing instructions and Pathways that perform, and the rule that live actions need your explicit go-ahead every time. Longer guides, with worked examples, are a tool call away. Expect your assistant to have opinions: it is told to point out what will cost you conversations, not just do as asked.

Connect it

You need two things: the server address, and an API key (create one under Integrations → API access).

https://mcp.cleartalk.ai/mcp

Claude Code

One command:

claude mcp add --transport http cleartalk https://mcp.cleartalk.ai/mcp \
  --header "Authorization: Bearer ct_your_key"

Claude Desktop

Settings → Developer → Edit Config, then add under mcpServers:

{
  "mcpServers": {
    "cleartalk": {
      "type": "http",
      "url": "https://mcp.cleartalk.ai/mcp",
      "headers": { "Authorization": "Bearer ct_your_key" }
    }
  }
}

Cursor

Settings → MCP → Add new server, or add to .cursor/mcp.json in your project:

{
  "mcpServers": {
    "cleartalk": {
      "url": "https://mcp.cleartalk.ai/mcp",
      "headers": { "Authorization": "Bearer ct_your_key" }
    }
  }
}

VS Code (Copilot agent mode)

Add .vscode/mcp.json to your workspace:

{
  "servers": {
    "cleartalk": {
      "type": "http",
      "url": "https://mcp.cleartalk.ai/mcp",
      "headers": { "Authorization": "Bearer ct_your_key" }
    }
  }
}

Any other MCP client

The server speaks standard streamable HTTP. Point the client at the URL above and have it send either header on every request — that's the entire contract:

Authorization: Bearer ct_your_key
      — or —
X-API-Key: ct_your_key

For agencies

Agencies connect once and work across every customer account. Use the agency address with a key from the agency portal (API access):

https://mcp.cleartalk.ai/agency/mcp
claude mcp add --transport http cleartalk-agency https://mcp.cleartalk.ai/agency/mcp \
  --header "Authorization: Bearer ct_your_agency_key"

It's the same toolset with two differences. There's one extra tool, list_customer_accounts, which lists your customers and their ids. And every other tool that touches an account takes an organization_id naming the customer to act in. The assistant is told to list your customers first, confirm which one you mean, and say which customer it's working in. A customer you don't manage can't be reached; the API refuses it.

claude.ai and ChatGPT in the browser

Browser-based connectors (claude.ai's custom connectors, ChatGPT's) require an OAuth sign-in flow this server doesn't offer yet, so they can't connect today. The connection works everywhere a key header can be configured: Claude Code, Claude Desktop, Cursor, VS Code, and other desktop/CLI MCP clients. OAuth support is planned.

The key has full access to its organization — treat the client config file it lives in like a password. Team members should each use their own named key, so access can be revoked per person.

Alongside the connection, we publish a skill — a short file that tells your assistant to load ClearTalk's full guidance from the server before it starts: how to structure Agent Instructions that perform, how to build Pathways, how to design test scenarios that catch real failures, and how to read results. The guidance itself lives on the server and stays current, so there's nothing to re-download. Some assistants only read the first part of a server's built-in instructions; the skill makes sure yours gets all of it.

Download SKILL.md.

Place it in a cleartalk folder inside your skills directory — for Claude Code, .claude/skills/cleartalk/ in your project.

That's it. The assistant loads the skill automatically whenever ClearTalk work comes up.

Safety model

  • Live actions announce themselves. The tools that touch the real world — placing a call, sending a text, booking a meeting, publishing a Pathway — are marked as live operations, and the assistant is instructed to state what will happen and get your confirmation before each one, every time.
  • Test runs are simulated. Agent testing spends credits but never places a call — that's the point: agents earn their way to real conversations.
  • The dangerous surface doesn't exist. No campaign start, no batch dialing, no do-not-contact removals, no deletes — those aren't restricted, they're absent, and an automated check keeps them absent.
  • Everything is attributable. Actions taken through the connection are ordinary API calls under the key's organization, visible in the same places any API activity is.

Troubleshooting

On this page