AttestoMCP.Server.Stdio (attesto_mcp_server v0.14.0)

Copy Markdown View Source

Line-delimited stdio adapter over the shared protocol core.

Summary

Functions

Starts a server, runs until EOF, and raises on an adapter startup failure.

Run until stdin reaches EOF. Only compact JSON-RPC messages go to stdout.

Functions

main(opts \\ [])

@spec main(keyword()) :: :ok | no_return()

Starts a server, runs until EOF, and raises on an adapter startup failure.

run(server, opts \\ [])

@spec run(
  pid() | atom(),
  keyword()
) :: term()

Run until stdin reaches EOF. Only compact JSON-RPC messages go to stdout.