Skip to main content

MCPサーバーでedge-ttsを提供するサービス

Project description

Edge-TTS MCP Server

Model Context Protocol (MCP) サーバーで、Microsoft Edge のテキスト読み上げ機能を活用した AI エージェントの音声合成サービスを提供します。

概要

この MCP サーバーは、edge-ttsライブラリを使用して、テキストから音声への変換機能を提供します。AI エージェントが自然な音声で応答できるようにするためのツールとして設計されています。

機能

  • テキストから音声への変換
  • 複数の音声と言語のサポート
  • 音声速度と音程の調整
  • 音声データのストリーミング

インストール

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)での実行

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 --reload

API エンドポイント

FastAPI モードで実行した場合、以下のエンドポイントが利用可能です:

  • / - API 情報
  • /health - ヘルスチェック
  • /voices - 利用可能な音声一覧(オプションで ?locale=ja-JP などでフィルタリング可能)
  • /mcp - MCP API エンドポイント

ライセンス

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file iflow_mcp_yuiseki_edge_tts_mcp_server-0.1.0.tar.gz.

File metadata

  • Download URL: iflow_mcp_yuiseki_edge_tts_mcp_server-0.1.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_yuiseki_edge_tts_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 607c6c95c8a5a33b5ab677085a3ca7629aee85089c114f16d4401a8c5f5b3400
MD5 89a90c0a574b1b8007787a11e8afbb9b
BLAKE2b-256 932e9105db04e631c02bcdc77ec6e01e303ef3a27e1d60be1775136d36343aab

See more details on using hashes here.

File details

Details for the file iflow_mcp_yuiseki_edge_tts_mcp_server-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_yuiseki_edge_tts_mcp_server-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_yuiseki_edge_tts_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ab4e2829a0a28b1012e99b7922844d590df52dbc04004c2291512dc9a9f0ba0
MD5 d6e8dcf38ad9cecf413453c74de4cada
BLAKE2b-256 7633a6422b82e8635ca437441780438ed236d25a7627f425a61d190be60ca629

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page