io.github.mrfqcentic/mcp-notify

السجل الرسمي الإنتاجية

Minimal MCP server that plays a sound and shows a system banner when an AI agent finishes a task

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package @mrfqcentic/mcp-notify
Claude Code
claude mcp add mcp-notify -- npx -y @mrfqcentic/mcp-notify@0.2.1
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "mcp-notify": {
            "command": "npx",
            "args": [
                "-y",
                "@mrfqcentic/mcp-notify@0.2.1"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. mcp-notify
  2. Install
  3. Make the agent call it
  4. Tools
  5. Choosing your sound
  6. Platforms
  7. Development
  8. License

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.

الأسئلة الشائعة

ما هو io.github.mrfqcentic/mcp-notify؟

Minimal MCP server that plays a sound and shows a system banner when an AI agent finishes a task

كيف أثبّت io.github.mrfqcentic/mcp-notify؟

يعمل على جهازك. في Claude Code: claude mcp add mcp-notify -- npx -y @mrfqcentic/mcp-notify@0.2.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.mrfqcentic/mcp-notify إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل io.github.mrfqcentic/mcp-notify مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.mrfqcentic/mcp-notify؟

ينشره mrfqcentic. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.