Claude Notification 是一款 macOS 应用程序,专为在 Claude Desktop 中发送桌面通知而设计。它能让用户及时获取相关信息,提升使用体验。下面将详细介绍该应用在 macOS 上的配置和使用方法。
Claude Notification 可帮助你在 macOS 系统的 Claude Desktop 中实现桌面通知功能。按以下步骤操作,即可轻松完成配置和使用。
git clone https://github.com/notifications-mcp-server
cd notifications-mCP-server
uv pip install -r requirements.txt
python3 example.py
claude_desktop_config.json 文件。"notification" 对象中添加以下字段:
"enabled": true:启用通知功能。"method": "NotificationCenter":选择使用 macOS 的内置 NotificationCenter。"custom-sound-path": "/System/Library/Sounds/Glass.aiff"
"visual-effect": "none"
afplay /System/Library/Sounds/Glass.aiff
echo 'export CLA-SOUND="/System/Library/Sounds/Ping.aiff"' >> ~/.zshrc
source ~/.zshrc
defaults write com.example.notif display-settings -dict modal-height 200
"visual-effect" 设置正确。python3 test-visual.py
.aiff。rm -rf /path/to/notifications-mcp-server
uv pip uninstall notifications-mcp-server fastmcp pyobjc-core pyobjc-framework-Cocoa pync
fastmCP, terminal-notifier, pyobjcpython3 -m pytest tests/
black .
.aiff.wav.mp3请参考官方文档获取详细接口信息。
通过以上步骤,您可以顺利完成 Claude Notification 在 macOS 上的配置与使用。如有任何问题,请随时查阅用户手册或联系支持团队。