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
Model Context Protocol (MCP) サーバーで、Microsoft Edge のテキスト読み上げ機能を活用した AI エージェントの音声合成サービスを提供します。
概要
この MCP サーバーは、edge-ttsライブラリを使用して、テキストから音声への変換機能を提供します。AI エージェントが自然な音声で応答できるようにするためのツールとして設計されています。
Related MCP server: LINE Bot 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.pyuvx(uvicorn)での実行
FastAPI ベースのサーバーとして uv で実行する場合:
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 エンドポイント
ライセンス
MIT