Mcp Web Transport
Types
Types
StreamChunk
type StreamChunk = { type: "content"; content: string; } | { type: "tool_use"; toolName: string; arguments: Record<string, any>; } | { type: "tool_result"; toolName: string; result: any; } | { type: "error"; error: string; } | { type: "done"; }