stdio server transport: newline-delimited JSON-RPC on stdin/stdout.
Started automatically by the server supervisor when transport: :stdio.
Creates the single implicit session, reads stdin line-by-line, and owns
stdout exclusively for protocol traffic.
Logging and stdout
Anything written to stdout that is not a JSON-RPC message corrupts the
stream and breaks the server in MCP clients. This transport reconfigures
the default Logger handler to write to stderr at startup. Avoid
IO.puts/1 (and anything else that writes to stdout) in handler code; to
pin the behavior explicitly, configure:
config :logger, :default_handler, config: [type: :standard_error]Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.