kokoro-tts-mcp logo

kokoro-tts-mcpKokoro 文本转语音 (TTS) MCP 服务器

(0)
Daniel Nikulshyn审阅者 Daniel Nikulshyn·更新 2026年7月

概览

Kokoro 文本转语音 (TTS) MCP 服务器是一款开源的文本转语音系统,可生成 .mp3 文件并可选择上传至 S3。它使用 Hugging Face 提供的 Kokoro‑TTS 模型。系统支持用户自定义语音、速度和语言。 服务器通过 .env 文件中的环境变量进行配置。支持的环境变量包括 AWS 访问密钥、S3 存储桶信息以及调试模式。服务器可使用 UV 库在本地运行。 TTS 客户端位于 mcp_client.py 脚本中,用户可以向服务器发送 TTS 请求。它支持多种选项,如提供文本、从文件读取、定制语音和速度、以及禁用 S3 上传。 本地 MP3 文件存放在指定文件夹中,用户可通过设置保留天数以及成功上传至 S3 后是否删除本地文件来配置自动清理。

主要功能

  • 文本转语音功能
  • 可自定义语音、速度和语言
  • S3 上传集成
  • 自动 MP3 文件管理
  • 本地服务器和客户端脚本用于管理

价格

模型
Free
评分
暂无评价

使用场景

内容创作

使用可自定义的语音和速度,将文本生成音频内容,用于播客、有声书或社交媒体。

自动化

自动生成并上传 MP3 文件至 S3,以供应用或网站使用。

优点 & 缺点

优点

  • 可自定义 TTS 语音和速度
  • 生成的 MP3 文件可选 S3 上传
  • 自动清理本地 MP3 文件

缺点

  • 需要配置环境变量和 MCP 设置
  • 依赖 ffmpeg 等额外工具进行 .wav 转 .mp3 转换

评测

登录以留下评测。

暂无评测。来当第一个吧!

问答

What are the limitations of running this TTS server locally?

You need to configure several environment variables, install ffmpeg for conversion, and manage local MP3 storage. Automatic cleanup is based on MP3_RETENTION_DAYS, and deleting after upload is optional. The system requires Python, uv, and the Hugging Face model files to be downloaded locally.

Asked by Grzegorz Lewandowski · Feb 9, 2026

How do I customize voice, speed, and language in the TTS output?

Set the environment variables TTS_VOICE, TTS_SPEED, and TTS_LANGUAGE in the .env file or pass them as options when calling mcp_client.py. The server uses the Kokoro‑TTS model from Hugging Face, which supports multiple voices and languages.

Asked by Ines Zeković · Jan 28, 2026

What are the main integrations that Kokoro TTS supports?

The server integrates with Amazon S3 for optional MP3 uploads, requires ffmpeg for converting .wav to .mp3, and can be accessed via a local client script (mcp_client.py) or any HTTP client using the MCP configuration.

Asked by Katarzyna Zielinska · Dec 21, 2025

Is Kokoro TTS MCP Server free to use or is there a licensing cost?

Kokoro TTS MCP Server is open-source and released under a license that allows free use. No subscription or per‑use fees are required, but you must host and maintain the server yourself.

Asked by Camille Laurent · Dec 15, 2025

提问

服务配缩器 的替代品