Related MCP Server Resources

Explore more AI models, providers, and integration options:

  • Explore AI Models
  • Explore AI Providers
  • Explore MCP Servers
  • LangDB Pricing
  • Documentation
  • AI Industry Blog
  • Gemini MCP Image Generation Server
  • Safari Screenshot MCP Server
  • Fantasy Premier League MCP Server
  • Notion Knowledge Base MCP Server
  • Image Generation MCP Server
Back to MCP Servers
Toast MCP Server

Toast MCP Server

Public
naru-sensei/-toast-mcp-server

An MCP server that displays desktop notifications on Windows 10 and macOS, compatible with VSCode Cline and supporting customizable notification parameters.

Verified
python
0 tools
May 30, 2025
Updated May 30, 2025

Windows 10 および macOS 通知機能付き MCP サーバー

プロジェクト概要

このプロジェクトは、デスクトップ通知を表示できる Model Context Protocol (MCP) サーバーを作成することを目的としています。Windows 10 では win10toast ライブラリを使用し、macOS では osascript を使用して通知を表示します。このサーバーは MCP クライアント(VSCode Cline など)からのリクエストを受け取り、それに基づいてデスクトップ通知を表示します。

要件

機能要件

  1. MCP プロトコルサポート

    • MCP クライアントとの通信を確立するための Model Context Protocol の実装
    • 最新の MCP 仕様のサポート(VSCode Cline との完全な互換性を提供)
    • 同期および非同期リクエストの処理
  2. 通知システム

    • Windows 10 では win10toast ライブラリを使用してデスクトップ通知を表示
    • macOS では osascript を使用して通知センターに通知を表示
    • カスタマイズ可能な通知パラメータのサポート:
      • タイトル
      • メッセージ内容
      • 表示時間
      • アイコン(Windows のみ、オプション)
      • サブタイトル(macOS のみ、オプション)
      • 通知音(macOS のみ、オプション)
      • 通知タイプ(情報、警告、エラー、成功)
  3. クライアント接続

    • 設定可能なネットワークインターフェースでのリスニング(localhost の 127.0.0.1 だけでなく、すべてのインターフェースに対応する 0.0.0.0 でも)
    • 設定可能なポート(デフォルト: 8000)
    • 複数の同時クライアント接続の処理
    • 接続問題に対する適切なエラー処理
  4. コマンド処理

    • MCP クライアントからの通知コマンドの処理
    • 通知をトリガーするためのシンプルな API のサポート
    • コマンド検証と適切なエラーレスポンスの提供

技術要件

  1. サーバー実装

    • 実装には Python 3.8 以上を使用
    • asyncio または同様のライブラリを使用した非同期サーバーとして実装
    • MCP サーバー実装のベストプラクティスに従う
  2. 依存関係

    • Windows 10 デスクトップ通知用の win10toast
    • macOS 通知用の osascript(システムに標準搭載)
    • MCP プロトコル実装に必要なライブラリ
    • 外部依存関係を最小限に抑える
  3. 設定

    • コマンドライン引数による設定のサポート
    • 環境変数による設定のサポート
    • すべての設定に対する合理的なデフォルト値の提供
  4. ログ記録とエラー処理

    • 包括的なログシステムの実装
    • すべてのクライアント接続、コマンド、エラーのログ記録
    • 意味のあるエラーメッセージを含む適切な例外処理

テスト要件

  1. テストスクリプト

    • サーバーの機能を実証するテストスクリプトの含有
    • 様々な通知タイプの例示
  2. クライアント互換性

    • VSCode Cline との互換性の確保
    • クライアント固有の設定要件のドキュメント化

成果物

  1. MCP サーバーの Python 実装
  2. 機能を実証するテストスクリプト
  3. すべての依存関係をリストした requirements.txt
  4. 使用方法と設定に関するドキュメント
  5. 一般的な問題のトラブルシューティングガイド

実装上の注意

  • サーバーが localhost だけでなく、すべてのインターフェース(0.0.0.0)にバインドするようにする
  • 同時リクエストを処理するための適切なスレッディングまたは非同期パターンを使用する
  • 適切なセキュリティ対策(入力検証など)を含める
  • 接続問題のデバッグのための詳細なログオプションを提供する
  • サーバーの適切なシャットダウンを実装する

使用例

完成したサーバーは次のように実行できるようにする:

python mcp_server.py --port 8000 --host 0.0.0.0

そして、VSCode Cline または他の MCP クライアントから MCP プロトコルを介して通知をトリガーできるようにする。

Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs5
  • Gemini MCP Image Generation Server
    Gemini MCP Image Generation Server

    A Model Context Protocol server that provides image generation capabilities using Google's Gemini 2 ...

    1 tools
    Added May 30, 2025
  • Safari Screenshot MCP Server
    Safari Screenshot MCP Server

    Enables capturing high-quality native macOS screenshots using Safari through a Node.js server, suppo...

    1 tools
    Added May 30, 2025
  • Fantasy Premier League MCP Server
    Fantasy Premier League MCP Server

    A Model Context Protocol server that provides access to Fantasy Premier League data, allowing users ...

    Added May 30, 2025
  • Notion Knowledge Base MCP Server
    Notion Knowledge Base MCP Server

    An MCP server that connects to your Notion knowledge base, allowing you to query and retrieve inform...

    Added May 30, 2025
  • Image Generation MCP Server
    Image Generation MCP Server

    A Model Context Protocol server that enables generation of high-quality images using the Flux.1 Schn...

    1 tools
    Added May 30, 2025