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

    Function registerS3BucketTools

    • Register S3-compatible bucket reachability and lifecycle tools.

      Parameters

      • server: ToolRegistrar

        Tool registrar receiving S3 bucket tools.

      • s3: Pick<
            B2S3PeerClient,
            "headBucket"
            | "putBucketLifecycle"
            | "deleteBucketLifecycle",
        >

        Repository-owned S3-compatible client facade.

      • config: B2Config

        Server configuration used for destructive policy.

      Returns void

      These retained S3 tools cover features that either validate S3 endpoint reachability or lack a native B2 equivalent. Lifecycle expiration and empty-rule clearing are routed through the shared destructive gate.

      registerS3BucketTools(registrar, s3Client, config);