mcpField
✨
✨ Notifications MCP Server ✨

✨ Notifications MCP Server ✨

Local
pinkpixel.devCommunication14Updated 15w ago

About ✨ Notifications MCP Server ✨

Notifications MCP Server lets AI agents signal task completion with desktop toasts, sounds, or both. It includes bundled sounds and supports custom sound files.

Key features

  1. 01Desktop toast and sound notifications
  2. 02Separate sound-only notification tool
  3. 03Six bundled sound choices
  4. 04Custom MP3 sound path
  5. 05Configurable notification mode

Use cases

  1. 01Signal when an agent task finishes
  2. 02Show a completion summary as a toast
  3. 03Use a distinct sound for task alerts

MCP support

The MCP server exposes `notify` and `play_notification` tools for MCP clients to display notifications or play sounds.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"notification": {
"command": "npx",
"args": [
"-y",
"@pinkpixel/notification-mcp"
]
}
}
}
Run commandnpx -y @pinkpixel/notification-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@pinkpixel/notification-mcp

Tools

2

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
messagestringNoOptional message to display with notification

Details

From the project README
Notification MCP Logo

✨ Notifications MCP Server ✨

Dream it, Pixel it. Made with ❤️ by Pink Pixel.

License Model Context Protocol npm version smithery badge

TypeScript Node.js npm

NPM Downloads GitHub Stars GitHub Issues PRs Welcome

Platform Support Built with Love Pink Pixel

Overview

A Model Context Protocol server that allows AI agents to play notification sounds when tasks are completed. This TypeScript-based MCP server provides a simple, configurable notification system with bundled sounds that work out of the box with npx!

✨ Features

🔧 Tools
  • notify - Show a desktop toast notification and/or play a sound when tasks complete (Recommended for summaries)
    • message (required): The notification message/summary of the completed task
    • title (optional): The title for the toast notification (defaults to "Task Completed")
    • mode (optional): "toast" | "sound" | "both" (defaults to "both")
    • sound (optional): Name of the sound to play, which overrides default settings
    • Fully supports Windows, macOS, and Linux out of the box!
  • play_notification - Play a notification sound to indicate task completion
    • Takes an optional message parameter to log/display with the notification
    • Supports cross-platform sound playback (Windows, macOS, and Linux)
    • Works with bundled sounds - no manual downloads required!
🎵 Built-in Sound Library

5 high-quality notification sounds bundled with the package:

  • cosmic - Space-themed notification 🌌
  • fairy - Magical, whimsical tone 🧚‍♀️
  • gentle - Soft, pleasant default sound (default) 🔔
  • pleasant - Balanced, professional tone 📞
  • retro - Nostalgic, vintage-style notification 🕹️
  • random - Randomly plays one of the 5 sounds 🎲

🚀 Quick Start

Option 1: Use Bundled Sounds (Recommended) ⭐

Just run it with npx - sounds included!

{
  "mcpServers": {
    "notifications": {
      "command": "npx",
      "args": ["-y", "@pinkpixel/notification-mcp"]
    }
  }
}
Option 2: Choose a Different Bundled Sound
{
  "mcpServers": {
    "notifications": {
      "command": "npx",
      "args": ["-y", "@pinkpixel/notification-mcp"],
      "env": {
        "MCP_NOTIFICATION_SOUND": "cosmic"
      }
    }
  }
}
Option 3: Random Sound Each Time 🎲
{
  "mcpServers": {
    "notifications": {
      "command": "npx",
      "args": ["-y", "@pinkpixel/notification-mcp"],
      "env": {
        "MCP_NOTIFICATION_SOUND": "random"
      }
    }
  }
}
Option 4: Use Your Own Custom Sound
{
  "mcpServers": {
    "notifications": {
      "command": "npx",
      "args": ["-y", "@pinkpixel/notification-mcp"],
      "env": {
        "MCP_NOTIFICATION_SOUND_PATH": "C:\\path\\to\\your\\sound.mp3"
      }
    }
  }
}

⚙️ Configuration

The notification sound can be configured using environment variables:

Environment Variables
VariableDescriptionDefault
MCP_NOTIFICATION_SOUNDChoose from bundled sounds: cosmic, fairy, gentle, pleasant, retro, randomgentle
MCP_NOTIFICATION_SOUND_PATHAbsolute path to your own MP3 file (overrides bundled sounds)null
Priority Order
  1. Custom Path (MCP_NOTIFICATION_SOUND_PATH) - highest priority
  2. Bundled Sound (MCP_NOTIFICATION_SOUND) - choose from 5 included sounds
  3. Default - gentle chime if nothing is specified

💻 Usage

Once configured, your MCP client can call either the unified notify tool or the audio-only play_notification tool:

1. Unified Toast + Sound Notification (Recommended)
await client.request({
  method: "tools/call",
  params: {
    name: "notify",
    arguments: {
      title: "Build Succeeded",
      message: "Antigravity successfully tested the package version 0.2.0! 🚀",
      mode: "both", // "toast", "sound", or "both"
      sound: "cosmic" // optional override
    }
  }
});
2. Audio-Only Notification
await client.request({
  method: "tools/call",
  params: {
    name: "play_notification",
    arguments: {
      message: "Task completed successfully! 🎉"
    }
  }
});

🛠️ Development

Local Development Setup
# Clone the repository
git clone https://github.com/pinkpixel-dev/notification-mcp.git
cd notification-mcp

# Install dependencies
npm install

# Build the server
npm run build

# For development with auto-rebuild
npm run watch
Local Development Configuration
{
  "mcpServers": {
    "notifications": {
      "command": "node",
      "args": ["./build/index.js"],
      "env": {
        "MCP_NOTIFICATION_SOUND": "retro"
      }
    }
  }
}
Debugging

Use the MCP Inspector for interactive debugging:

npm run inspector

The Inspector provides a web interface to test your MCP server in your browser.

📦 Installation Methods

NPX (Recommended)

No installation required - sounds are bundled automatically:

npx @pinkpixel/notification-mcp
Global Install
npm install -g @pinkpixel/notification-mcp
notification-mcp
Local Install
npm install @pinkpixel/notification-mcp
npx notification-mcp

🎵 Sound Files

All sound files are located in the sounds/ directory and are automatically included when you install the package:

  • Cosmic: sounds/cosmic_chime.mp3 - 🌌 Space-themed
  • Fairy: sounds/fairy_chime.mp3 - 🧚‍♀️ Magical
  • Gentle: sounds/gentle_chime.mp3 - 🔔 Default (soft)
  • Pleasant:sounds/pleasant_chime.mp3 - 📞 Professional
  • Retro: sounds/retro_chime.mp3 - 🕹️ Vintage
  • Random: Set MCP_NOTIFICATION_SOUND=random - 🎲 Surprise me!

🤝 Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

📄 License

This project is dual-licensed under the MIT and Apache 2.0 Licenses - see the LICENSE file for details.

🌟 About Pink Pixel


Made with ❤️ by Pink Pixel ✨

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.