I got a notification! 🎉
MCPing is a Model Context Protocol (MCP) server that enables AI assistants to send desktop notifications on macOS. Finally, your AI can tap you on the shoulder instead of just sitting there quietly being brilliant.
Prerequisites: Node.js 18+ and macOS (for notifications)
Add to your MCP client settings:
{
"mcpServers": {
"toolprint-mcping": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@toolprint/mcping-mcp@latest"]
}
}
}
npm install -g @toolprint/mcping-mcp@latest
mcping-mcp
Add to claude_desktop_config.json
:
{
"mcpServers": {
"mcping": {
"command": "npx",
"args": ["-y", "@toolprint/mcping-mcp@latest"]
}
}
}
# Run in HTTP mode for testing
npx @toolprint/mcping-mcp@latest --transport http --port 3000
# Test with curl
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "send-notification",
"arguments": {
"title": "Hello World",
"message": "This is a test notification"
}
}
}'
Once configured, ask your AI assistant:
- "Send a notification saying the build is complete"
- "Send a critical alert that the server is down"
- "Send a quiet reminder to take a break"
- "Notify me with title 'Tests Passed' and message 'All 127 tests passed'"
Send desktop notifications on macOS with rich formatting options.
Parameters:
title
(required): Notification title (1-100 characters)message
(required): Notification message (1-500 characters)subtitle
(optional): Additional context (max 100 characters)urgency
(optional):"low"
|"normal"
|"critical"
(default:"normal"
)sound
(optional): Play notification sound (default:true
)timeout
(optional): Display duration in seconds, 1-60 (default: 10)
Examples:
// Basic notification
{
"title": "Task Complete",
"message": "Your build finished successfully"
}
// Critical alert with subtitle
{
"title": "Server Down",
"message": "Production server is not responding",
"subtitle": "api.example.com",
"urgency": "critical",
"sound": true,
"timeout": 60
}
// Quiet reminder
{
"title": "Break Time",
"message": "You've been coding for 2 hours",
"urgency": "low",
"sound": false,
"timeout": 10
}
- Check Permissions: System Preferences → Notifications → Terminal (allow notifications)
- Do Not Disturb: Ensure DND is disabled or use
urgency: "critical"
- Verbose Mode: Run with
--verbose
flag for detailed logs
- "Permission denied": Grant Terminal notification permissions in System Preferences
- "Not available": Ensure you're running on macOS
- "Rate limited": Wait between sending multiple notifications
# Clone repository
git clone https://github.com/toolprint/mcping-mcp.git
cd mcping-mcp
# Install dependencies
npm install
# Run tests
npm test
# Build
npm run build
# Development mode
npm run dev
MIT © Toolprint
When using, forking, or distributing this software, the MIT License requires that you include the original copyright notice ("Copyright © OneGrep, Inc.") and license text in all copies or substantial portions of the software. This attribution requirement ensures proper credit to the original authors while allowing you to freely use, modify, and distribute the code.
Building tools for the AI agent ecosystem. Visit toolprint.ai to explore our suite of MCP servers and developer tools.
Made with ❤️ by Toolprint