Module protocol

Module protocol 

Source
Expand description

MCP Protocol Version Detection and Features

This module handles MCP protocol version detection from HTTP headers and provides feature flags for different protocol versions.

Enums§

McpProtocolVersion
Supported MCP protocol versions and features

Functions§

extract_last_event_id
Extract Last-Event-ID from HTTP request headers for SSE resumability
extract_protocol_version
Extract MCP protocol version from HTTP request headers
extract_session_id
Extract MCP session ID from HTTP request headers