Skip to main content

Module runner

Module runner 

Source
Expand description

Concurrent execution helpers to run a normal RustAPI HTTP server side-by-side with an MCP server (on a separate address).

This is modeled after rustapi-grpc for consistency.

Functions§

run_concurrently
Run two independent futures concurrently (HTTP + MCP).
run_rustapi_and_mcp
Run a RustApi HTTP server and an McpServer side-by-side on separate addresses.
run_rustapi_and_mcp_with_shutdown
Run RustAPI HTTP + MCP with a shared shutdown signal.

Type Aliases§

BoxError
Boxed error type used by runner helpers.
Result
Result type for runner helpers.
ShutdownFuture
Shutdown future type.