Integrates with the Kokoro TTS engine to provide customizable text-to-speech capabilities, supporting cross-platform aud...
Created byApr 23, 2025
Kokoro TTS MCP Server
A Model Context Protocol (MCP) server that provides text-to-speech capabilities using the Kokoro TTS engine. This server exposes TTS functionality through MCP tools, making it easy to integrate speech synthesis into your applications.
Prerequisites
Python 3.10 or higher
`uv` package manager
Installation
First, install the `uv` package manager:
Clone this repository and install dependencies:
Features
Text-to-speech synthesis with customizable voices
Adjustable speech speed
Support for saving audio to files or direct playback
Cross-platform audio playback support (Windows, macOS, Linux)
Usage
The server provides a single MCP tool `generate_speech` with the following parameters:
`text` (required): The text to convert to speech
`voice` (optional): Voice to use for synthesis (default: "af_heart")