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 設定ファイルに次の構成を追加します。
ライセンス
[ここにライセンス情報を追加してください]
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
モデル コンテキスト プロトコルを通じてテキスト読み上げ機能を提供し、カスタマイズ可能な音声、調整可能な音声速度、クロスプラットフォームのオーディオ再生サポートを備えた音声合成をアプリケーションで簡単に統合できるようにします。
Related Resources
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 -01MIT 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
-securityAlicense-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.- -securityAlicense-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.