Skip to main content
Glama
Cactusinhand

MCP Notify Server

by Cactusinhand

PyPI-версия

📢 Сервер уведомлений MCP

английский |中文

MCP-сервер, отправляющий уведомления на рабочий стол со звуковым эффектом после завершения задач агента.

🥩 Особенности

  • Отправлять системные уведомления на рабочий стол после завершения задач агента

  • Воспроизводите звуковые оповещения для привлечения внимания пользователя, используя звуковой файл внутри.

  • Кроссплатформенная поддержка (Windows, macOS, Linux)

  • Основан на стандартном протоколе MCP, интегрируется с различными клиентами LLM

Related MCP server: Notifications MCP Server

⏬ Установка

Установить с помощью менеджера пакетов UV

git clone https://github.com/Cactusinhand/mcp_server_notify.git
cd mcp_server_notify

uv venv
source .venv/Scripts/activate

uv pip install mcp-server-notify
# or
pip install mcp-server-notify

После установки вызовите модуль напрямую, чтобы проверить успешность установки:

python -m mcp_server_notify

Этот модуль принимает параметр --debug или --file , мы можем использовать его следующим образом:

python -m mcp_server_notify --debug
python -m mcp_server_notify --debug --log-file=path/to/logfile.log

⚠️❕ Особые требования

** Мы используем API Apprise для доставки уведомлений на наш рабочий стол, поэтому нам необходимо установить некоторые специальные требования на наш рабочий стол **

Окна

# windows:// minimum requirements
pip install pywin32

macOS

# Make sure terminal-notifier is installed into your system
brew install terminal-notifier

📚 Использование

Использование с Claude Desktop:

Найдите файл конфигурации claude_desktop_config.json

{
    "mcpServers": {
        "NotificationServer": {
            "command": "uv",
            "args": [
              "--directory",
              "path/to/your/mcp_server_notify project",
              "run",
              "mcp-server-notify",
            ]
        }
    }
}

Если установка глобально, вы также можете использовать команду python:

{
    "mcpServers": {
        "NotificationServer": {
            "command": "python",
            "args": [
              "-m",
              "mcp_server_notify",
            ]
        }
    }
}

⚡️ Использование с курсором:

Найдите файл конфигурации ~/.cursor/mcp.json или your_project/.cursor/mcp.json

{
    "mcpServers": {
        "NotificationServer": {
            "command": "uv",
            "args": [
              "--directory",
              "path/to/your/mcp_server_notify project",
              "run",
              "mcp-server-notify",
            ]
        }
    }
}

После настройки просто добавьте запрос, например finally, send me a notification when task finished. В конце выполнения задачи введите данные в ИИ, чтобы активировать уведомления.

В Курсоре вы можете добавить эту подсказку как правило в Cursor Settings -> Rules , чтобы вам не приходилось вводить ее вручную каждый раз.

⚡️ Использование с VSCode + Copilot:

  1. Установите менеджер служб uv/uvx : pip install uv

  2. Добавьте службу в настройки VSCode:

    Windows %APPDATA%\Code\User\settings.json
    macOS $HOME/Library/Application\ Support/Code/User/settings.json
    Linux $HOME/.config/Code/User/settings.json

    "mcp": {
        "servers": {
            "notifier": {
                "command": "uvx",
                "args": [
                    "mcp-server-notify"
                ],
                "env": {}
            }
        }
    }
  3. Убедитесь, что вы используете последнюю версию VSCode — она автоматически запускает службы MCP.

  4. Откройте VSCode → включите Copilot → переключитесь в режим агента.

  5. Введите # → вы увидите опцию #send_notification.

  6. Попросите агента: запустить #send_notification (он обработает уведомление автоматически).

  7. Теперь Copilot в режиме агента может отправлять уведомления на рабочий стол.

🐳 Работа с Docker

В настоящее время недоступно из-за проблем совместимости среды. Если контейнеры Docker должны запускать уведомления хоста независимо от того, является ли хостовая ОС Windows, macOS или Linux, решение становится намного более сложным, и прямое использование собственных уведомлений обычно нецелесообразно.

Основные вопросы:

  1. Системы уведомлений для различных ОС Каждая операционная система (Windows, macOS, Linux) имеет свой уникальный механизм уведомлений.

  2. Изоляция Docker Изоляция контейнеров Docker ограничивает их возможность прямого доступа к ресурсам операционной системы хоста.

  3. Управление зависимостями Необходимо обрабатывать различные библиотеки уведомлений и зависимости для каждой операционной системы.

🧾 Лицензия

Массачусетский технологический институт

💻 Вклады

Проблемы и запросы на внесение изменений приветствуются!

Available Tools

1 tool
send_notificationC

Send system notification with optional sound

ParametersJSON Schema
NameRequiredDescriptionDefault
titleYes
messageYes
play_soundNo
timeoutNo

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries full burden. It states the tool sends a notification but doesn't disclose behavioral traits like whether it's synchronous/asynchronous, what happens on failure, if it requires specific permissions, or how notifications are delivered. 'Optional sound' hints at a feature but lacks details on default behavior or sound types.

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 extremely concise with a single sentence that directly states the tool's function. It's front-loaded and wastes no words, making it easy to parse quickly. Every part of the sentence contributes to understanding the tool's purpose.

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

Completeness2/5

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

Given no annotations, no output schema, and 0% schema description coverage for 4 parameters, the description is incomplete. It covers the basic action but lacks details on behavior, parameters, return values, or error handling. For a notification-sending tool with multiple parameters, more context is needed to guide effective use.

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

Parameters3/5

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

Schema description coverage is 0%, but the description doesn't add meaning beyond what the schema provides. It mentions 'optional sound' which corresponds to the 'play_sound' parameter, but doesn't explain other parameters like 'title', 'message', or 'timeout'. With 4 parameters and no schema descriptions, the description fails to compensate adequately, resulting in a baseline score.

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

Purpose4/5

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

The description clearly states the action ('send') and resource ('system notification') with an additional feature ('optional sound'). It's specific about what the tool does, though without sibling tools, differentiation isn't applicable. The purpose is unambiguous but could be more detailed about the notification type or system context.

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 no guidance on when to use this tool, such as appropriate contexts, prerequisites, or alternatives. It mentions 'optional sound' but doesn't explain when sound should be enabled or disabled. With no sibling tools, this is less critical, but still lacks usage context.

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. 1 tool update
    • First observedsend_notification

TDQS

B3.1/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool 'send_notification' has a clear, distinct purpose that cannot be confused with any other tool in the set.

Naming Consistency5/5

The tool name 'send_notification' follows a clear verb_noun pattern (send + notification). Since there is only one tool, consistency is inherently perfect with no deviations or mixed conventions to evaluate.

Tool Count2/5

A single tool is too few for a server named 'MCP Notify Server', which suggests a broader notification domain. This minimal set feels thin and likely incomplete for typical notification workflows, such as managing notifications or checking statuses.

Completeness2/5

The tool surface is severely incomplete for a notification server. While 'send_notification' covers sending, there are obvious gaps like listing notifications, updating them, deleting them, or configuring notification settings, which agents would need for full functionality.

Maintenance

ActivityInactive
ResponsivenessUnresponsive

Related MCP Connectors

Related MCP Servers