Skip to main content
Glama
notification-test

notification-test

by arafatkatze

MCP Real-time Notifications Test

This is a test MCP server that demonstrates real-time notifications in Cline.

Setup

  1. Install dependencies:

pip install -r requirements.txt
  1. Run the server:

python server.py
  1. Add the server to Cline's MCP settings:

    • Open the Cline MCP settings file (you can find the path in VS Code)

    • Add this configuration:

{
  "mcpServers": {
    "notification-test": {
      "type": "streamableHttp",
      "url": "http://127.0.0.1:8000/mcp",
      "disabled": false,
      "autoApprove": []
    }
  }
}

Related MCP server: AI Notify MCP

Testing

  1. Make sure the server is running (you should see "Starting server on http://127.0.0.1:8000")

  2. In Cline, use the MCP tool:

    • Server: notification-test

    • Tool: start_notifications

    • Arguments: {"count": 5}

  3. You should see VS Code notification popups appearing in real-time as the server sends them!

How it works

  • The server sends notifications using send_log_message without a related_request_id

  • This makes them standalone notifications that arrive immediately

  • Cline's McpHub now has notification handlers that display these as VS Code popups

  • The notifications also appear in the console for debugging

What you'll see

  • VS Code info notifications like: "MCP notification-test: [notification_demo] Notification 1/5 sent after 0.52s total (waited 0.52s)"

  • Console logs with full notification details

  • Real-time updates as each notification arrives

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that displays desktop notifications on Windows 10 and macOS, compatible with VSCode Cline and supporting customizable notification parameters.
      4
      MIT
    • A
      license
      C
      quality
      D
      maintenance
      Sends system notifications when AI completes responses in MCP-compatible code editors, with cross-platform support for macOS, Windows, and Linux including customizable titles, messages, icons, and sound effects.
      2
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Connects VSCode with MCP to provide AI assistants real-time access to LSP diagnostics, symbol info, and code navigation, enabling efficient code analysis without slow build commands.
      105
      ISC