TTS MCP
Text-to-Speech protocol server that synthesizes text from LLMs and plays audio natively through the host system's desk speakers.
tts-mcp
MCP server that provides Text-to-Speech capabilities. It accepts text output from LLMs, synthesizes it using remote or local audio providers, and plays it directly through the host system's native speakers.
Features
- Direct Playback: Pipes synthesized audio to the host system natively.
- Provider Aggregation: Automatically exposes individual command tools for any configured TTS provider (
fishaudio_tts,elevenlabs_tts, etc.). - Persona Routing: Map specific voices and providers to semantic names to simplify LLM tool calls (
speak_as_persona). - Caching: Saves generated audio artifacts locally to an XDG cache directory.
Supported Providers
- FishAudio
- ElevenLabs
- Neets AI
- PlayHT
- Cartesia
- OpenAI
- Azure
- Local APIs
Installation
Requires Go 1.22+ to build from source via
just init
Download the pre-compiled binaries matching your OS from the Releases page.
Configuration
tts-mcp requires an .env file in your standard OS configuration directory:
- Windows:
%APPDATA%\tts-mcp\.env - Linux:
~/.config/tts-mcp/.env - macOS:
~/Library/Application Support/tts-mcp/.env
Run the included tts-mcp-config CLI to safely initialize this file, or populate it manually:
FISHAUDIO_API_KEY="<YOUR_API_KEY_HERE>"
ELEVENLABS_API_KEY="<YOUR_API_KEY_HERE>"
Setup
You can attach the server as a standard command-line MCP tool in your preferred AI editor.
Antigravity and Cursor
Add the executable to your MCP Servers configuration list:
- Name:
tts-mcp - Type:
command - Command:
/absolute/path/to/extracted/tts-mcp
Claude Code and Claude Desktop
Append to your claude_desktop_config.json:
{
"mcpServers": {
"tts-mcp": {
"command": "/absolute/path/to/extracted/tts-mcp"
}
}
}
Architecture
%%{init: {'theme': 'dark'}}%%
sequenceDiagram
participant Client as IDE (Client)
participant MCP as tts-mcp
participant Config as XDG Config
participant Provider as TTS API Runtime
participant Audio as Native Audio Driver
participant Cache as XDG Cache
Client->>MCP: Call `speak_as_persona` (text, persona)
MCP->>Config: Map persona to provider/voice_id
MCP->>Provider: Request speech synthesis
Provider-->>MCP: MP3/WAV Audio Stream
par Playback
MCP->>Audio: Buffer and pipe to host speakers
MCP->>Cache: Save stream to persistent storage
end
License
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Brev
A MCP server for managing Brev development environments using the Brev CLI.
Android MCP
An MCP server that provides control over Android devices through ADB. Offers device screenshot capture, UI layout analysis, package management, and ADB command execution capabilities.
Authless Remote MCP Server
An authentication-free remote MCP server designed for deployment on Cloudflare Workers.
Web3 Playground & Sandbox - Learn, Develop, Test MCP Servers + Toolkit SDK
Free Solidity compiler & Web3 IDE with interactive tutorials. Learn blockchain development, deploy smart contracts to 8+ chains (Ethereum, Polygon, Base, Arbitrum, Solana). Templates for tokens, NFTs, DeFi, DAOs. Monaco Editor, AI assistance, WCAG accessible. Remix alternative. Gas optimization, MetaMask integration, open source. Beginner-friendly. MCP toolkit.
Open MCP Server
A service framework supporting the Model Context Protocol (MCP) to integrate enterprise systems and AI platforms via RESTful, gRPC, and Dubbo protocols.
Enhanced QR Code MCP Server
Advanced QR code generation and processing with support for custom styling, multiple formats, batch processing, and analytics.
Foundry MCP Server
A lightweight MCP server for Solidity development using the Foundry toolchain (Forge, Cast, and Anvil).
Jadx MCP Plugin
A Java plugin that exposes the Jadx decompiler API over HTTP for interaction with MCP clients.
MCP REST Server
A server for interacting with REST APIs, featuring authentication and Swagger documentation support.
WRG MCP Server
A server providing tools for weapon recoil generation and visualization via HTTP endpoints.