MCP TTS Server
@kristofferv98
关于 MCP TTS Server
MCP Server wrapper for TTS engines (Kokoro TTS and OpenAI TTS)
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"MCP_tts_server": {
"command": "uv",
"args": [
"venv"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP TTS Server?
MCP TTS Server is a Text-to-Speech server built on the Model Context Protocol (MCP) framework. It provides a unified interface to multiple TTS engines—Kokoro TTS (local) and OpenAI TTS (cloud)—for use with Claude Desktop and other MCP-compatible hosts.
How to use MCP TTS Server?
Install prerequisites (Python ≥3.10, uv), clone the repository, create a virtual environment, and install dependencies. Configure an OpenAI API key in a .env file if using the OpenAI engine. Integrate with Claude Desktop via fastmcp install or by adding the server to claude_desktop_config.json. The server exposes the tts tool to convert text to speech with engine, voice, speed, and instructions parameters.
Key features of MCP TTS Server
- Supports Kokoro (local) and OpenAI (cloud) TTS engines
- Real-time streaming audio playback
- MCP protocol integration with Claude and other LLMs
- Configurable voice selection for both engines
- Voice customization via natural language instructions (OpenAI)
- Playback control: stop and clear the audio queue
Use cases of MCP TTS Server
- Enabling Claude to speak responses using a local or cloud TTS engine
- Generating speech offline with Kokoro without external API calls
- Using OpenAI’s high-quality voices with customizable instructions for character or emotion
- Stopping ongoing speech and clearing queued requests on demand
FAQ from MCP TTS Server
What TTS engines does the server support?
The server supports Kokoro TTS (local) and OpenAI TTS (cloud) through a single unified interface.
Do I need an API key to use OpenAI TTS?
Yes, an OpenAI API key is required and must be set in a .env file. Kokoro TTS works entirely locally with no API key.
How do I integrate this server with Claude Desktop?
You can register the server using fastmcp install ./tts_mcp.py --name tts, or manually add the server configuration to Claude Desktop’s claude_desktop_config.json.
其他 分类下的更多 MCP 服务器
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Blender
ahujasidOpen-source MCP to use Blender with any LLM
评论