Anubis.Server.Transport.STDIO
(anubis_mcp v1.0.0)
Copy Markdown
STDIO transport implementation for MCP servers.
This module handles communication with MCP clients via standard input/output streams, processing incoming JSON-RPC messages and forwarding responses directly to the Session process.
Summary
Functions
Returns a specification to start this module under a supervisor.
Types
@type option() :: {:server, GenServer.server()} | {:name, GenServer.name()} | GenServer.option()
STDIO transport options
:server- The server module (required):name- Optional name for registering the GenServer
@type t() :: GenServer.server()