Edge-TTS MCP Server
Edge-TTS MCP 服务器
模型上下文协议 (MCP) 服务器为利用 Microsoft Edge 的文本转语音功能的 AI 代理提供语音合成服务。
概述
该 MCP 服务器使用edge-tts库提供文本转语音功能。它被设计为一种工具,使人工智能代理能够以自然的声音做出回应。
Related MCP server: AivisSpeech MCP Server
功能
文本到语音转换
多种语音和语言支持
调整音频速度和音调
流音频数据
安装
pip install "edge_tts_mcp_server"或者如果您想以开发模式安装:
git clone https://github.com/yuiseki/edge_tts_mcp_server.git
cd edge_tts_mcp_server
pip install -e .如何使用
VS Code 中的示例设置
VS Code settings.json 中的设置示例:
"mcp": {
"servers": {
"edge-tts": {
"command": "uv",
"args": [
"--directory",
"C:\\Users\\__username__\\src\\edge_tts_mcp_server\\src\\edge_tts_mcp_server",
"run",
"server.py"
]
}
}
}与 MCP Inspector 一起使用
作为标准 MCP 服务器运行:
mcp dev server.py使用 uvx (uvicorn) 运行
如果您将其作为 uv 下的基于 FastAPI 的服务器运行:
uv --directory path/to/edge_tts_mcp_server/src/edge_tts_mcp_server run server.py命令行选项:
edge-tts-mcp --host 0.0.0.0 --port 8080 --reloadAPI 端点
在 FastAPI 模式下运行时,以下端点可用:
/- API 信息/health健康检查/voices- 可用声音列表(可选择按?locale=ja-JP等进行过滤)/mcp- MCP API 端点
执照
麻省理工学院
Available Tools
2 toolslist_voicesC
Get a list of available voices
Inputs: locale.
text_to_speechC
Convert text to speech
Inputs: text (required), voice, rate, volume, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have completely distinct purposes: one lists available voices, the other converts text to speech. There is no overlap or ambiguity between them, making it easy for an agent to select the correct tool for each task.
Both tools follow a consistent verb_noun naming pattern (list_voices, text_to_speech). The naming is clear, predictable, and adheres to a uniform style throughout the tool set.
With only 2 tools, the server feels thin for a text-to-speech domain. While the tools cover core functionality, typical TTS systems might include additional operations like voice configuration, audio format settings, or batch processing, suggesting the scope is under-served.
The tools cover basic TTS operations (listing voices and converting text), but there are notable gaps. For example, there is no tool for configuring voice parameters (e.g., pitch, rate) or managing audio output formats, which could limit agent capabilities in more complex scenarios.
Maintenance
Related MCP Connectors
Remote text-to-speech MCP server with text_to_speech and list_voices tools. Free plan.
Hosted text-to-speech MCP server: 66 voices in 9 languages, long-form narration, podcasts.
MCP server for Text-to-Speech
AI voice generation: text-to-speech and voice cloning from any MCP client.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides text-to-speech capabilities using the Kokoro TTS model, offering multiple voice options and customizable speech parameters.642MIT
- AlicenseDqualityDmaintenanceA Model Context Protocol server that enables AI assistants to utilize AivisSpeech Engine's high-quality voice synthesis capabilities through a standardized API interface.11ISC
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that integrates high-quality text-to-speech capabilities with Claude Desktop and other MCP-compatible clients, supporting multiple voice options and audio formats.1MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server that leverages the Microsoft Edge TTS service to provide high-quality text-to-speech capabilities across over 80 languages. It enables users to generate audio files, query available voices, and create subtitle files using natural language commands.-