MS-Lucidia-Voice-Gateway-MCP
MS-Lucidia-Voice-Gateway-MCP
Windows の組み込み音声サービスを使用して、テキスト読み上げ機能と音声テキスト変換機能を提供するモデルコンテキストプロトコル (MCP) サーバーです。このサーバーは、PowerShell コマンドを通じてネイティブの Windows Speech API (SAPI) を活用するため、外部 API やサービスは必要ありません。
特徴
Windows SAPI 音声を使用したテキスト読み上げ (TTS)
Windows 音声認識を使用した音声テキスト変換 (STT)
テスト用のシンプルなWebインターフェース
外部APIへの依存なし
ネイティブのWindows機能を使用する
Related MCP server: Edge TTS MCP
前提条件
音声認識が有効になっているWindows 10/11
Node.js 16以上
パワーシェル
インストール
リポジトリをクローンします。
git clone https://github.com/ExpressionsBot/MS-Lucidia-Voice-Gateway-MCP.git
cd MS-Lucidia-Voice-Gateway-MCP依存関係をインストールします:
npm installプロジェクトをビルドします。
npm run build使用法
テストインターフェース
テスト サーバーを起動します。
npm run testブラウザで
http://localhost:3000を開きます。Webインターフェースを使用してTTSおよびSTT機能をテストする
利用可能なツール
テキスト読み上げ
Windows SAPI を使用してテキストを音声に変換します。
パラメータ:
text(必須): 音声に変換するテキストvoice(オプション): 使用する音声 (例: "Microsoft David Desktop")speed(オプション):0.5~2.0の音声速度(デフォルト:1.0)
例:
fetch('http://localhost:3000/tts', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
text: "Hello, this is a test",
voice: "Microsoft David Desktop",
speed: 1.0
})
});音声テキスト変換
Windows 音声認識を使用して音声を録音し、テキストに変換します。
パラメータ:
duration(オプション):録画時間(秒)(デフォルト:5、最大:60)
例:
fetch('http://localhost:3000/stt', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
duration: 5
})
}).then(response => response.json())
.then(data => console.log(data.text));トラブルシューティング
Windows 音声認識が有効になっていることを確認します。
Windowsの設定を開く
「時間と言語」>「スピーチ」へ移動
音声認識を有効にする
利用可能な音声を確認してください:
PowerShellを開いて実行: GXP7
音声認識をテストする:
Windows設定で音声認識を開く
まだ実行していない場合はセットアップウィザードを実行します
Windowsがあなたの声を認識できるかテストする
貢献
リポジトリをフォークする
機能ブランチを作成する
変更をコミットする
ブランチにプッシュする
新しいプルリクエストを作成する
ライセンス
マサチューセッツ工科大学
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for Text-to-Speech
MCP server for Speech-to-Text
MCP server exposing the AceDataCloud Fish Audio API (text-to-speech with voice conditioning)
AI voice generation: text-to-speech and voice cloning from any MCP client.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides text-to-speech functionality for AI agents using Microsoft Edge's text-to-speech technology, supporting multiple voices, languages, and voice customization.28MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that converts text into lifelike speech using Microsoft Edge's Text-to-Speech service, supporting customizable voice, rate, volume, and pitch.4MIT
- FlicenseNot gradedqualityDmaintenanceA lightweight MCP server that provides offline text-to-speech via native OS speech engines. It allows AI assistants to speak task summaries instantly with no network calls.-
- AlicenseAqualityAmaintenanceText-to-speech MCP server that enables AI assistants to read text aloud on the user's computer using Windows SAPI, with no API key or cloud service required.144 PyPI1MIT