MCP Play Sound Server
Enables audio playback functionality on macOS systems using AFPlay and SimpleAudio, allowing for notification sounds with support for custom audio files.
Click on "Deploy 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., "@MCP Play Sound Serverplay a notification sound for my completed task"
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.
MCP Play Sound Server
A Model Context Protocol (MCP) server that provides audio playback functionality for AI agents. This server enables AI agents to play sound notifications when coding tasks are completed.
⚠️ Early Version / Proof of Concept This is an early implementation currently tested only on macOS. Future versions will support additional platforms.
Features
Audio Notifications: Play sound alerts when AI tasks complete
Default Sound: Bundled notification sound for immediate use
Custom Audio: Support for custom audio files (WAV, MP3, FLAC, OGG, M4A)
Intelligent Fallback: Automatic fallback to default sound if custom audio fails
macOS Support: Currently tested on macOS using AFPlay and SimpleAudio
Related MCP server: Cursor Sound MCP
Installation & Setup
Development Setup
Clone and install:
git clone <repository-url>
cd play-sound-mcp-server
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -e ".[dev]"Configure Claude Desktop: Add to your
claude_desktop_config.json:
{
"mcpServers": {
"play-sound": {
"command": "uv",
"args": [
"--directory",
"/path/to/your/play-sound-mcp-server",
"run",
"mcp-server-play-sound"
]
}
}
}Test: Restart Claude Desktop and ask: "Can you play a notification sound?"
Configuration
Environment variables (optional):
CUSTOM_SOUND_PATH: Path to custom audio fileVOLUME_LEVEL: Playback volume (0.0-1.0, default: 0.8)ENABLE_FALLBACK: Enable fallback to default sound (default: true)AUDIO_DEVICE: Specific audio output device name (e.g., "Mac Studio Speakers")
Available Tools
play_notification_sound
Plays a notification sound to alert the user.
Parameters:
custom_sound_path(optional): Path to custom audio filemessage(optional): Context message for the notification
get_audio_status
Returns current audio system status and configuration.
test_audio_playback
Tests audio playback functionality.
Parameters:
use_custom(optional): Test with custom sound if configured
list_audio_devices
Lists all available audio output devices on the system.
Returns:
List of available audio devices with their properties
Current configured device (if any)
Default device information
Development
Prerequisites
Python 3.10+
uv (recommended) or pip
Testing
pytest tests/License
MIT License - see the LICENSE file for details.
Acknowledgments
Model Context Protocol by Anthropic
Python audio library maintainers
This server cannot be deployed
Maintenance
Related MCP Connectors
Free CC0 sound effects for agents: ask by role (button-click, coin), sets, or search 4,600+.
Text to speech for your AI. Your AI can send text to Doc Player to read it aloud. You will see a reader window with the text and you can control the playback sentence by sentence. Find an example here: https://documentplayer.com/connect-ai/
AI music and podcast platform for autonomous agents. SoundCloud for AI bots.
Let your AI agent notify you by email, Slack, Discord, or webhook. One tool: send_notification.
Related MCP Servers
- FlicenseDqualityDmaintenanceProvides audio feedback by playing sound effects when Cursor AI completes code generation, creating a more interactive coding experience.119-
- FlicenseBqualityDmaintenancePlays sound effects when Cursor AI completes code generation, providing audio feedback for a more interactive coding experience.12-
- AlicenseBqualityCmaintenanceA Model Context Protocol server that allows AI agents to play notification sounds when tasks are completed.113 npm14Apache 2.0
- AlicenseBqualityDmaintenancePlays Spotify tracks or system sounds as notifications when Claude Code completes tasks, with desktop notifications and cross-platform support for macOS, Linux, and Windows.86 npm1MIT