Sponsored by Deepsite.site

Notify Mcp

Created By
longdoga month ago
A lightweight Bash-based Model Context Protocol (MCP) server for sending desktop notifications via notify-send. This zero-dependency server enables AI assistants like Claude, Cursor, and VS Code to send system notifications directly to your Linux desktop.
Content

notify-mcp

A lightweight Bash-based Model Context Protocol (MCP) server for sending desktop notifications via notify-send. This zero-dependency server enables AI assistants like Claude, Cursor, and VS Code to send system notifications directly to your Linux desktop and MacOS.

Watch the example

Prerequisites

  • Linux system with notification support or MacOS
  • notify-send command for linux (usually provided by libnotify package)
  • jq tool

Installing notify-send

If notify-send is not installed on your system:

Ubuntu/Debian:

sudo apt-get install libnotify-bin

Fedora/RHEL:

sudo dnf install libnotify

Arch Linux:

sudo pacman -S libnotify

Alt Linux:

sudo apt-get install notify-send

Installation

  1. Clone the repository:
git clone https://github.com/longdog/notify-mcp.git
cd notify-mcp
  1. Make the script executable:
chmod +x notify-mcp.sh
  1. (Optional) Add to your PATH for easier access:
sudo ln -s $(pwd)/notify-mcp.sh /usr/local/bin/notify-mcp

Configuration

Claude Desktop

Claude Desktop uses a JSON configuration file to define MCP servers.

  1. Open Claude Desktop settings:

    • Click Claude menu → SettingsDeveloper tab
    • Click Edit Config to open claude_desktop_config.json
  2. Add the notify-mcp server configuration:

{
  "mcpServers": {
    "notify": {
      "command": "/absolute/path/to/notify-mcp.sh",
      "args": []
    }
  }
}

Example with full path:

{
  "mcpServers": {
    "notify": {
      "command": "/home/username/notify-mcp/notify-mcp.sh",
      "args": []
    }
  }
}
  1. Save the file and restart Claude Desktop

  2. Verify the connection by looking for the MCP server indicator (🔌 icon) in the Claude Desktop interface

Cursor

Cursor IDE supports MCP servers through its settings configuration.

  1. Open Cursor settings:

    • Press Ctrl+Shift+P (Linux/Windows) or Cmd+Shift+P (macOS)
    • Search for "MCP: Add MCP Server"
    • Select Command (stdio)
  2. Configure the server:

    • Name: notify
    • Command: /absolute/path/to/notify-mcp.sh
    • Arguments: (leave empty)

Alternative: Manual configuration

Edit your Cursor settings file (.cursor/mcp.json in your workspace):

{
  "mcpServers": {
    "notify": {
      "command": "/home/username/notify-mcp/notify-mcp.sh",
      "args": []
    }
  }
}
  1. Restart Cursor to apply changes

VS Code

VS Code supports MCP servers through the GitHub Copilot extension.

  1. Via Command Palette:

    • Press Ctrl+Shift+P (Linux/Windows) or Cmd+Shift+P (macOS)
    • Run "MCP: Add Server"
    • Select Command (stdio)
    • Enter the server information:
      • Name: notify
      • Command: /absolute/path/to/notify-mcp.sh
  2. Via Configuration File:

    Add to your user settings (.vscode/mcp.json) or workspace settings:

{
  "servers": {
    "notify": {
      "command": "/home/username/notify-mcp/notify-mcp.sh",
      "args": []
    }
  }
}
  1. Restart VS Code to load the MCP server

  2. Verify by running "MCP: List Servers" from the Command Palette

Gemini CLI

The Gemini CLI supports MCP servers through its settings configuration file.

  1. Locate your Gemini CLI settings file:
~/.gemini/settings.json
  1. Add the notify-mcp server to the mcpServers section:
{
  "mcpServers": {
    "notify": {
      "command": "/home/username/notify-mcp/notify-mcp.sh",
      "args": []
    }
  }
}

Complete example:

{
  "apiKey": "your-api-key",
  "mcpServers": {
    "notify": {
      "command": "/home/username/notify-mcp/notify-mcp.sh",
      "args": []
    }
  },
  "mcp": {
    "allowed": ["notify"]
  }
}
  1. Restart Gemini CLI or start a new session:
gemini-cli
  1. Verify the server is loaded:
/mcp

This will list all connected MCP servers, including notify.

Alternative: Using STDIO Transport Directly

For testing or advanced use cases, you can interact with the MCP server directly via stdio:

echo '{"jsonrpc":"2.0","id":"2","method":"tools/call","params": {"arguments":{"title":"Hello","message":"World"}}}' | ./notify-mcp.sh

Server Config

{
  "mcpServers": {
    "notify": {
      "command": "/home/username/notify-mcp/notify-mcp.sh",
      "args": []
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
ChatWiseThe second fastest AI chatbot™
CursorThe AI Code Editor
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Amap Maps高德地图官方 MCP Server
DeepChatYour AI Partner on Desktop
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
WindsurfThe new purpose-built IDE to harness magic
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Serper MCP ServerA Serper MCP Server
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Playwright McpPlaywright MCP server
Tavily Mcp