Skip to main content

spawn

Function spawn 

Source
pub async fn spawn(
    spec: Value,
    options: SpawnOptions,
) -> Result<String, VmError>
Expand description

Spawn (register + connect) an MCP server. Returns the server name as the server_id — names are unique within the registry and stable across the process lifetime, so we don’t need a separate opaque id.