Server Notify

by cactusinhand

11 stars
248 downloads
Not rated
GitHub

About

Provides a cross-platform notification service that displays alerts and plays sounds when triggered by HTTP requests, enabling applications to send customizable notifications with configurable timeouts for important events without requiring constant monitoring.

Details

Author
cactusinhand
Repository
Cactusinhand/mcp_server_notify
GitHub stars
11
Downloads
248
License
MIT License
Categories
Communication, Other, Productivity, Design, Developer Tools, Project Management, Infrastructure
Tags
#web

- Send system desktop notifications after agent tasks completion
- Play alert sounds to grab user attention, with sound file inside.
- Cross-platform support (Windows, macOS, Linux)
- Based on standard MCP protocol, integrates with various LLM clients

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Server Notify
    Command (node, npx, python, etc.) uv
    Arguments
    • Argument 1 --directory
    • Argument 2 path/to/your/mcp_server_notify project
    • Argument 3 run
    • Argument 4 mcp-server-notify

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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

brew install terminal-notifier

Currently not available due to environment compatibility issues.
If Docker containers need to trigger host notifications regardless of whether the host OS is Windows, macOS, or Linux, the solution becomes much more complex, and direct use of native notifications is usually not feasible.

Main issues:
1. OS-specific notification systems
Each operating system (Windows, macOS, Linux) has its unique notification mechanism.

2. Docker isolation
The isolation of Docker containers limits their ability to access host operating system resources directly.

3. Dependency management
Need to handle different notification libraries and dependencies for each operating system.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

Linux

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

Macos

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

Windows

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

<a href="https://glama.ai/mcp/servers/@Cactusinhand/mcp_server_notify"> Glama badge for Notify MCP server </a> MseeP.ai Security Assessment Badge

PyPI version

Trust Score

📢 MCP Notify Server

English | 中文

A MCP server that send desktop notifications with sound effect when agent tasks are completed.

🥩 Features

- Send system desktop notifications after agent tasks completion
- Play alert sounds to grab user attention, with sound file inside.
- Cross-platform support (Windows, macOS, Linux)
- Based on standard MCP protocol, integrates with various LLM clients

⏬ Installation

Install using uv package manager

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

After installation, call the module directly to check if installation was successful:

python -m mcp_server_notify

This module accepts --debug or --file option, we can use it like:
python -m mcp_server_notify --debug
python -m mcp_server_notify --debug --log-file=path/to/logfile.log

⚠️❕ Special requirements

We use Apprise API for our Desktop notification deliver,so we need to install some special requirements in our Desktop

Windows

# windows:// minimum requirements
pip install pywin32

macOS

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

📚 Usage

Using with Claude Desktop:

Find the configuration file claude_desktop_config.json

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

If installed globally, you can also use the python command:

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

⚡️ Using with Cursor:

Find the configuration file ~/.cursor/mcp.json or your_project/.cursor/mcp.json
{
    "mcpServers": {
        "NotificationServer": {
            "command": "uv",
            "args": [
              "--directory",
              "path/to/your/mcp_server_notify project",
              "run",
              "mcp-server-notify",
            ]
        }
    }
}

After configuration, simply add a prompt like finally, send me a notification when task finished. at the end of your task input to the AI to trigger notifications.

In Cursor, you can add this prompt as a rule in Cursor Settings -> Rules so you don't have to type it manually each time.

⚡️ Using with VSCode + Copilot:

1. Install the service manager uv/uvx: pip install uv 2. Add the service to VSCode settings:

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. Make sure you are using the latest VSCode version — it automatically runs MCP services 4. Open VSCode → enable Copilot → switch to agent mode. 5. Type # → you will see the #send_notification option. 6. Ask the agent: run #send_notification (it will handle the notification automatically). 7. Now the Copilot in agent mode can send desktop notifications.

🐳 Running with Docker

Currently not available due to environment compatibility issues.
If Docker containers need to trigger host notifications regardless of whether the host OS is Windows, macOS, or Linux, the solution becomes much more complex, and direct use of native notifications is usually not feasible.

Main issues:
1. OS-specific notification systems
Each operating system (Windows, macOS, Linux) has its unique notification mechanism.

2. Docker isolation
The isolation of Docker containers limits their ability to access host operating system resources directly.

3. Dependency management
Need to handle different notification libraries and dependencies for each operating system.

🧾 License

MIT

💻 Contributions

Issues and pull requests are welcome!

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.