stdio client transport: spawns an MCP server as a subprocess and speaks newline-delimited JSON-RPC over its stdin/stdout.
{Noizu.MCP.Client,
transport: {:stdio, command: "npx", args: ["-y", "@modelcontextprotocol/server-everything"]}}Options: :command (required), :args, :cd, :env (map or keyword of
string pairs).
Erlang ports cannot half-close stdin, so shutdown is
Port.close/1followed by a best-effort SIGTERM to the OS pid. Subprocess stderr is inherited (passes through to the BEAM's stderr).
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.