@backblaze-labs/b2-mcp
    Preparing search index...

    Function startStdio

    • Start the MCP server over stdio.

      Returns Promise<void>

      A promise that resolves after the stdio transport has been registered with the MCP SDK.

      The stdio path reads credentials from the process environment, attempts capability discovery once with a B2_STDIO_CAPABILITY_TIMEOUT_MS bootstrap deadline (10s by default). A local deadline expiry starts with an empty fail-closed capability set; a returned transient upstream outage degrades to the full tool surface. Other credential errors remain fatal during bootstrap. When no application key is present, the bootstrap starts a credential-less discovery server instead of exiting.

      CredentialResolutionError when credential resolution fails for a reason other than transient capability lookup.

      await startStdio();