Module transport

Source
Expand description

Transport helpers.

  • run_stdio — attach to stdin/stdout for local MCP hosts.
  • run_http — bind an Axum HTTP server with StreamableHttpService.

Functions§

run_http
Run the MCP server over Streamable HTTP using Axum.
run_stdio
Run the MCP server on stdin / stdout.