Zonos TTS MCP
Facilitates direct speech generation using Claude for multiple languages and emotions, integrating with a Zonos TTS setup via the Model Context Protocol.
Facilitates direct speech generation using Claude for multiple languages and emotions, integrating with a Zonos TTS setup via the Model Context Protocol.
A Model Context Protocol integration for Zonos TTS, allowing Claude to generate speech directly.
To install Zonos TTS Integration for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @PhialsBasement/zonos-tts-mcp --client claude
Make sure you have Zonos running with our API implementation (PhialsBasement/zonos-api)
Install dependencies:
npm install @modelcontextprotocol/sdk axios
Configure PulseAudio access:
# Your pulse audio should be properly configured for audio playback
# The MCP server will automatically try to connect to your pulse server
Build the MCP server:
npm run build
# This will create the dist folder with the compiled server
Add to Claude's config file:
Edit your Claude config file (usually in ~/.config/claude/config.json
) and add this to the mcpServers
section:
"zonos-tts": {
"command": "node",
"args": [
"/path/to/your/zonos-mcp/dist/server.js"
]
}
Replace /path/to/your/zonos-mcp
with the actual path where you installed the MCP server.
Once configured, Claude automatically knows how to use the speak_response
tool:
speak_response(
text="Your text here",
language="en-us", # optional, defaults to en-us
emotion="happy" # optional: "neutral", "happy", "sad", "angry"
)