Skip to main content
Glama
mcp-notify

mcp-notify

by mrfqcentic

mcp-notify

Minimal MCP server that plays a notification sound and shows a system banner on your computer whenever your AI agent finishes a task or needs your attention.

Works with any MCP client: Claude Desktop, Claude Code, Cursor, VS Code, opencode, Cline, and more. One 3-line config, no API keys, no network calls — it only touches your local audio and notification facilities.

Install

Add to your client's MCP config (Claude Desktop claude_desktop_config.json, Cursor / VS Code mcp.json, or opencode config):

{
  "mcpServers": {
    "mcp-notify": {
      "command": "npx",
      "args": ["-y", "@mrfqcentic/mcp-notify"]
    }
  }
}

(opencode users: same shape under the mcp key with "type": "local" and "command": ["npx", "-y", "@mrfqcentic/mcp-notify"].)

Requires Node.js >= 20.

Related MCP server: Notifications MCP Server

Make the agent call it

Add one line to your AGENTS.md / CLAUDE.md / system prompt:

When a task is done or the user should be alerted, call the `notify` tool with a short title and a 1–2 sentence description of the result.

Tools

notify

Plays the sound and shows a banner. The agent always supplies title (max 50 chars) and message (max 200 chars).

Param

Required

Description

title

yes

Short banner title, e.g. "Build finished"

message

yes

1–2 sentence description, e.g. "All 142 tests passed"

sound

no

Absolute path to any audio/video file with audio (mp4, m4a, mp3, wav, aiff)

list_sounds

Lists available sounds and the currently selected default.

Choosing your sound

Resolution order:

  1. NOTIFY_SOUND env var — absolute path, explicit and deterministic

  2. A file in the sounds/ folder whose name starts with default (your pin)

  3. First audio file in the sounds/ folder (alphabetical — notify-me.mp3 ships here as the bundled default)

  4. The generated chime in assets/

  5. The system sound (macOS Glass.aiff, Linux bell.oga)

Tip: rename or copy your favorite sound to sounds/default.mp3 (or set NOTIFY_SOUND) to make it stick.

The bundled sounds/notify-me.mp3 was generated with ElevenLabs under a commercial license.

{
  "mcpServers": {
    "mcp-notify": {
      "command": "npx",
      "args": ["-y", "@mrfqcentic/mcp-notify"],
      "env": { "NOTIFY_SOUND": "/absolute/path/to/your-sound.mp3" }
    }
  }
}

Tip: MP4 files with an audio track work too (macOS afplay reads the audio stream).

Platforms

OS

Sound

Banner

macOS

afplay (tested)

osascript (tested)

Linux

ffplay / mpg123 / paplay / aplay fallback chain (best effort)

notify-send (best effort)

Windows

PowerShell MediaPlayer (best effort)

PowerShell NotifyIcon balloon (best effort)

Any CI env value makes sound and banner playback no-ops (set automatically in CI workflows) so the test suite can run on machines without audio.

Development

npm install
npm run typecheck
npm test          # builds, then runs the e2e suite (sound + banner fire locally)

License

MIT — see LICENSE.

Available Tools

2 tools
list_soundsList soundsA

List audio files available to the notify tool and the currently selected default sound. Resolution order: NOTIFY_SOUND env var, sounds/default* file, first file in sounds/, bundled chime, system sound.

Inputs: no named parameters.

notifyNotifyA

Play a notification sound on the user's computer and show a system banner. Call this whenever a task is done, something needs the user's attention, or the user asks to be notified. Always write a concise, human-friendly title and message describing what just happened or needs attention (e.g. title: 'Build finished', message: 'All 142 tests passed, no errors.'). Default sound resolution: NOTIFY_SOUND env var, then a sounds/default* file, then the first file in this server's sounds/ folder, then the bundled chime, then the system sound. You can pass an absolute path to any audio/video file with audio (mp4, m4a, mp3, wav, aiff) in sound.

Inputs: title (required), message (required), sound.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools serve entirely different functions: notify triggers the notification while list_sounds enumerates available sounds and the default. There is no overlap or ambiguity between them.

    Naming Consistency4/5

    Both tools use imperative verbs ('notify', 'list_sounds'), but 'notify' lacks a noun object unlike 'list_sounds' which follows verb_noun. Still, they are clear and predictable with no style mixing.

    Tool Count4/5

    With only 2 tools, the server is minimal but appropriately scoped for a simple notification utility. It does not feel under- or over-populated for its purpose.

    Completeness4/5

    The tool surface covers the core functionality (sending notifications and inspecting available sounds). Minor gaps like muting or configuration could exist, but for a focused utility it is reasonably complete.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      D
      maintenance
      Sends system notifications when AI completes responses in MCP-compatible code editors, with cross-platform support for macOS, Windows, and Linux including customizable titles, messages, icons, and sound effects.
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to send native macOS notifications for task completion alerts and reminders. Supports interactive features like custom system sounds, action buttons, and user replies directly from the notification center.
      201 npm
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Enables AI assistants to send desktop notifications on macOS with rich formatting, urgency levels, and sound options.
      1
      28 npm
      1
      MIT
    • A
      license
      D
      quality
      D
      maintenance
      Enables MCP agents to send desktop notifications for completed tasks, failures, and important updates, providing visible and reliable feedback.
      1
      44 npm
      2
      Apache 2.0