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.
Say what should happen.
The workflow builds itself.
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
copy_fileCopy filePOSTCopies a file within Backblaze B2, optionally to a different bucket. Supports metadata replacement and partial byte range copies.delete_file_versionDelete file versionPOSTDeletes a specific version of a file from Backblaze B2. Both fileName and fileId are required to identify the exact version.download_file_by_idDownload file by idGETDownloads a file from Backblaze B2 by its unique file ID. Alternative to download_file_by_name when you have the file ID.download_file_by_nameDownload file by nameGETDownloads a file from Backblaze B2 by bucket name and file name. Supports partial downloads via HTTP Range header.get_file_infoGet file infoPOSTReturns detailed metadata for a specific file version in Backblaze B2, including size, content type, SHA1, and custom info.hide_fileHide filePOSTHides a file in Backblaze B2 so it does not appear in list_file_names. Creates a hide marker version without deleting the file.list_file_namesList file namesPOSTLists files in a Backblaze B2 bucket. Returns current file versions sorted alphabetically with support for pagination and prefix filtering.upload_fileUpload filePOSTUploads a file to Backblaze B2 storage. Requires an upload URL obtained from get_upload_url. Supports custom metadata and SHA1 verification.
Bucket, 4 operations
create_bucketCreate bucketPOSTCreates a new storage bucket in Backblaze B2. Configure bucket type, CORS rules, lifecycle policies, encryption, and file lock settings.delete_bucketDelete bucketPOSTDeletes a storage bucket from Backblaze B2. The bucket must be completely empty before deletion.list_bucketsList bucketsPOSTLists all buckets in the Backblaze B2 account. Returns bucket metadata including IDs, names, types, and lifecycle rules.update_bucketUpdate bucketPOSTUpdates settings of an existing Backblaze B2 bucket. Modify bucket type, lifecycle rules, CORS, encryption, and retention settings.
Large file, 4 operations
cancel_large_fileCancel large filePOSTCancels an in-progress large file upload in Backblaze B2 and deletes all uploaded parts.finish_large_fileFinish large filePOSTCompletes a large file upload in Backblaze B2 by combining all uploaded parts. The file becomes available for download after completion.list_unfinished_large_filesList unfinished large filesPOSTLists unfinished large file uploads in a Backblaze B2 bucket. Useful for identifying stale uploads that should be cancelled.start_large_fileStart large filePOSTInitiates a multipart upload for a large file in Backblaze B2. Returns a file ID for subsequent part uploads.
Key, 3 operations
create_keyCreate keyPOSTCreates a new application key in Backblaze B2 with specified capabilities and optional restrictions to specific buckets or file prefixes.delete_keyDelete keyPOSTDeletes an application key from Backblaze B2, permanently revoking its access.list_keysList keysPOSTLists application keys for a Backblaze B2 account. Returns key metadata including capabilities, bucket restrictions, and expiration.
Large file part, 3 operations
copy_partCopy partPOSTCopies bytes from an existing file into a part of a large file upload in Backblaze B2. Enables server-side copy without re-uploading.list_partsList partsPOSTLists uploaded parts of an in-progress large file in Backblaze B2. Useful for resuming interrupted uploads.upload_partUpload partPOSTUploads one part of a large file to Backblaze B2. Part numbers must be contiguous starting from 1.
Account, 1 operation
authorize_accountAuthorize accountGETAuthenticates 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
get_download_authorizationGet download authorizationPOSTCreates 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
update_file_legal_holdUpdate file legal holdPOSTUpdates the legal hold status for a file version in Backblaze B2. Prevents or allows deletion of the file.
File retention, 1 operation
update_file_retentionUpdate file retentionPOSTUpdates Object Lock retention settings for a file version in Backblaze B2. Supports governance and compliance modes.
File version, 1 operation
list_file_versionsList file versionsPOSTLists 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
get_upload_part_urlGet upload part urlPOSTObtains a URL and token for uploading parts of a large file in Backblaze B2. Required before calling upload_part.
Upload url, 1 operation
get_upload_urlGet upload urlPOSTObtains 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 mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Backblaze B2
- Create your workspace
Sign up free. Nothing to install.
- 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.
- 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.
