Oleafly is a live collaborative LaTeX, Typst and Markdown editor for research that offers a local MCP server and an oleafly mcp stdio command so outside AI clients can use its project tools.

macOS Notify MCP server
An MCP server that lets AI assistants send native macOS notifications which can focus a specific tmux session, window, or pane when clicked.
WHAT IT DOES
- •Sends native macOS notifications through the UserNotifications API with customizable titles and sounds.
- •Offers MCP tools to send notifications, list tmux sessions, and get current tmux info.
- •Clicking a notification activates the detected terminal emulator and switches to the specified tmux session.
- •Detects terminal emulators such as Cursor, VSCode, iTerm2, alacritty, and Terminal.app.
BEST FOR
- •Alerting a developer on macOS when an AI assistant completes a task.
- •Jumping directly to the relevant tmux session, window, or pane from a notification click.
ABOUT MACOS-NOTIFICATIONS-WITH-TMUX
macOS Notify MCP server is cataloged as an MCP server attributed to yuki-yano. An MCP server that lets AI assistants send native macOS notifications which can focus a specific tmux session, window, or pane when clicked. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
HOW TO INSTALL
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
LICENSE
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability inspector
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
Tools (0)
No reviewed records to display. This does not establish that upstream lacks this capability.
Resources (0)
No reviewed records to display. This does not establish that upstream lacks this capability.
Prompts (0)
No reviewed records to display. This does not establish that upstream lacks this capability.
Newsletter subscriptions are not open yet
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Community Reviews
Reviews for macOS Notify MCP server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
FREQUENTLY ASKED QUESTIONS
Does it support multiple notifications at once?
Yes, each notification runs as a separate process, allowing multiple concurrent notifications.
What are the prerequisites for using it?
It requires macOS and Node.js 18 or higher; tmux is optional and used for tmux integration.
Upstream README
README.md · e14fa88009e1 · Fetched 2026-11-13 08:50:10 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
macOS Notify MCP
A Model Context Protocol (MCP) server for macOS notifications with tmux integration. This tool allows AI assistants like Claude to send native macOS notifications that can focus specific tmux sessions when clicked.
Features
- 🔔 Native macOS notifications using UserNotifications API
- 🖱️ Clickable notifications that focus tmux sessions
- 🎯 Direct navigation to specific tmux session, window, and pane
- 🔊 Customizable notification sounds
- 🚀 Support for multiple concurrent notifications
- 🤖 MCP server for AI assistant integration
- 🖥️ Terminal emulator detection (VSCode, Cursor, iTerm2, Terminal.app)
Installation
Prerequisites
- macOS (required for notifications)
- Node.js >= 18.0.0
- tmux (optional, for tmux integration)
Install from npm
npm install -g macos-notify-mcp
Build from source
git clone https://github.com/yuki-yano/macos-notify-mcp.git
cd macos-notify-mcp
npm install
npm run build
npm run build-app # Build the macOS app bundle (only needed for development)
Usage
As MCP Server
First, install the package globally:
npm install -g macos-notify-mcp
Quick Setup with Claude Code
Use the claude mcp add command:
claude mcp add macos-notify -s user -- macos-notify-mcp
Then restart Claude Code.
Manual Setup for Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"macos-notify": {
"command": "macos-notify-mcp"
}
}
}
Available MCP Tools
-
send_notification- Send a macOS notificationmessage(required): Notification messagetitle: Notification title (default: "Claude Code")sound: Notification sound (default: "Glass")session: tmux session namewindow: tmux window numberpane: tmux pane numberuseCurrent: Use current tmux location
-
list_tmux_sessions- List available tmux sessions -
get_current_tmux_info- Get current tmux session information
As CLI Tool
# Basic notification
macos-notify-cli -m "Build completed"
# With title
macos-notify-cli -t "Development" -m "Tests passed"
# With tmux integration
macos-notify-cli -m "Task finished" -s my-session -w 1 -p 0
# Use current tmux location
macos-notify-cli -m "Check this pane" --current-tmux
# Detect current terminal emulator
macos-notify-cli --detect-terminal
# List tmux sessions
macos-notify-cli --list-sessions
Terminal Detection
The tool automatically detects which terminal emulator you're using and uses this information when you click on notifications to focus the correct application. You can test terminal detection with:
# Test terminal detection
macos-notify-cli --detect-terminal
Supported Terminal Detection
The tool detects terminals using various methods:
- Cursor: Via
CURSOR_TRACE_IDenvironment variable - VSCode: Via
VSCODE_IPC_HOOK_CLIorVSCODE_REMOTEenvironment variables - alacritty: Via
ALACRITTY_WINDOW_IDorALACRITTY_SOCKETenvironment variables - iTerm2: Via
TERM_PROGRAM=iTerm.app - Terminal.app: Via
TERM_PROGRAM=Apple_Terminal
Terminal Detection in tmux
When running inside tmux, the tool attempts to detect which terminal emulator the active tmux client is using:
- Active Client Detection: Identifies the most recently active tmux client
- TTY Process Analysis: Traces processes using the client's TTY
- Environment Preservation: Checks preserved environment variables
- Process Tree Fallback: Analyzes the process tree as a last resort
For advanced tmux client tracking, see examples/tmux-client-tracking.sh.
How it Works
- Notification Delivery: Uses a native macOS app bundle (MacOSNotifyMCP.app) to send UserNotifications API notifications
- Click Handling: When a notification is clicked, the app activates the detected terminal emulator (VSCode, Cursor, iTerm2, alacritty, or Terminal.app) and switches to the specified tmux session
- Terminal Support: Automatically detects and activates the correct terminal application
- Multiple Instances: Each notification runs as a separate process, allowing multiple concurrent notifications
Architecture
The project consists of two main components:
-
MCP Server/CLI (TypeScript/Node.js)
- Implements the Model Context Protocol
- Provides a command-line interface
- Manages tmux session detection and validation
-
MacOSNotifyMCP.app (Swift/macOS)
- Native macOS application for notifications
- Handles notification clicks to focus tmux sessions
- Runs as a background process for each notification
MacOSNotifyMCP.app
The MacOSNotifyMCP.app is bundled with the npm package and is automatically available after installation. No additional setup is required.
Troubleshooting
Notifications not appearing
- Check System Settings → Notifications → MacOSNotifyMCP
- Ensure notifications are allowed
- Run
macos-notify-mcp -m "test"to verify
tmux integration not working
- Ensure tmux is installed and running
- Check session names with
macos-notify-mcp --list-sessions - Verify terminal app is supported (Alacritty, iTerm2, WezTerm, or Terminal)
Development
# Install dependencies
npm install
# Build TypeScript
npm run build
# Run in development
npm run dev
# Lint and format code
npm run lint
npm run format
# Build macOS app (only if modifying Swift code)
npm run build-app
License
MIT
Author
Yuki Yano
Install configuration
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for macOS Notify MCP server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/macos-notifications-with-tmux)REPOSITORY STATS
Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Downloads and pulls
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Related productivity work MCP Servers
Alternative and complementary servers in the same category
Buddy is an Android app that offers its phone tools through a local MCP server to Claude Code, Codex, OpenCode, Antigravity, and Grok sessions.

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

