factory static method
KernelServerHostFactory-shaped entry point. Hosts pass this to
KernelApp.boot(serverHostFactory: ServerBootstrap.factory) so
every endpoint binds an MCP-server-backed surface.
Implementation
static ServerBootstrap factory({
required String name,
required String version,
Set<ToolScope> visibility = const {ToolScope.external},
bool debugMode = false,
}) {
return ServerBootstrap(
name: name,
version: version,
visibility: visibility,
debugMode: debugMode,
);
}