Backblaze · Capability

Backblaze B2 Cloud Storage Management

Unified cloud storage management workflow combining bucket administration, file lifecycle, large file upload, application key management, and event notification configuration. Serves developers, DevOps engineers, and application integrators building on Backblaze B2.

Run with Naftiko BackblazeCloud StorageObject StorageStorage Management

What You Can Do

GET
Authorize account — Authorize account and obtain API token
/v1/authorize
GET
List buckets — List all B2 buckets in the account
/v1/buckets
POST
Create bucket — Create a new B2 bucket
/v1/buckets
PUT
Update bucket — Update bucket type, CORS, or lifecycle settings
/v1/buckets/{bucket_id}
DELETE
Delete bucket — Delete an empty bucket
/v1/buckets/{bucket_id}
GET
List file names — List file names in a bucket
/v1/buckets/{bucket_id}/files
GET
List file versions — List all versions of all files in a bucket
/v1/buckets/{bucket_id}/file-versions
GET
Get bucket notification rules — Get notification rules for a bucket
/v1/buckets/{bucket_id}/notifications
PUT
Set bucket notification rules — Set event notification rules for a bucket
/v1/buckets/{bucket_id}/notifications
GET
Get file info — Get file metadata
/v1/files/{file_id}
DELETE
Delete file version — Delete a specific file version
/v1/files/{file_id}
POST
Get upload url — Get a URL to upload a file to a bucket
/v1/files/upload-url
POST
Copy file — Copy a file to a new name or bucket
/v1/files/copy
POST
Hide file — Hide a file from name-based downloads
/v1/files/hide
POST
Start large file — Start a multi-part large file upload
/v1/large-files
GET
List unfinished large files — List in-progress large file uploads
/v1/large-files
GET
List parts — List uploaded parts for a large file
/v1/large-files/{file_id}/parts
POST
Finish large file — Assemble parts into a complete file
/v1/large-files/{file_id}/finish
POST
Cancel large file — Cancel a large file upload and remove all parts
/v1/large-files/{file_id}/cancel
GET
List keys — List all application keys
/v1/keys
POST
Create key — Create a new scoped application key
/v1/keys
DELETE
Delete key — Delete an application key
/v1/keys/{key_id}
POST
Get download authorization — Get a time-limited token for downloading private files
/v1/download-authorization

MCP Tools

authorize-account

Log in to the Backblaze B2 API and obtain an authorization token for subsequent calls

read-only
list-buckets

List all B2 buckets associated with the account

read-only
create-bucket

Create a new B2 bucket with specified privacy type

update-bucket

Update bucket settings including type, CORS rules, and lifecycle rules

idempotent
delete-bucket

Delete an empty B2 bucket permanently

idempotent
list-file-names

List current file names in a bucket with optional prefix filtering and pagination

read-only
list-file-versions

List all versions of all files in a bucket

read-only
get-file-info

Get metadata about a specific file version including size, checksums, and custom info

read-only
get-upload-url

Get a URL and token for uploading a file to a specific bucket

read-only
delete-file-version

Permanently delete a specific version of a file

idempotent
copy-file

Copy a file to create a new version with a different name or in another bucket

hide-file

Hide a file so it cannot be found by name (soft delete for versioned buckets)

start-large-file

Initiate a multi-part upload for files larger than 5GB

get-upload-part-url

Get a URL for uploading one part of an in-progress large file upload

read-only
finish-large-file

Assemble all uploaded parts into a complete large file

cancel-large-file

Cancel a large file upload and permanently delete all uploaded parts

list-parts

List the parts uploaded so far for an in-progress large file upload

read-only
list-unfinished-large-files

List large file uploads that have been started but not yet completed or cancelled

read-only
create-key

Create a new application key with specific capabilities and optional bucket/prefix restrictions

list-keys

List all application keys for the account

read-only
delete-key

Permanently delete an application key

idempotent
get-download-authorization

Generate a time-limited authorization token for downloading private files

read-only
get-bucket-notification-rules

Get the event notification rules configured for a bucket

read-only
set-bucket-notification-rules

Set or replace all event notification webhook rules for a bucket

idempotent

APIs Used

b2-native-api