Kokoro TTS MCP サーバー
Kokoro TTSエンジンを用いたテキスト読み上げ機能を提供するモデルコンテキストプロトコル(MCP)サーバーです。このサーバーはMCPツールを通じてTTS機能を公開するため、アプリケーションへの音声合成の統合が容易になります。
前提条件
Python 3.10以上
uvパッケージマネージャー
インストール
まず、
uvパッケージ マネージャーをインストールします。
このリポジトリをクローンし、依存関係をインストールします。
特徴
カスタマイズ可能な音声によるテキスト音声合成
音声速度を調整可能
オーディオをファイルに保存したり直接再生したりできるサポート
クロスプラットフォームのオーディオ再生サポート (Windows、macOS、Linux)
使用法
サーバーは、次のパラメータを持つ単一の MCP ツールgenerate_speech提供します。
text(必須): 音声に変換するテキストvoice(オプション): 合成に使用する音声 (デフォルト: "af_heart")speed(オプション):音声速度の乗数(デフォルト:1.0)save_path(オプション): オーディオファイルを保存するディレクトリplay_audio(オプション): オーディオをすぐに再生するかどうか (デフォルト: False)
使用例
依存関係
ココロ >= 0.8.4
mcp[cli] >= 1.3.0
サウンドファイル >= 0.13.1
プラットフォームサポート
オーディオ再生は以下でサポートされています:
Windows (
startを使用)macOS (
afplayを使用)Linux (
aplayを使用)
MCP構成
MCP 設定ファイルに次の構成を追加します。
ライセンス
[ここにライセンス情報を追加してください]
Related MCP Servers
- -securityAlicense-qualityA 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.Last updated -21MIT License
- -securityFlicense-qualityEnables seamless integration with Typecast API through the Model Context Protocol, allowing clients to manage voices, convert text to speech, and play audio in a standardized way.Last updated -2
Gladia MCPofficial
-security-license-qualityOfficial Model Context Protocol server that enables interaction with powerful Speech-to-Text and Audio Intelligence APIs, allowing clients like Claude Desktop to transcribe audio, analyze speech, translate content, and more.- -security-license-qualityA Model Context Protocol server that enables developers to integrate advanced text-to-speech and video translation capabilities into their applications through simple API calls.