Skip to main content

Notification Sound Windows

A Windows notification sound player for Model Context Protocol (MCP) servers. This package provides simple audio playback functionality for Windows systems, enabling AI agents and applications to play sound notifications.

✨ Windows Focused This package is specifically designed and optimized for Windows systems, providing reliable audio notification capabilities.

Features

  • Windows Audio Support: Native Windows sound playback using system APIs
  • 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
  • Easy Integration: Simple API for integration with MCP servers and applications

Installation & Setup

Development Setup

  1. Clone and install:
git clone <repository-url>
cd notification-sound-windows
python -m venv .venv
.venv\Scripts\activate
pip install -e ".[dev]"
  1. Configure Claude Desktop: Add to your claude_desktop_config.json:
{
  "mcpServers": {
    "notification-sound": {
      "command": "uv",
      "args": [
              "run",
              "mcp-server-play-sound"
          ],
    }
  }
}
  1. Test: Restart Claude Desktop and ask: "Can you play a notification sound?"

Configuration

Environment variables (optional):

  • CUSTOM_SOUND_PATH: Path to custom audio file
  • VOLUME_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 file
  • message (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

Release files for notification-sound-windows 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for notification-sound-windows 0.1.0
File Size Uploaded
notification_sound_windows-0.1.0.tar.gz 19.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for notification-sound-windows 0.1.0
File Interpreter ABI Platform
notification_sound_windows-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 34.9 kB

Release files / notification_sound_windows-0.1.0.tar.gz

Download URL notification_sound_windows-0.1.0.tar.gz
Size 19.8 kB
Tags Source
SHA-256 checksum
How to use checksums
286afc68e7dc52eed3e06d26c171130dd023ec982a1fd40f228dd90a6bc25465
BLAKE2b-256 checksum
How to use checksums
beeb3c7dfaf0b9b86c8d471c5c6050150b31618c795960ae9c1810ffe2145258
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.9

Release files / notification_sound_windows-0.1.0-py3-none-any.whl

Download URL notification_sound_windows-0.1.0-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f6bc8073fe4115a0b691a8c5b16b3f1d49c7a8c53ca5cc6d26cb6edce28494d6
BLAKE2b-256 checksum
How to use checksums
8adb06618c6ef1f4c99df8f5e20dfc26efbd0d08c2529dd7ab49e3cff1a493d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.9

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page