Skip to main content

MAX_MCP_FRAME_BYTES

Constant MAX_MCP_FRAME_BYTES 

Source
pub const MAX_MCP_FRAME_BYTES: usize = _; // 16_777_216usize
Expand description

Max bytes in a single MCP JSON-RPC line before the frame is dropped and the reader resyncs to the next newline. MCP tool results can be large (a server returning a file), hence the generous ceiling.