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.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
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 filePOSTAgents: ask firstCopies a file within Backblaze B2, optionally to a different bucket. Supports metadata replacement and partial byte range copies.delete_file_versionDelete file versionPOSTAgents: ask firstDeletes 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 idGETAgents: ask firstDownloads 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 nameGETAgents: ask firstDownloads a file from Backblaze B2 by bucket name and file name. Supports partial downloads via HTTP Range header.get_file_infoGet file infoPOSTAgents: ask firstReturns detailed metadata for a specific file version in Backblaze B2, including size, content type, SHA1, and custom info.hide_fileHide filePOSTAgents: ask firstHides 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 namesPOSTAgents: ask firstLists files in a Backblaze B2 bucket. Returns current file versions sorted alphabetically with support for pagination and prefix filtering.upload_fileUpload filePOSTAgents: ask firstUploads 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 bucketPOSTAgents: ask firstCreates a new storage bucket in Backblaze B2. Configure bucket type, CORS rules, lifecycle policies, encryption, and file lock settings.delete_bucketDelete bucketPOSTAgents: ask firstDeletes a storage bucket from Backblaze B2. The bucket must be completely empty before deletion.list_bucketsList bucketsPOSTAgents: ask firstLists all buckets in the Backblaze B2 account. Returns bucket metadata including IDs, names, types, and lifecycle rules.update_bucketUpdate bucketPOSTAgents: ask firstUpdates 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 filePOSTAgents: ask firstCancels an in-progress large file upload in Backblaze B2 and deletes all uploaded parts.finish_large_fileFinish large filePOSTAgents: ask firstCompletes 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 filesPOSTAgents: ask firstLists unfinished large file uploads in a Backblaze B2 bucket. Useful for identifying stale uploads that should be cancelled.start_large_fileStart large filePOSTAgents: ask firstInitiates a multipart upload for a large file in Backblaze B2. Returns a file ID for subsequent part uploads.
Key, 3 operations
create_keyCreate keyPOSTAgents: ask firstCreates a new application key in Backblaze B2 with specified capabilities and optional restrictions to specific buckets or file prefixes.delete_keyDelete keyPOSTAgents: ask firstDeletes an application key from Backblaze B2, permanently revoking its access.list_keysList keysPOSTAgents: ask firstLists application keys for a Backblaze B2 account. Returns key metadata including capabilities, bucket restrictions, and expiration.
Large file part, 3 operations
copy_partCopy partPOSTAgents: ask firstCopies 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 partsPOSTAgents: ask firstLists uploaded parts of an in-progress large file in Backblaze B2. Useful for resuming interrupted uploads.upload_partUpload partPOSTAgents: ask firstUploads one part of a large file to Backblaze B2. Part numbers must be contiguous starting from 1.
Account, 1 operation
authorize_accountAuthorize accountGETAgents: ask firstAuthenticates 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 authorizationPOSTAgents: ask firstCreates 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 holdPOSTAgents: ask firstUpdates 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 retentionPOSTAgents: ask firstUpdates Object Lock retention settings for a file version in Backblaze B2. Supports governance and compliance modes.
File version, 1 operation
list_file_versionsList file versionsPOSTAgents: ask firstLists 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 urlPOSTAgents: ask firstObtains 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 urlPOSTAgents: ask firstObtains 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.
