Provides a tool for playing local sound files on macOS systems using the afplay command, allowing for audio notifications to be triggered by AI responses.
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., "@play-sound-mcp-serverplay a notification sound after responding"
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.
play-sound-mcp-server
ローカルのサウンドファイルを再生するMCPサーバーです
⚠️ 本サーバーは
afplayコマンドを利用するため、macOS環境でのみ利用可能 です。
セットアップ
npm install
npm run buildRelated MCP server: MCP Make Sound
サーバーの起動と使い方
サウンドファイルの指定
サーバー起動時の第1引数で再生したいファイル名(soundsディレクトリ内)を指定できます。
指定しない場合は sound.mp3 が再生されます。
例: sounds/alert.mp3 を再生したい場合
node build/index.js alert.mp3デフォルト(sound.mp3)を再生する場合:
node build/index.js※ サウンドファイルは
sounds/ディレクトリに配置してください。
提供ツール情報
tool名:
play-local-sound説明: 指定したローカルのサウンドファイル(デフォルト: sound.mp3)をafplayで再生します。
引数: なし(サーバー起動時の引数でファイル名を指定)
戻り値: 再生結果のテキストメッセージ
MCPサーバーの設定例
MCPクライアントで以下のように設定してください(下記はVSCodeのsettings.jsonの例です):
{
"mcpServers": {
"play-sound-mcp-server": {
"command": "node",
"args": ["/path/to/play-sound-mcp-server/build/index.js", "custom.mp3"]
}
},
"github.copilot.chat.codeGeneration.instructions": [
{
"text": "レスポンスを返した後で必ずplay-sound-mcp-serverのplay-local-soundを実行"
}
]
}参考
MCP公式: https://modelcontextprotocol.io/quickstart/server
SDK: https://github.com/modelcontextprotocol/create-python-server
備考
デフォルトの sound.mp3 は TAM Music Factory の素材を利用しています。
ライセンス
本リポジトリのソースコードは MIT ライセンスで提供します。
デフォルト音源(sound.mp3)は TAM Music Factory の利用規約に従ってご利用ください。
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.