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

    Function startHttp

    • Start the hardened Streamable HTTP MCP transport.

      Parameters

      Returns Promise<void>

      A promise that resolves once the server is listening.

      Startup validates HTTP credential mode, creates the runtime-neutral MCP pipeline, listens on the resolved port, and installs SIGTERM/SIGINT graceful shutdown handlers. Request handling remains per-request and stateless for the current MCP HTTP protocol.

      CredentialResolutionError when the selected HTTP credential mode is not configured safely.

      PortUsageError when the selected port is invalid.

      await startHttp({ host: "127.0.0.1", port: 3000 });