Cartesia MCP server for AI agents

Live

BEARER TOKEN

TEXT TO SPEECH

AI

Cartesia MCP gives your agent Cartesia's speech tools: generate speech from text, transcribe audio, clone and localize voices, and manage pronunciation dictionaries.

  • Per-user credentials: each call uses the actual user's access token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
Cartesia MCP
agent · Acme Q3
Run
Read this announcement aloud in a calm voice and save the audio.
S
cartesiamcp_text_to_speech
640ms
Speech agent
Generated the audio from your text and saved it to Cartesia cloud storage with a 24-hour download link.
Sources: Cartesia text to speech, 1 clip
cartesiamcp
1 clip
18:29
Message Claude...

Tools your speech agent reaches for on Cartesia MCP, scoped per user.

CALL ANY TOOL
19 tools for speech in Cartesia MCP: generate speech, transcribe audio, clone and localize voices, and manage pronunciation dictionaries and voice accents.
cartesiamcp_add_voice_accents
Add voice accents
Add accents to an instant voice clone you own so a single voice_id can speak multiple accents natively. A voice can support up to 10 accents in total, including native. Parameters ---------- voice_id : str The ID of the voice. accents : list[VoiceAccent] Catalog accent ids from GET /accents (for example `british` or `parisian`). Display names are rejected on this API version. request_options : typing.Optional[RequestOptions] Request-specific configuration (timeout, headers, query params, extra body fields, max_retries).
Parameters
Name
Type
Required
Description
accents
array
Required
Catalog accent ids from GET /accents (for example `british` or `parisian`). Display names are rejected on this API version.
voice_id
string
Required
The ID of the voice.
request_options
object
Optional
Request-specific configuration (timeout, headers, query params, extra body fields, max_retries).
cartesiamcp_clone_voice
Clone voice
cartesiamcp_create_pronunciation_dict
Create pronunciation dict
cartesiamcp_delete_pronunciation_dict
Delete pronunciation dict
cartesiamcp_delete_voice
Delete voice
cartesiamcp_delete_voice_accent
Delete voice accent
cartesiamcp_download_file
Download file
cartesiamcp_get_pronunciation_dict
Get pronunciation dict
cartesiamcp_get_voice
Get voice
cartesiamcp_list_accents
List accents
cartesiamcp_list_agent_models
List agent models
cartesiamcp_list_models
List models
cartesiamcp_list_pronunciation_dicts
List pronunciation dicts
cartesiamcp_list_voices
List voices
cartesiamcp_localize_voice
Localize voice
cartesiamcp_speech_to_text
Speech to text
cartesiamcp_text_to_speech
Text to speech
cartesiamcp_update_pronunciation_dict
Update pronunciation dict
cartesiamcp_update_voice
Update voice
Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// Cartesia tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["cartesiamcp"], toolNames: [
    "cartesiamcp_list_voices",
    "cartesiamcp_text_to_speech",
    "cartesiamcp_speech_to_text"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Pick a warm English voice, read this announcement aloud, then transcribe the saved audio back to text" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["cartesiamcp"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Pick a warm English voice, read this announcement aloud, then transcribe the saved audio back to text" }],
  tools,
});

// Execute the tool call with the user's vaulted Cartesia access token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["cartesiamcp"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Pick a warm English voice, read this announcement aloud, then transcribe the saved audio back to text" }],
  tools,
});

// Tool call runs with the user's vaulted Cartesia access token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["cartesiamcp"] }, pageSize: 100,
});

const agent = new Agent({
  name: "speech_agent",
  model: "gemini-2.5-pro",
  instruction: "Cartesia tools scoped to this user",
  tools,
});

await agent.run("Pick a warm English voice, read this announcement aloud, then transcribe the saved audio back to text");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Cartesia MCP tool. Click to copy, paste into your agent, done.
Speech and transcription
Copy the prompt
Copied
Turn this paragraph into speech with a friendly voice.
Copy the prompt
Copied
Transcribe this recorded audio file to text.
Copy the prompt
Copied
Fetch the audio file I generated earlier.
Voices
Copy the prompt
Copied
List the voices I can use.
Copy the prompt
Copied
Clone a voice from this audio clip.
Copy the prompt
Copied
Localize this voice to a new language and dialect.
Pronunciation and models
Copy the prompt
Copied
Create a pronunciation dictionary for our product names.
Copy the prompt
Copied
List my pronunciation dictionaries.
Copy the prompt
Copied
List the callable Sonic and Ink models.
SEE HOW AUTH WORKS
Each user connects their own Cartesia access token once, and Scalekit sends it with every call. Tokens stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Cartesia MCP
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Cartesia MCP
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
Cartesia MCP
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
Cartesia MCP
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other AI and media connectors.
Support and Ops Teams
Support triage agent
Fetches new Zendesk tickets, classifies them by type and urgency, searches the Notion knowledge base for an answer, and routes what it cannot resolve to Slack. Every call runs on the support agent's own delegated OAuth.
Test other agents
See the same per-user auth pattern across other AI and media connectors.
SUPPORT
Support triage agent
Classify new Zendesk tickets, search the Notion knowledge base for an answer, and route what it cannot resolve to Slack.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Cartesia access token looks fine in a demo. In production every voice clone and deletion looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Cartesia today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access Cartesia as the user or through a shared token?
As the user. Each user connects their own Cartesia access token once, and Scalekit sends it with every call. Audit logs attribute every clone, voice change, and deletion to that user, not a shared service account.
Where is the Cartesia access token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new access token. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Cartesia?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example text to speech and the list tools without cartesiamcp_delete_voice or cartesiamcp_delete_pronunciation_dict, which permanently remove a voice or a dictionary. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Cartesia access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Does the agent keep the audio it generates?
By default cartesiamcp_text_to_speech saves the audio in Cartesia cloud storage and returns a reference. cartesiamcp_download_file then fetches a stored file by ID and returns a 24-hour download URL.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""cartesiamcp"": {
""url"": ""https://mcp.scalekit.com/cartesiamcp"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.cartesiamcp]
url = ""https://mcp.scalekit.com/cartesiamcp""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""cartesiamcp"": {
""url"": ""https://mcp.scalekit.com/cartesiamcp"",
""type"": ""http""
}
}
}