Skip to main content
Glama
mrfqcentic

mcp-notify

by mrfqcentic

mcp-notify

最小限のMCPサーバーで、AIエージェントがタスクを完了したときや注意が必要なときに、通知音を再生し、システムバナーを表示します。

あらゆるMCPクライアントで動作します: Claude Desktop、Claude Code、Cursor、VS Code、opencode、Clineなど。3行の設定だけで、APIキー不要、ネットワーク呼び出し不要 — ローカルの音声機能と通知機能にのみアクセスします。

インストール

クライアントのMCP設定に追加します (Claude Desktopのclaude_desktop_config.json、Cursor / VS Codeのmcp.json、またはopencodeの設定):

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

(opencodeユーザー: mcpキーの下に同じ形で、"type": "local"と"command": ["npx", "-y", "@mrfqcentic/mcp-notify"]を指定します。)

Node.js >= 20が必要です。

Related MCP server: Notifications MCP Server

エージェントに呼び出させる

AGENTS.md / CLAUDE.md / システムプロンプトに1行追加します:

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.

ツール

notify

サウンドを再生し、バナーを表示します。エージェントは常にtitle(最大50文字)とmessage(最大200文字)を提供します。

パラメータ

必須

説明

title

はい

短いバナータイトル。例: "Build finished"

message

はい

1〜2文の説明。例: "All 142 tests passed"

sound

いいえ

音声を含む任意のオーディオ/ビデオファイルの絶対パス (mp4、m4a、mp3、wav、aiff)

list_sounds

利用可能なサウンドと現在選択されているデフォルトを一覧表示します。

サウンドの選択

優先順位:

  1. NOTIFY_SOUND環境変数 — 絶対パス。明示的で決定的

  2. sounds/フォルダ内の名前がdefaultで始まるファイル (ピン留めしたもの)

  3. sounds/フォルダ内の最初の音声ファイル (アルファベット順 — バンドルされたデフォルトとしてnotify-me.mp3が同梱されています)

  4. assets/内の生成されたチャイム

  5. システムサウンド (macOS Glass.aiff、Linux bell.oga)

ヒント: お気に入りのサウンドをsounds/default.mp3にリネームまたはコピーするか(NOTIFY_SOUNDを設定するか)ことで固定できます。

同梱されているsounds/notify-me.mp3は、ElevenLabsで商用ライセンスのもと生成されました。

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

ヒント: 音声トラック付きのMP4ファイルも動作します (macOS afplayが音声ストリームを読み取ります)。

対応プラットフォーム

OS

サウンド

バナー

macOS

afplay (テスト済み)

osascript (テスト済み)

Linux

ffplay / mpg123 / paplay / aplay フォールバックチェーン (ベストエフォート)

notify-send (ベストエフォート)

Windows

PowerShell MediaPlayer (ベストエフォート)

PowerShell NotifyIcon バルーン (ベストエフォート)

CI環境変数が設定されている場合、サウンドとバナーの再生はノーオペレーションになります (CIワークフローで自動設定されます)。これにより、音声のないマシンでもテストスイートを実行できます。

開発

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

ライセンス

MIT — 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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It clarifies that the tool lists available files and the default sound, and it details the resolution order, which is helpful context. However, it does not explicitly state whether the operation is read-only (though 'list' implies it), nor does it describe what the response looks like or possible error conditions. This is adequate but not rich beyond the immediate action.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, tightly packed sentence that leads with the primary purpose and then provides the resolution order without any filler. Every clause carries meaning, and the structure is efficient and easy to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (no parameters, no output schema, no annotations), the description covers the main functionality and even adds the resolution order, which is beyond the minimum. However, it does not specify the exact format of the returned list (e.g., array of filenames, structure of default sound), so an agent must infer that from the description or experience. This is a minor gap but not significant enough to lower it further.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so the schema is inherently complete and there is nothing for the description to add. The baseline for zero parameters is 4, and the description does not need to compensate for any schema gaps. It also does not introduce any misleading parameter-related information.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function: it lists audio files available to the notify tool and the currently selected default sound. This is a specific verb+resource combination that distinguishes it from the sibling 'notify' (which sends notifications rather than listing sounds).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides context about what the tool lists (sounds for notify) but does not explicitly specify when to use this tool versus alternatives. There is no direct guidance such as 'use this to check available sounds before calling notify' or any note about when not to use it. The resolution order is more about default sound determination than usage conditions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
soundNoAbsolute path to a sound file to play instead of the default.
titleYesShort banner title (max 50 chars), e.g. 'Task done', 'Build finished', 'Needs your input'.
messageYesOne or two sentence description of what happened, shown in the notification banner.

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It comprehensively covers the default sound resolution order, the accepted file formats for custom sounds, and guidance on writing title/message. It does not mention any side effects like whether the call blocks or returns a value, but for a notification tool this level of detail is sufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose and usage trigger, then introduces the title/message guidance, and finally details sound resolution. It is a bit long but every sentence carries useful information. The structure is logical and skimmable, though slightly verbose for an agent scanning quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simple nature of the tool (3 params, no output schema), the description covers everything an agent needs: when to use it, how to write parameters, and the fallback behavior for sound. No critical information is missing, making it complete for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds value beyond the schema by providing example titles/messages and explaining the `sound` parameter's behavior (absolute path, supported audio formats, override logic). This enriches the agent's understanding beyond the raw property descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb ('play', 'show') and resource ('notification sound', 'system banner'), making the tool's function immediately clear. It also gives concrete examples of when to use it, which distinguishes it from the sibling list_sounds without needing explicit exclusion.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when to call the tool ('whenever a task is done, something needs the user's attention, or the user asks to be notified'), which is clear guidance. However, it does not mention when NOT to use it or alternative tools, so it misses the 'when-not/alternatives' component for a full 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

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

  1. 2 tool updatesv0.2.1
    • First observedlist_sounds
    • First observednotify

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

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • F
    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
    -
  • 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
    15 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
    35 npm
    2
    Apache 2.0