package mcp-kit
Module Mcp_kit_stdioSource
Stdio transport adapter for mcp-kit.
This library boundary is intentionally separate from the transport-agnostic core so applications can depend on the core without adopting a concrete IO strategy.
Source
val serve_line :
?verified_binding:Mcp_kit.Elicitation_url.verified_binding ->
Mcp_kit.Server.t ->
string ->
string optionDispatch one line of JSON-RPC input without connection lifecycle state.
Dispatch one line of JSON-RPC input through a per-connection session.
Source
val serve_line_frames :
?verified_binding:Mcp_kit.Elicitation_url.verified_binding ->
Mcp_kit.Server.t ->
string ->
string listDispatch one line and return progress notifications followed by the final response.
Serve line-delimited JSON-RPC over the provided channels until EOF.