Expand description
Streamable HTTP transport and server entry points.
Structs§
- McpServer
Config - Configuration for the MCP server.
- Reload
Handle - 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_addrand 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§
- Readiness
Check - Async readiness check callback for the
/readyzendpoint.