notification-mcp
An MCP server that lets AI assistants send spoken audio notifications using high-quality AI voices, so you don't have to stare at the screen waiting for long tasks to finish.
README
notification-mcp
An MCP server that lets AI assistants send spoken audio notifications using high-quality AI voices. When an AI finishes a long task, it can call the notify tool to speak a message aloud — so you don't have to stare at the screen waiting.
Powered by Kokoro TTS (fast, expressive, 26 voices), with optional F5-TTS (higher quality, voice cloning) and macOS say (instant, no setup).
Quick Start
Prerequisites
- macOS (notifications play via
afplay) - Node.js 18+
- uv — Python package runner (for Kokoro/F5-TTS)
curl -LsSf https://astral.sh/uv/install.sh | sh
Install via npx
No installation needed — run directly with npx:
{
"mcpServers": {
"notification-mcp": {
"command": "npx",
"args": ["-y", "@elad12390/notification-mcp"]
}
}
}
Install from source
git clone https://github.com/elad12390/notification-mcp.git
cd notification-mcp
npm install
npm run build
Then configure your MCP client (see Configuration below).
Configuration
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"notification-mcp": {
"command": "npx",
"args": ["-y", "@elad12390/notification-mcp"]
}
}
}
OpenCode / Cursor / Other MCP Clients
{
"mcpServers": {
"notification-mcp": {
"command": "npx",
"args": ["-y", "@elad12390/notification-mcp"]
}
}
}
From source
{
"mcpServers": {
"notification-mcp": {
"command": "node",
"args": ["/path/to/notification-mcp/dist/index.js"]
}
}
}
The notify Tool
Once configured, the AI can call:
notify(message: "Hey! Build succeeded, all tests passed.")
notify(message: "Done. Your file has been exported.", title: "Export Complete")
notify(message: "Hmm... something looks off. Check the logs.", voice: "george")
Writing Expressive Messages
Kokoro reads punctuation expressively. Write like you'd want it spoken:
| Punctuation | Effect | Example |
|---|---|---|
! |
Excited/energetic | "Great job!" |
... |
Long pause, thoughtful | "Wait... what?" |
, |
Brief natural pause | "Well, I think so" |
? |
Rising intonation | "Really?" |
. |
Sentence break | "Done. Everything worked." |
Good examples:
"Hey! Your task is complete. Everything went smoothly."
"Hmm... I found something interesting. Check this out!"
"Done! The build succeeded, and all 47 tests passed."
Custom Pronunciation (IPA)
For words that need specific pronunciation, use [word](/IPA/] syntax:
"[Chaim](/χaim/) said hello" → Hebrew name with guttural ח
"[Elad](/ɛlɑd/) is working" → Pronounce as "eh-lahd"
"The [route](/ruːt/) is clear" → British-style pronunciation
Common IPA symbols: χ (Hebrew ח), ʃ (sh), ð (the), θ (think), ŋ (ng), ɹ (American r)
Voices
Kokoro Voices (default engine)
Use friendly aliases or full voice names:
| Alias | Full Name | Accent |
|---|---|---|
heart |
af_heart |
American Female |
bella |
af_bella |
American Female |
nicole |
af_nicole |
American Female |
sarah |
af_sarah |
American Female |
adam |
am_adam |
American Male |
michael |
am_michael |
American Male |
emma |
bf_emma |
British Female |
george |
bm_george |
British Male |
Additional full names: af_alloy, af_aoede, af_jessica, af_kore, af_nova, af_river, af_sky, am_echo, am_eric, am_fenrir, am_liam, am_onyx, am_puck, bf_alice, bf_isabella, bf_lily, bm_daniel, bm_fable, bm_lewis
TTS Engines
Set NOTIFICATION_METHOD to choose your engine:
| Engine | Speed | Quality | Requires |
|---|---|---|---|
kokoro (default) |
~3–5s | Great, expressive | uv |
f5tts |
~10–15s | Highest, voice cloning | uv + FFmpeg |
say |
Instant | Robotic | Nothing (macOS built-in) |
Environment Variables
| Variable | Default | Description |
|---|---|---|
NOTIFICATION_METHOD |
kokoro |
TTS engine: kokoro, f5tts, or say |
KOKORO_VOICE |
af_heart |
Default Kokoro voice (alias or full name) |
KOKORO_SPEED |
1.0 |
Kokoro speech speed multiplier |
F5TTS_SPEED |
1.0 |
F5-TTS speech speed multiplier |
F5TTS_REF_AUDIO |
— | Path to reference audio file for voice cloning |
F5TTS_REF_TEXT |
— | Transcript of the reference audio |
SAY_VOICE |
Samantha |
macOS say voice name |
LOG_LEVEL |
info |
Log level: debug, info, warn, error, silent |
MCP_METRICS_ENABLED |
true |
Enable/disable usage metrics |
Example: Use a British male voice by default
{
"mcpServers": {
"notification-mcp": {
"command": "npx",
"args": ["-y", "@elad12390/notification-mcp"],
"env": {
"KOKORO_VOICE": "bm_george",
"KOKORO_SPEED": "1.1"
}
}
}
}
Example: Use F5-TTS with custom voice cloning
{
"mcpServers": {
"notification-mcp": {
"command": "npx",
"args": ["-y", "@elad12390/notification-mcp"],
"env": {
"NOTIFICATION_METHOD": "f5tts",
"F5TTS_REF_AUDIO": "/path/to/your-voice.wav",
"F5TTS_REF_TEXT": "Transcript of what is said in that audio file."
}
}
}
}
Development
# Install dependencies
npm install
# Development with hot reload
npm run dev
# Build
npm run build
# Run tests
npm test
# Run with coverage
npm run test:coverage
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。