mcp-notify
mcp-notify
Минимальный MCP-сервер, который воспроизводит звук уведомления и показывает системный баннер на вашем компьютере, когда ваш ИИ-агент завершает задачу или требует вашего внимания.
Работает с любым 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 / системный промпт:
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 символов).
Параметр | Обязательный | Описание |
| да | Короткий заголовок баннера, напр. «Сборка завершена» |
| да | Описание в 1–2 предложения, напр. «Все 142 теста пройдены» |
| нет | Абсолютный путь к любому аудио/видеофайлу со звуком (mp4, m4a, mp3, wav, aiff) |
list_sounds
Выводит список доступных звуков и текущий выбранный по умолчанию.
Выбор звука
Порядок выбора:
Переменная окружения
NOTIFY_SOUND— абсолютный путь, явный и детерминированныйФайл в папке
sounds/, имя которого начинается сdefault(ваш выбор)Первый аудиофайл в папке
sounds/(в алфавитном порядке —notify-me.mp3поставляется как встроенный вариант по умолчанию)Сгенерированный сигнал в
assets/Системный звук (macOS
Glass.aiff, Linuxbell.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 читает аудиопоток).
Платформы
ОС | Звук | Баннер |
macOS |
|
|
Linux |
|
|
Windows | PowerShell | всплывающее уведомление PowerShell |
Любое значение переменной окружения CI отключает воспроизведение звука и показ баннера (автоматически задаётся в CI-пайплайнах), чтобы тестовый набор мог запускаться на машинах без аудио.
Разработка
npm install
npm run typecheck
npm test # builds, then runs the e2e suite (sound + banner fire locally)Лицензия
MIT — см. LICENSE.
Available Tools
2 toolslist_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
Scored across 2 tools
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.
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.
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.
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
Push notifications for AI agents - send instant iPhone notifications from any MCP client.
An MCP connector that lets your AI agents ask you questions, request permission approvals, and send alerts as push notifications to your phone and mac notch, so you can unblock and approve your agents from anywhere.
Give your AI agent a memory and body on your iPhone: set alarms, ring your phone, over MCP.
Push notifications with personalized sounds - manage and trigger your vybits via MCP
Related MCP Servers
- AlicenseCqualityDmaintenanceSends 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.2MIT
- AlicenseNot gradedqualityDmaintenanceEnables 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 npmMIT
- AlicenseBqualityDmaintenanceEnables AI assistants to send desktop notifications on macOS with rich formatting, urgency levels, and sound options.116 npm1MIT
- AlicenseDqualityDmaintenanceEnables MCP agents to send desktop notifications for completed tasks, failures, and important updates, providing visible and reliable feedback.152 npm2Apache 2.0