Zonos TTS MCP for Linux

Zonos TTS MCP for Linux

By angrysky56 GitHub

Zonos MCP server modified for Linux and GPU optimizations.

tts claude
Overview

what is Zonos TTS MCP for Linux?

Zonos TTS MCP for Linux is a modified server that integrates the Model Context Protocol (MCP) with Zonos TTS, enabling Claude AI to generate natural-sounding speech on Linux systems.

how to use Zonos TTS MCP for Linux?

To use this project, install the Zonos API and configure the MCP server according to the provided setup instructions. Once set up, you can use the speak_response tool in Claude to generate speech from text.

key features of Zonos TTS MCP for Linux?

  • Text-to-speech capabilities through Claude AI
  • Support for multiple emotions (neutral, happy, sad, angry)
  • Multi-language support
  • Proper audio playback through PulseAudio/PipeWire
  • Optimized for Linux environments with GPU support

use cases of Zonos TTS MCP for Linux?

  1. Generating speech responses in applications using Claude AI.
  2. Creating interactive voice applications that require emotional tone.
  3. Enhancing accessibility features in software by providing text-to-speech functionality.

FAQ from Zonos TTS MCP for Linux?

  • What are the system requirements?

You need Node.js, PulseAudio or PipeWire, and a running instance of the Zonos API.

  • Is this project compatible with all Linux distributions?

Yes, as long as the required dependencies are met.

  • How can I troubleshoot common issues?

The project includes troubleshooting tips for common error messages and performance optimizations.

Content

Zonos TTS MCP for Linux

smithery badge

A Model Context Protocol integration for Zonos TTS, allowing Claude to generate speech directly on Linux systems.

Overview

This project enables text-to-speech capabilities for Claude AI using the Zonos TTS system. The integration uses the Model Context Protocol (MCP) to allow Claude to generate natural-sounding speech in multiple languages and emotions.

Key Features

  • Text-to-speech through Claude
  • Multiple emotions support (neutral, happy, sad, angry)
  • Multi-language support
  • Proper audio playback through PulseAudio/PipeWire
  • Compatible with Linux environments

Requirements

  • Node.js
  • PulseAudio or PipeWire with PulseAudio compatibility layer
  • Running instance of Zonos API (PhialsBasement/zonos-api)
  • Working audio output device
  • Claude Desktop app

Setup

Installing via Smithery

To install the original UNMODIFIED version of Zonos TTS Integration for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @PhialsBasement/zonos-tts-mcp --client claude

Manual installation for Linux with GPU optimizations

  1. Make sure you have Zonos API running with the API implementation (PhialsBasement/zonos-api)

  2. Clone this repository:

git clone https://github.com/angrysky56/Zonos-TTS-MCP-Linux.git
cd Zonos-TTS-MCP-Linux
  1. Install dependencies:
npm install @modelcontextprotocol/sdk axios zod
  1. Build the MCP server:
npm run build
  1. Add to Claude's config file: Edit your Claude config file (search for files containing "mcpServers" in your home directory) and add this to the mcpServers section:
"zonos-tts-mcp": {
  "command": "node",
  "args": [
    "/path/to/your/Zonos-TTS-MCP-Linux/dist/server.js"
  ]
}

Replace /path/to/your/Zonos-TTS-MCP-Linux with the actual path where you installed this project.

Troubleshooting

Error Messages in Console

If you encounter error messages like:

Unexpected token 'P', 'Playing au'... is not valid JSON

This project includes fixes for these common issues:

  1. Console output has been redirected to a log file (/tmp/zonos-tts-mcp.log) instead of standard output to prevent JSON parsing errors.
  2. The TTS parameters have been optimized for better performance.

Performance Optimization

This fork includes performance optimizations to reduce GPU load:

  • Using more efficient sampling parameters (top_p and min_p)
  • Improved log handling to prevent interference with MCP communication

Using with Claude

Once configured, Claude can 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"
)

Credit

This project is a modified version of PhialsBasement/zonos-tts-mcp, adapted for improved Linux compatibility and performance.

The Zonos TTS system is developed by Zyphra and is available through their Zonos API.

License

See the original project for license information.

Notes

  • Make sure both the Zonos API server and this MCP server are running
  • Audio playback requires proper PulseAudio/PipeWire configuration
  • If you experience high GPU usage, you may want to adjust the TTS parameters in the server code
No tools information available.

Atom of Thoughts (AoT) MCP is a server that decomposes complex problems into independent atomic units of thought, using the dependencies between these units to deliver more robust reasoning and validated insights.

mcp claude
View Details

A Model Context Protocol (MCP) server for web content scanning and analysis. This server provides tools for fetching, analyzing, and extracting information from web pages.

mcp claude
View Details
Awesome MCP ZH
Awesome MCP ZH by vivekkeditz

MCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients

mcp claude
View Details

Google Search Console Insights with Claude AI for SEOs

seo claude
View Details

MCP server for accessing geologic data with the Macrostrat API

geology claude
View Details
EDUCHAIN Agent Kit
EDUCHAIN Agent Kit by SailFish-Finance

This MCP (Model Context Protocol) server is integrated into Claude's MCP and maintained by SailFish

ai claude
View Details