Skip to main content

Module transport

Module transport 

Source
Expand description

Streamable HTTP transport and server entry points.

Structs§

McpServerConfig
Configuration for the MCP server.
ReloadHandle
Handle for hot-reloading server configuration without restart.
Validated
Marker that wraps a value proven to satisfy its validation contract.

Functions§

serve
Run the MCP HTTP server, binding to config.bind_addr and serving until an OS shutdown signal (Ctrl-C / SIGTERM) is received.
serve_stdio
Serve an MCP server over stdin/stdout (stdio transport).
serve_with_listener
Run the MCP HTTP server on a pre-bound TcpListener, with optional readiness signalling and external shutdown control.

Type Aliases§

ReadinessCheck
Async readiness check callback for the /readyz endpoint.