pinkpixel-dev

✨ Notifications MCP Server ✨

Community pinkpixel-dev
Updated

A Model Context Protocol server that allows AI agents to play a notification sound via a tool when a task is completed.

✨ Notifications MCP Server ✨

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

LicenseModel Context Protocol

Overview

A Model Context Protocol server that allows AI agents to play a notification sound via a tool when a task is completed.

This is a TypeScript-based MCP server that provides a simple, configurable notification system. It demonstrates core MCP concepts by exposing a tool to play various sound alerts.

Features

Tools

  • play_notification - Play a notification sound to indicate task completion.
    • Takes an optional message parameter to display with the notification.
    • Supports cross-platform sound playback (Windows and macOS).

Configuration

The notification sound can be configured using environment variables in your MCP client's configuration (e.g., MCP_config.json).

You can choose from a set of downloadable sound files, or use your own MP3 file. You must configure the "MCP_NOTIFICATION_SOUND_PATH" environment variable to point to your desired sound file.

Available Sounds:

  • cosmic_chime.mp3
  • fairy_chime.mp3
  • gentle_chime.mp3
  • pleasant_chime.mp3
  • retro_chime.mp3

You can download these sounds from the github repository - notification-mcpOr alteratively, you can use your own MP3 file.Whichever sound you choose, you must set the MCP_NOTIFICATION_SOUND_PATH environment variable to the full path of the sound MP3 file, like so:

Example config.json entry:

{
  "mcpServers": {
    "notifications": {
      "command": "npx",
      "args": ["-y", "@pinkpixel/notification-mcp"],
      "env": {
        "MCP_NOTIFICATION_SOUND_PATH": "C:\\Users\\YOUR_USERNAME\\path\\to\\your\\sound.mp3"
      }
    }
  }
}

Important Note: Replace C:\\Users\\YOUR_USERNAME\\path\\to\\your\\sound.mp3 with the actual absolute path to your MP3 file. Ensure the path uses double backslashes \\ for Windows paths in JSON.

Usage

Once the server is configured and running, your MCP client can call the play_notification tool.

Example Tool Call (from an AI agent or client SDK):

await client.request({
  method: "tools/call",
  params: {
    name: "play_notification",
    arguments: {
      message: "Task completed successfully! 🎉"
    }
  }
});

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Installation

Run with npx:

{
  "mcpServers": {
    "notifications": {
      "command": "npx",
      "args": ["-y", "@pinkpixel/notification-mcp"]
      "env": {
        "MCP_NOTIFICATION_SOUND_PATH": "C:\\Users\\YOUR_USERNAME\\path\\to\\your\\sound.mp3"
        }
      }
   }
}

Clone the Repository

{
  "mcpServers": {
    "notifications": {
      "command": "node",
      "args": ["\\path\\to\\notification-mcp\\build\\index.js"],
      "env": {
        "MCP_NOTIFICATION_SOUND_PATH": "C:\\Users\\YOUR_USERNAME\\path\\to\\your\\sound.mp3"
      }
    }
  }
}

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

MCP Server · Populars

MCP Server · New

    vectorize-io

    hindsight

    Hindsight: Agent Memory That Works Like Human Memory

    Community vectorize-io
    jerichosequitin

    Metabase MCP Server

    A high-performance Model Context Protocol server for AI integration with Metabase analytics platforms. Features response optimization, robust error handling, and comprehensive data access tools. Featured on Claude.

    Community jerichosequitin
    82ch

    MCP-Dandan - MCP Security Framework

    MCP Security Solution for Agentic AI — real-time proxying, behavior analysis, and malicious tool detection

    Community 82ch
    Vvkmnn

    claude-historian-mcp

    🤖 An MCP server for Claude Code conversation history

    Community Vvkmnn
    tommyreid622

    Polymarket Copy Trading Bot

    Polymarket trading bot: Polymarket copytrading bot, Polymarket arbitrage bot on Polymarket, Monitor real price on Polymarket and calculate prob and automatically mirror positions with intelligent sizing and safety checks on Polymarket.(copytrading bot & arbitrage bot))

    Community tommyreid622