mcpField
M
mcp-notify

mcp-notify

Local
github.com/mrfqcenticProductivity0Updated 10w ago

About mcp-notify

mcp-notify is a local MCP server for AI agents that need to signal task completion or request attention. It plays a sound and displays a system banner without network calls or API keys.

Key features

  1. 01Sound and banner notifications
  2. 02Custom audio file selection
  3. 03Available sound listing
  4. 04No network calls or API keys

Use cases

  1. 01Notifying when an agent finishes a task
  2. 02Alerting when an agent needs attention

MCP support

It exposes the `notify` and `list_sounds` tools to MCP clients. The `notify` tool plays a sound and displays a system banner.

Configuration

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

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

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@mrfqcentic/mcp-notify0.2.1

Tools

2

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
soundstringNoAbsolute path to a sound file to play instead of the default.
titlestringYesShort banner title (max 50 chars), e.g. 'Task done', 'Build finished', 'Needs your input'.
messagestringYesOne or two sentence description of what happened, shown in the notification banner.

Details

From the project README

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.

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).

ParamRequiredDescription
titleyesShort banner title, e.g. "Build finished"
messageyes1–2 sentence description, e.g. "All 142 tests passed"
soundnoAbsolute 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

OSSoundBanner
macOSafplay (tested)osascript (tested)
Linuxffplay / mpg123 / paplay / aplay fallback chain (best effort)notify-send (best effort)
WindowsPowerShell 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.

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.