DM

devizor/macos-notification-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

38 stars 5 forks 品質 63 トレンド 12MIT

macOS 通知 MCP は、AI アシスタントがネイティブの macOS の音、視覚的な通知、およびテキスト・ツー・スピーチをトリガーすることを可能にします。 モデルコンテキストプロトコルを使用して、Claudeや他のAIモデルのために構築されています.

概要

AI アシスタントが macOS 通知、音声、およびテキスト・ツー・スピーナをトリガーすることを可能にするモデルコンテキスト・プロトコル(MCP)サーバー。 - プレーシステムは、Submarine、Ping、またはTinkなどのサウンドを再生します。 : カスタマイズ可能なタイトル、メッセージ、およびサブタイトルで視覚通知を表示 - 注釈 : テキストを調節可能な音声、レート、およびボリュームで音声に変換する - 利用可能なシステムの声からリストと選択 - 🧪 : すべての通知メソッドを検証するための診断ユーティリティ このツールを使用する最速の方法は、永久的なインストールなしでパッケージを実行するUVXです。 Claudeデスクトップ設定(~/Library/Application Support/Claude/claude desktop config.json)に追加します。 利用可能な音:ベースソ、ブロー、ボトル、カエル、ファンク、グラス、ヒーロー、モース、ピン、ポップ、パープル、ソスミ、潜水艦、シンク - 通知は0の最小間隔で一度に処理されます.

概要(AI 翻訳)

AI アシスタントが macOS 通知、音声、およびテキスト・ツー・スピーナをトリガーすることを可能にするモデルコンテキスト・プロトコル(MCP)サーバー。

✨ 機能

  • 音の通知**: プレイシステムは、Submarine、Ping、またはTinkのような音を鳴らします
  • ?Banner通知: カスタマイズ可能なタイトル、メッセージ、サブタイトルでビジュアル通知を表示
  • 同意するSpeech通知: テキストを調節可能な音声、レート、およびボリュームで音声に変換する
  • 最近のコメント 利用可能なシステムボイスからリストと選択
  • 🧪 テストツール:すべての通知方法を確認する診断ユーティリティ**

すぐに uvx で開始 (推奨)

このツールを使用する最速の方法は、恒久的なインストールなしでパッケージを実行する[uvx]です。

̇️Claudeデスクトップの設定

Claudeデスクトップ設定([~/Library/Application Support/Claude/claude_desktop_config.json])にこれを追加します。

その後、Claudeデスクトップを再起動します。

代替インストール方法

標準的な取付け:

ソースからインストール:

✓ 利用可能な通知ツール

音声通知

利用可能な音:ベースソ、ブロー、ボトル、カエル、ファンク、グラス、ヒーロー、モース、ピン、ポップ、パープル、ソスミ、潜水艦、シンク

バナー通知

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

🔔 macOS Notification MCP

A Model Context Protocol (MCP) server that enables AI assistants to trigger macOS notifications, sounds, and text-to-speech.

✨ Features

  • 🔊 Sound Notifications: Play system sounds like Submarine, Ping, or Tink
  • 💬 Banner Notifications: Display visual notifications with customizable title, message, and subtitle
  • 🗣️ Speech Notifications: Convert text to speech with adjustable voice, rate, and volume
  • 🎙️ Voice Management: List and select from available system voices
  • 🧪 Testing Tools: Diagnostic utilities to verify all notification methods

The fastest way to use this tool is with uvx, which runs packages without permanent installation:

# Install uv if you don't have it
curl -LsSf https://astral.sh/uv/install.sh | sh

# Run the MCP server directly (no installation needed)
uvx macos-notification-mcp

⚙️ Configure Claude Desktop

Add this to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "macos-notification-mcp": {
      "command": "uvx",
      "args": ["macos-notification-mcp"]
    }
  }
}

Then restart Claude Desktop.

📦 Alternative Installation Methods

Standard installation:

pip install macos-notification-mcp

Install from source:

git clone https://github.com/devizor/macos-notification-mcp
cd macos-notification-mcp
pip install .

🛠️ Available Notification Tools

🔊 Sound Notification

sound_notification(sound_name="Submarine")

Available sounds: Basso, Blow, Bottle, Frog, Funk, Glass, Hero, Morse, Ping, Pop, Purr, Sosumi, Submarine, Tink

💬 Banner Notification

banner_notification(
    title="Task Complete",
    message="Your analysis is ready",
    subtitle=None,  # Optional
    sound=False,    # Optional: Play sound with notification
    sound_name=None # Optional: Specify system sound
)

🗣️ Speech Notification

speak_notification(
    text="The process has completed",
    voice=None,     # Optional: System voice to use
    rate=150,       # Optional: Words per minute (default: 150)
    volume=1.0      # Optional: Volume level 0.0-1.0
)

🎙️ Voice Management

list_available_voices()  # Lists all available text-to-speech voices

🧪 Testing

test_notification_system()  # Tests all notification methods

🔒 Implementation Details

  • ⏱️ Rate Limiting: Notifications are processed one at a time with a minimum interval of 0.5 seconds
  • 🔄 Queuing: Multiple notification requests are handled sequentially
  • 🪟 OS Integration: Uses native macOS commands (afplay, osascript, say)
  • 🔌 FastMCP: Built on the FastMCP framework for AI communication

⚠️ Troubleshooting

  • 🔐 Permissions: Ensure notifications are allowed in System Settings → Notifications
GitHub で README 全文を見る

インストール

uvx macos-notification-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "macos-notification-mcp": { "command": "uvx", "args": ["macos-notification-mcp"] } } }