Skip to main content
Glama
mcp-notify

mcp-notify

by mrfqcentic

mcp-notify

Servidor MCP mínimo que reproduce un sonido de notificación y muestra un banner del sistema en tu ordenador cada vez que tu agente de IA termina una tarea o necesita tu atención.

Funciona con cualquier cliente MCP: Claude Desktop, Claude Code, Cursor, VS Code, opencode, Cline y más. Una configuración de 3 líneas, sin claves API, sin llamadas de red — solo toca tus recursos locales de audio y notificaciones.

Instalación

Añádelo a la configuración MCP de tu cliente (Claude Desktop claude_desktop_config.json, Cursor / VS Code mcp.json, o la configuración de opencode):

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

(usuarios de opencode: misma forma bajo la clave mcp con "type": "local" y "command": ["npx", "-y", "@mrfqcentic/mcp-notify"].)

Requiere Node.js >= 20.

Related MCP server: Notifications MCP Server

Haz que el agente lo llame

Añade una línea a tu AGENTS.md / CLAUDE.md / prompt del sistema:

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.

Herramientas

notify

Reproduce el sonido y muestra un banner. El agente siempre proporciona title (máx. 50 caracteres) y message (máx. 200 caracteres).

Parámetro

Requerido

Descripción

title

sí

Título corto del banner, p. ej. "Compilación terminada"

message

sí

Descripción de 1–2 frases, p. ej. "Las 142 pruebas pasaron"

sound

no

Ruta absoluta a cualquier archivo de audio/vídeo con audio (mp4, m4a, mp3, wav, aiff)

list_sounds

Lista los sonidos disponibles y el predeterminado seleccionado actualmente.

Elegir tu sonido

Orden de resolución:

  1. Variable de entorno NOTIFY_SOUND — ruta absoluta, explícita y determinista

  2. Un archivo en la carpeta sounds/ cuyo nombre empiece por default (tu elección)

  3. Primer archivo de audio en la carpeta sounds/ (alfabético — notify-me.mp3 se incluye aquí como predeterminado integrado)

  4. El timbre generado en assets/

  5. El sonido del sistema (macOS Glass.aiff, Linux bell.oga)

Consejo: renombra o copia tu sonido favorito a sounds/default.mp3 (o establece NOTIFY_SOUND) para que se mantenga.

El sounds/notify-me.mp3 incluido se generó con ElevenLabs bajo una licencia comercial.

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

Consejo: los archivos MP4 con pista de audio también funcionan (macOS afplay lee la transmisión de audio).

Plataformas

SO

Sonido

Banner

macOS

afplay (probado)

osascript (probado)

Linux

cadena de respaldo ffplay / mpg123 / paplay / aplay (mejor esfuerzo)

notify-send (mejor esfuerzo)

Windows

PowerShell MediaPlayer (mejor esfuerzo)

globo de PowerShell NotifyIcon (mejor esfuerzo)

Cualquier valor de la variable de entorno CI hace que la reproducción de sonido y banner sean no operativas (se establece automáticamente en los flujos de trabajo de CI) para que el conjunto de pruebas pueda ejecutarse en máquinas sin audio.

Desarrollo

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

Licencia

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

    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
      16 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
      52 npm
      2
      Apache 2.0