notification-test

arafatkatze/test-mcp
0 starsCommunity

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Enables testing real-time MCP notifications that appear as VS Code popups, demonstrating standalone log messages.

README.md

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": []
    }
  }
}

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}
  1. 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

Related MCP servers

Browse all →