SSE Event Reassembler & Gap Detector

SSE Event Reassembler & Gap Detector MCP Connector for Claude

A+

Detect packet loss and reconstruct fragmented SSE streams.

3 tools Official Updated Oct 1, 2026 Official Vinkius Partner

This MCP server provides specialized tools to ensure the integrity of Server-Sent Events (SSE) streams. It allows AI agents to identify gaps in sequential data, specifically detecting when packets are lost during transmission. Use check_stream_continuity to verify if a sequence is unbroken, reconstruct_message_payload to merge fragmented text into a single coherent message, and enumerate_missing_identifiers to pinpoint exactly which event IDs were missed. This is essential for preventing silent data drops in streaming LLM responses.

ssegap-detectionpayload-reassemblystream-monitoringpacket-loss

3 tools expose this connector's capabilities to your AI agent.

reconstruct_message_payload

Extract and merge all text fragments into a single unified message string

check_stream_continuity

Check if a sequence of SSE events arrived without any missing packets

enumerate_missing_identifiers

Identify exactly which specific event IDs were lost during transmission

See how to talk to your AI agent using SSE Event Reassembler & Gap Detector.

Check if this stream of events is complete: [{'event_id': 1, 'data': 'Hello', 'timestamp': '2024-01-01T10:00:00Z'}, {'event_id': 3, 'data': 'World', 'timestamp': '2024-01-01T10:00:02Z'}]

The stream is incomplete. A gap was detected because event ID 2 is missing.

Reconstruct the message from these fragments: [{'event_id': 10, 'data': 'Part A ', 'timestamp': '...'}, {'event_id': 11, 'data': 'Part B', 'timestamp': '...'}]

The reassembled payload is: Part A Part B

Which IDs are missing from this list: [{'event_id': 5, 'data': 'x', 'timestamp': '...'}, {'event_id': 8, 'data': 'y', 'timestamp': '...'}]

The missing IDs are: [6, 7]

The server sorts all received events by their ID and checks if any integer in the sequence is missing. If the difference between two consecutive IDs is greater than one, a gap is flagged.

Related Connectors