MCP Notifications Server
Enables Claude and other MCP clients to display native macOS notifications with customizable titles, messages, icons, and sounds through the macOS Notification Center.
README
MCP Notifications Server
A Model Context Protocol (MCP) server that enables Claude and other MCP clients to display native macOS notifications.
Features
- show_notification tool for displaying notifications on macOS
- Support for custom titles and content
- Optional icon and sound parameters
- Uses macOS Notification Center
Prerequisites
- Node.js (v18 or later)
- macOS (for notification support)
- npm or yarn
Installation
- Clone or download this repository
- Install dependencies:
npm install
- Build the TypeScript code:
npm run build
Usage with Claude Desktop
Add this server to your Claude Desktop configuration file:
Location: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"notifications": {
"command": "node",
"args": ["/Users/konstantinzagulin/IdeaProjects/mcp-notifications/build/index.js"]
}
}
}
Replace the path with the actual path to your installation.
Tool: show_notification
Display a notification on macOS.
Parameters
- title (required): The title of the notification
- content (required): The main message content
- icon (optional): Path to an icon file (e.g.,
/path/to/icon.png) - sound (optional): System sound name to play (e.g.,
Ping,Basso,Hero,Funk,Glass,Pop,Submarine,Blow,Bottle,Frog,Morse,Purr,Sosumi,Tink)
Example Usage
In Claude Desktop, you can ask Claude to show notifications:
Show me a notification with title "Task Complete" and message "Your build finished successfully"
Display a notification titled "Reminder" with the message "Meeting in 5 minutes" and use the Ping sound
Development
Project Structure
mcp-notifications/
├── src/
│ └── index.ts # Main MCP server implementation
├── build/ # Compiled JavaScript (generated)
├── package.json
├── tsconfig.json
└── README.md
Building
npm run build
Testing Locally
You can test the server by running it directly:
node build/index.js
The server communicates via stdio, so you'll need an MCP client to interact with it properly.
How It Works
This MCP server uses:
- @modelcontextprotocol/sdk: Official MCP SDK for TypeScript
- node-notifier: Cross-platform notification library that uses macOS Notification Center on macOS
The server exposes a single tool (show_notification) that accepts notification parameters and displays them using the native macOS notification system.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.