Integrations
Plays system notification sounds on macOS when AI assistants like Windsurf or Cursor require user attention, such as when coding is complete or user approval is needed.
Runs as a Node.js application to provide sound notification capabilities for AI coding assistants.
Implemented in TypeScript, allowing customization of notification sound settings.
Sound Notification MCP (JPN followed By ENG)
このプロジェクトは、WindsurfやCursorなどのAIコーディングアシスタントがユーザーの注意が必要な場合に通知音を鳴らすMCPサーバーです。コーディングの終了時やユーザーの承認が必要なときに通知音を鳴らすことができます。
注意事項&免責
- ※設定を追加する際は必ずセットでrules(windsurfにはメモリ)に記載を追加してください。
- 現状MacOSにのみ対応しています。
- MCPのCALLはLLMの判断に任せることになるため、予想外のタイミングで音が鳴ったり想定通りに動作しない可能性があります。
- Cursor/Windsurf共通でコマンド実行前の承認は鳴らないことが多いです。
- Windsurfは終了時に通知音を複数回鳴らしてしまう現象があります。(クレジット消費しますのでご注意ください。)
セットアップ
前提条件
- Node.js (v18以上)
- Yarn
インストール
これで準備完了です。
WindsurfやCursorでの設定
Cursor
サンプルを/.cursor/mcp.jsonに記載しました。 (/.cursor/mcp.jsonに書くとプロジェクト毎に記載が必要になります。Globalで有効にしたければ設定アイコンから設定してください。)
Windsurf
mcp_config.json
に設定を記載します。
/.cursor/mcp.jsonと全く同じ内容で問題ありません。
カスタマイズ
通知音の変更
src/index.ts
ファイル内の以下の部分を変更します:
macOSで利用可能なシステムサウンドは /System/Library/Sounds/
ディレクトリにあります:
- Bottle.aiff
- Frog.aiff
- Funk.aiff
- Glass.aiff
- Hero.aiff
- Morse.aiff
- Ping.aiff
- Pop.aiff
- Purr.aiff
- Sosumi.aiff
- Submarine.aiff
- Tink.aiff
トラブルシューティング
音が鳴らない場合
- システム音量が適切に設定されているか確認してください。
- 指定した音声ファイルが存在するか確認してください。
- ターミナルの出力でエラーメッセージを確認してください。
MCPサーバーが起動しない場合
- Node.jsとYarnが正しくインストールされているか確認してください。
- 依存関係が正しくインストールされているか確認してください:Copy
- ビルドエラーがないか確認してください:Copy
ライセンス
MIT
English Version
This project is an MCP server that plays notification sounds when AI coding assistants like Windsurf or Cursor require user attention. It can play notification sounds when coding is complete or when user approval is needed.
Notes & Disclaimer
- ※ When adding settings, please always add corresponding entries to the rules.
- Currently only supports MAC as the creator uses a Mac and cannot verify on Windows.
- Since MCP CALLS depend on LLM judgment, sounds may play at unexpected times or not work as expected.
- For Cursor, sounds may sometimes not play before command execution approval.
- With Windsurf, there is a phenomenon where notification sounds may play multiple times.
Setup
Prerequisites
- Node.js (v18 or higher)
- Yarn
Installation
Now you're ready to go.
Configuration for Windsurf and Cursor
Cursor
A sample configuration is provided in /.cursor/mcp.json
(Writing to /.cursor/mcp.json requires configuration for each project. If you want to enable it globally, please configure it from the settings icon.)
Windsurf
Add configuration to mcp_config.json
.
The content can be exactly the same as /.cursor/mcp.json
.
For Windsurf, it is also strongly recommended to:
- Add the notification instructions to your
global_rules.md
file - Add the notification settings to your memories
This ensures that the AI assistant consistently uses sound notifications when needed.
Customization
Changing the Notification Sound
Modify the following section in the src/index.ts
file:
System sounds available on macOS can be found in the /System/Library/Sounds/
directory:
- Bottle.aiff
- Frog.aiff
- Funk.aiff
- Glass.aiff
- Hero.aiff
- Morse.aiff
- Ping.aiff
- Pop.aiff
- Purr.aiff
- Sosumi.aiff
- Submarine.aiff
- Tink.aiff
Troubleshooting
If No Sound Plays
- Check that the system volume is properly set.
- Verify that the specified sound file exists.
- Check the terminal output for error messages.
If the MCP Server Fails to Start
- Verify that Node.js and Yarn are correctly installed.
- Check that dependencies are properly installed:Copy
- Check for build errors:Copy
License
MIT
This server cannot be installed
An MCP server that plays notification sounds when AI coding assistants like Windsurf or Cursor require user attention, such as when coding is complete or when user approval is needed.