Get started free
All integrations

Backblaze B2 integration

Backblaze B2 Cloud Storage API for affordable, high-performance object storage. Store and retrieve any amount of data with S3-compatible API, manage buckets and files, generate secure download URLs, and handle large file uploads with multipart support. Perfect for backup solutions, media storage, content delivery, and archival workloads at a fraction of the cost of major cloud providers.

29 toolsAPI keyAPI docs

Common Backblaze B2 use cases

  • storage management
  • parallel upload setup
  • storage cleanup
  • soft deleting files
  • uploading file parts
  • browsing stored files
  • uploading large files
  • preparing file uploads
  • preparing part uploads
  • uploading backup files

What you can do with Backblaze B2

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

File, 8 operations

  • POSTcopy_file

    Copies a file within Backblaze B2, optionally to a different bucket. Supports metadata replacement and partial byte range copies.

  • POSTdelete_file_version

    Deletes a specific version of a file from Backblaze B2. Both fileName and fileId are required to identify the exact version.

  • GETdownload_file_by_id

    Downloads a file from Backblaze B2 by its unique file ID. Alternative to download_file_by_name when you have the file ID.

  • GETdownload_file_by_name

    Downloads a file from Backblaze B2 by bucket name and file name. Supports partial downloads via HTTP Range header.

  • POSTget_file_info

    Returns detailed metadata for a specific file version in Backblaze B2, including size, content type, SHA1, and custom info.

  • POSThide_file

    Hides a file in Backblaze B2 so it does not appear in list_file_names. Creates a hide marker version without deleting the file.

  • POSTlist_file_names

    Lists files in a Backblaze B2 bucket. Returns current file versions sorted alphabetically with support for pagination and prefix filtering.

  • POSTupload_file

    Uploads a file to Backblaze B2 storage. Requires an upload URL obtained from get_upload_url. Supports custom metadata and SHA1 verification.

Bucket, 4 operations

  • POSTcreate_bucket

    Creates a new storage bucket in Backblaze B2. Configure bucket type, CORS rules, lifecycle policies, encryption, and file lock settings.

  • POSTdelete_bucket

    Deletes a storage bucket from Backblaze B2. The bucket must be completely empty before deletion.

  • POSTlist_buckets

    Lists all buckets in the Backblaze B2 account. Returns bucket metadata including IDs, names, types, and lifecycle rules.

  • POSTupdate_bucket

    Updates settings of an existing Backblaze B2 bucket. Modify bucket type, lifecycle rules, CORS, encryption, and retention settings.

Large file, 4 operations

  • POSTcancel_large_file

    Cancels an in-progress large file upload in Backblaze B2 and deletes all uploaded parts.

  • POSTfinish_large_file

    Completes a large file upload in Backblaze B2 by combining all uploaded parts. The file becomes available for download after completion.

  • POSTlist_unfinished_large_files

    Lists unfinished large file uploads in a Backblaze B2 bucket. Useful for identifying stale uploads that should be cancelled.

  • POSTstart_large_file

    Initiates a multipart upload for a large file in Backblaze B2. Returns a file ID for subsequent part uploads.

Key, 3 operations

  • POSTcreate_key

    Creates a new application key in Backblaze B2 with specified capabilities and optional restrictions to specific buckets or file prefixes.

  • POSTdelete_key

    Deletes an application key from Backblaze B2, permanently revoking its access.

  • POSTlist_keys

    Lists application keys for a Backblaze B2 account. Returns key metadata including capabilities, bucket restrictions, and expiration.

Large file part, 3 operations

  • POSTcopy_part

    Copies bytes from an existing file into a part of a large file upload in Backblaze B2. Enables server-side copy without re-uploading.

  • POSTlist_parts

    Lists uploaded parts of an in-progress large file in Backblaze B2. Useful for resuming interrupted uploads.

  • POSTupload_part

    Uploads one part of a large file to Backblaze B2. Part numbers must be contiguous starting from 1.

Account, 1 operation

  • GETauthorize_account

    Authenticates with Backblaze B2 using application key credentials. Returns authorization token, API URL, and account information required for all subsequent API calls.

Download authorization, 1 operation

  • POSTget_download_authorization

    Creates a time-limited authorization token for downloading files from a private Backblaze B2 bucket. Useful for sharing files without exposing main credentials.

File legal hold, 1 operation

  • POSTupdate_file_legal_hold

    Updates the legal hold status for a file version in Backblaze B2. Prevents or allows deletion of the file.

File retention, 1 operation

  • POSTupdate_file_retention

    Updates Object Lock retention settings for a file version in Backblaze B2. Supports governance and compliance modes.

File version, 1 operation

  • POSTlist_file_versions

    Lists all versions of files in a Backblaze B2 bucket, including hidden versions. Essential for managing file history and cleaning up storage.

Upload part url, 1 operation

  • POSTget_upload_part_url

    Obtains a URL and token for uploading parts of a large file in Backblaze B2. Required before calling upload_part.

Upload url, 1 operation

  • POSTget_upload_url

    Obtains a URL and authorization token for uploading files to a Backblaze B2 bucket. Required before calling upload_file.

Use Backblaze B2 from Claude Code, Cursor or Codex

Connect Backblaze B2 in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Backblaze B2 operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Backblaze B2

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Backblaze B2 once

    Add your Backblaze B2 connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Backblaze B2 integration FAQ

What can you do with the Backblaze B2 integration?
LiveContext exposes 29 operations on Backblaze B2, covering file, bucket, large file and key. Common uses include storage management, parallel upload setup and storage cleanup.

Popular integrations

Browse the whole catalog