Notifications MCP Server

Notifications MCP Server

A Model Context Protocol server that allows AI agents to play notification sounds when tasks are completed.

Category
Visit Server

README

✨ Notifications MCP Server ✨

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

License Model 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-mcp Or 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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured