Enhances a Model Context Protocol server with WebSocket functionality for real-time data updates.
This server augments a standard Model Context Protocol (MCP) server by adding WebSocket capabilities, enabling real-time data updates. Clients can make conventional MCP requests while also subscribing via WebSockets to receive immediate push notifications when new data is available. It uses an asynchronous architecture based on `asyncio` to ensure efficient handling of requests and updates.
Key Features
01Enables real-time updates via WebSocket server on port 8765
02Sends push notifications to subscribed clients when new data is available
03Handles standard MCP requests on port 8080
04Employs `asyncio` for efficient, non-blocking operations
Use Cases
01Enabling interactive applications that require immediate data synchronization
02Building systems where clients need to be notified instantly of data changes
03Providing real-time updates to dashboards or monitoring systems