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

Types

STDIO transport options

t()

Functions

Returns a specification to start this module under a supervisor.

Types

option()

@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

t()

@type t() :: GenServer.server()

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

get_schema(atom)

parse_options(data)

parse_options!(data)