pub async fn setup<E>(
config: Config,
executor: E,
) -> Result<(TcpListener, Router)>Expand description
Build the rmcp (TcpListener, axum::Router) pair. The executor is
Arc-wrapped internally so the dynamic plugin / tool route
closures and the static ObjectiveAI handler share a single
instance.