Compatible with every major AI agent and IDE
What is the Cartesia (Voice AI) MCP Server?
Connect Cartesia to your AI agent to unlock high-performance voice synthesis and speech recognition. Cartesia's Sonic models provide industry-leading latency and quality for real-time applications.
What you can do
- Text-to-Speech (TTS) — Generate high-fidelity audio bytes or stream via SSE using models like Sonic 3.5 and Sonic 3.
- Speech-to-Text (STT) — Transcribe audio files into text using the Ink Whisper model with multi-language support.
- Voice Cloning — Create custom voice models from as little as 5 seconds of audio input.
- Voice Management — List, retrieve, and update voices, or use the Voice Changer to transform existing audio.
- Pronunciation Control — Manage custom pronunciation dictionaries for specialized terminology or accents.
- Agent Orchestration — List and manage AI agents and monitor call logs and usage credits.
How it works
- Subscribe to this server
- Enter your Cartesia API Key
- Start generating audio or transcribing speech from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Developers — integrate real-time voice synthesis into applications without managing complex infrastructure.
- Content Creators — automate voiceovers and audio localization using high-quality cloned voices.
- Product Teams — build conversational AI agents that sound human and respond with sub-second latency.
Built-in capabilities (20)
Clone a voice from a 5s audio clip
Create a new pronunciation dictionary
Delete a pronunciation dictionary
Delete a voice
Generate a short-lived access token for client-side requests
Get details for a specific voice agent
Get credit usage statistics
Get details for a specific voice
Generate audio to smoothly connect two existing segments
List calls and transcripts for a specific agent
List all voice agents
List pronunciation dictionaries
List available voices
Adapt a voice to a new language/dialect
Transcribe audio file to text (Batch STT)
Generate text-to-speech audio bytes
Generate text-to-speech via Server-Sent Events
Update a pronunciation dictionary
Update voice metadata
Change voice of an audio clip while preserving intonation
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and Cartesia (Voice AI) tool infrastructure. Connect 20 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Cartesia (Voice AI) without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every Cartesia (Voice AI) tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
Cartesia (Voice AI) in Mastra AI
Cartesia (Voice AI) and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect Cartesia (Voice AI) to Mastra AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for Cartesia (Voice AI) in Mastra AI
The Cartesia (Voice AI) MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 20 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Mastra AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
Cartesia (Voice AI) for Mastra AI
Every tool call from Mastra AI to the Cartesia (Voice AI) MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
Can I generate audio in different formats like MP3 or WAV?
Yes. Using the tts_bytes tool, you can specify the output_format_container as 'mp3', 'wav', or 'raw', and configure the sample rate and encoding to match your needs.
How do I transcribe an existing audio file to text?
Use the stt_batch tool. Provide the base64 encoded audio file, specify the model (e.g., 'ink-whisper'), and the language code to receive a full transcription.
Is it possible to clone a voice using this integration?
Absolutely. The clone_voice tool allows you to create a new voice model by uploading a short (approx. 5s) base64 encoded audio clip.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Harmonic
11 toolsAutomate company and startup intelligence via Harmonic — enrich domains, track funding, and discover investors directly from any AI agent.

Kevel
11 toolsManage ad campaigns, inventory, and creatives via the Kevel Management API.

Middesk
9 toolsBusiness identity verification — verify entities, Secretary of State records, and tax registrations via Middesk.

Asset Panda
8 toolsTrack and manage fixed assets with Asset Panda — audit groups, objects, and locations via AI.
