Edge-TTS MCP Server
The server can run as a FastAPI-based service with endpoints for API information, health checks, voice listings, and MCP communication.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Edge-TTS MCP Serverconvert this text to speech with a British accent"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Edge-TTS MCP Server
A Model Context Protocol (MCP) server that provides speech synthesis services for AI agents that leverage the text-to-speech capabilities of Microsoft Edge.
overview
This MCP server uses the edge-tts library to provide text-to-speech capabilities, and is designed as a tool to enable AI agents to respond in a natural voice.
Related MCP server: AivisSpeech MCP Server
function
Text to speech conversion
Multiple voice and language support
Adjust audio speed and pitch
Streaming audio data
install
pip install "edge_tts_mcp_server"Or if you want to install in development mode:
git clone https://github.com/yuiseki/edge_tts_mcp_server.git
cd edge_tts_mcp_server
pip install -e .How to use
Example setup in VS Code
Example of setting in 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"
]
}
}
}Use with MCP Inspector
Runs as a standard MCP server:
mcp dev server.pyRunning with uvx (uvicorn)
If you run it as a FastAPI based server under uv:
uv --directory path/to/edge_tts_mcp_server/src/edge_tts_mcp_server run server.pyCommand line options:
edge-tts-mcp --host 0.0.0.0 --port 8080 --reloadAPI endpoint
When running in FastAPI mode, the following endpoints are available:
/- API information/health- health check/voices- List of available voices (optionally filterable by?locale=ja-JP, etc.)/mcp- MCP API endpoint
license
MIT
Available Tools
2 toolslist_voicesC
Get a list of available voices
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Optional locale to filter voices (e.g., ja-JP, en-US) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It states what the tool does but doesn't disclose behavioral traits like whether it's read-only, requires authentication, has rate limits, returns paginated results, or what format the list is in. This leaves significant gaps for an agent to understand how to interact with it.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence with zero wasted words. It's appropriately sized for a simple tool and front-loaded with the essential information, making it easy to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations, no output schema, and a simple input schema, the description is incomplete. It doesn't explain what the list contains (e.g., voice names, IDs, properties), how results are structured, or any behavioral aspects. For a tool that returns data, more context is needed to use it effectively.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 100%, with the single parameter 'locale' documented in the schema. The description doesn't add any meaning beyond what the schema provides (e.g., it doesn't explain what happens if locale is omitted or provide examples beyond those in the schema). Baseline 3 is appropriate when the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Get a list') and resource ('available voices'), making the purpose immediately understandable. It doesn't differentiate from its sibling 'text_to_speech' tool, which performs a different function (synthesis vs listing), so it doesn't reach the highest score for sibling differentiation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives or in what context. While the sibling tool 'text_to_speech' is clearly for a different purpose, there's no explicit mention of when to use list_voices (e.g., for voice selection before synthesis) or any prerequisites.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
text_to_speechC
Convert text to speech
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to convert to speech | |
| voice | No | Voice to use (default: ja-JP-NanamiNeural) | ja-JP-NanamiNeural |
| rate | No | Speech rate (e.g., "+10%", "-10%") | 0% |
| volume | No | Speech volume (e.g., "+10%", "-10%") | 0% |
| pitch | No | Speech pitch (e.g., "+10%", "-10%") | 0% |
| play_audio | No | Play the audio if true | |
| use_default_player | No | Use default media player if true (use mpv if false) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure but only states the basic function. It doesn't mention whether this is a read-only or destructive operation, what permissions might be required, rate limits, what format the output takes (audio file, stream, etc.), or any error conditions. For a tool with 7 parameters and no annotation coverage, this is insufficient.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise at just three words, with zero wasted language. It's front-loaded with the core function and contains no unnecessary elaboration. While this conciseness comes at the cost of completeness, the structure itself is optimal for its length.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with 7 parameters, no annotations, and no output schema, the description is inadequate. It doesn't explain what the tool returns (audio format, file location, success indicators), doesn't provide behavioral context, and offers no usage guidance. The 100% schema coverage helps with parameters, but the overall context for proper tool invocation is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description adds no parameter information beyond what's already in the schema (which has 100% coverage). All 7 parameters are documented in the input schema with descriptions, defaults, and types. The description doesn't provide additional context about parameter interactions, validation rules, or examples of usage patterns.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Convert text to speech' clearly states the tool's function with a specific verb ('convert') and resource ('text to speech'), making the purpose immediately understandable. However, it doesn't distinguish this tool from its sibling 'list_voices' or explain how they differ in functionality.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. There's no mention of the sibling tool 'list_voices' or any context about when text-to-speech conversion is appropriate versus listing available voices. The description lacks any usage context or prerequisites.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
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
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
MCP server for Text-to-Speech
AI voice generation: text-to-speech and voice cloning from any MCP client.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server exposing the AceDataCloud Fish Audio API (text-to-speech with voice conditioning)
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.4251MIT
- FlicenseDqualityCmaintenanceA Model Context Protocol server that enables AI assistants to utilize AivisSpeech Engine's high-quality voice synthesis capabilities through a standardized API interface.11
- AlicenseNot gradedqualityCmaintenanceA 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.171MIT
- 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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yuiseki/edge_tts_mcp_server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server