The server can run as a FastAPI-based service with endpoints for API information, health checks, voice listings, and MCP communication.
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: MCP-Server-TESS
function
Text to speech conversion
Multiple voice and language support
Adjust audio speed and pitch
Streaming audio data
install
Or if you want to install in development mode:
How to use
Example setup in VS Code
Example of setting in VS Code settings.json:
Use with MCP Inspector
Runs as a standard MCP server:
Running with uvx (uvicorn)
If you run it as a FastAPI based server under uv:
Command line options:
API 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
This server cannot be installed