Windows Sound MCP Server
A Model Context Protocol server that provides the ability to play Windows system sounds. This server enables LLMs to list available system sounds and play them by name, with cross-platform support.
Available Tools
-
list_sounds- List all available Windows system sounds in the configured directory.- No required arguments
-
play_sound- Play a specific Windows system sound by name.- Required arguments:
sound_name(string): Name of the sound file to play (including the extension)
- Required arguments:
Installation
Using uv (recommended)
When using uv, no specific installation is needed. You can use uvx to directly run mcp-play-windows-sound.
Using PIP
Alternatively, you can install mcp-play-windows-sound via pip:
pip install mcp-play-windows-sound
After installation, you can run it as a script using:
python -m mcp_play_windows_sound
Configuration
Configure for Claude.app
Add to your Claude settings:
Using uvx
{
"mcpServers": {
"windows-sound": {
"command": "uvx",
"args": ["mcp-play-windows-sound"]
}
}
}
Using pip installation
{
"mcpServers": {
"windows-sound": {
"command": "python",
"args": ["-m", "mcp_play_windows_sound"]
}
}
}
Configure for VS Code
For manual installation, add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing Ctrl + Shift + P and typing Preferences: Open User Settings (JSON).
Optionally, you can add it to a file called .vscode/mcp.json in your workspace. This will allow you to share the configuration with others.
Note that the
mcpkey is needed when using themcp.jsonfile.
Using uvx
{
"mcp": {
"servers": {
"windows-sound": {
"command": "uvx",
"args": ["mcp-play-windows-sound"]
}
}
}
}
Using pip installation
{
"mcp": {
"servers": {
"windows-sound": {
"command": "python",
"args": ["-m", "mcp_play_windows_sound"]
}
}
}
}
Customization - Sound Folder
By default, the server looks for sounds in the Windows Media folder (typically C:\Windows\Media). You can override this by adding the argument --sound-folder to the args list in the configuration.
Example:
{
"command": "python",
"args": ["-m", "mcp_play_windows_sound", "--sound-folder=/path/to/custom/sounds"]
}
Example Interactions
- List all available sounds:
{
"name": "list_sounds",
"arguments": {}
}
Response:
{
"sounds": ["chimes.wav", "chord.wav", "ding.wav", "notify.wav", "recycle.wav", "tada.wav", ...],
"count": 10
}
- Play a specific sound:
{
"name": "play_sound",
"arguments": {
"sound_name": "tada.wav"
}
}
Response:
{
"sound_name": "tada.wav",
"success": true,
"message": "Successfully played sound: tada.wav"
}
Cross-Platform Support
While designed primarily for Windows, this server also works on:
- macOS: Uses
afplayto play sound files - Linux: Uses
aplayorpaplayto play sound files
Debugging
You can use the MCP inspector to debug the server. For uvx installations:
npx @modelcontextprotocol/inspector uvx mcp-play-windows-sound
Or if you've installed the package in a specific directory or are developing on it:
cd path/to/servers/src/sound
npx @modelcontextprotocol/inspector uv run mcp-play-windows-sound
Examples of Prompts for Claude
- "List all available Windows sounds"
- "Play the Windows notification sound"
- "What Windows system sounds are available?"
- "Play the 'tada.wav' sound"
License
mcp-play-windows-sound is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License.
Metadata
Release files for mcp-play-windows-sound 0.4.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mcp_play_windows_sound-0.4.6.tar.gz | 19.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_play_windows_sound-0.4.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.7 kB
Release files / mcp_play_windows_sound-0.4.6.tar.gz
| Download URL | mcp_play_windows_sound-0.4.6.tar.gz |
|---|---|
| Size | 19.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b2967b20b979994383f1585d81959d588809e19aa51e65fd8361fde377254c8
|
|
BLAKE2b-256 checksum How to use checksums |
7a27d57ac78444fd99223df83d4f4398ec52421477dd788582eecbe22dcb0da5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.1
|
Release files / mcp_play_windows_sound-0.4.6-py3-none-any.whl
| Download URL | mcp_play_windows_sound-0.4.6-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4e9b0bff59b58e89563e1778fa4a126e4ff1cb7b70df298deda309a0b69cbbac
|
|
BLAKE2b-256 checksum How to use checksums |
1fe8a1ecbabc4ebf0e940a75822faef2b33e9e00bde18c87bd2e9ec821b046a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.1
|
Security for mcp-play-windows-sound 0.4.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.