Backblaze B2 MCP Server

A Model Context Protocol server for Backblaze B2 Cloud Storage. It lets any MCP-compatible AI client (Claude, and others) operate B2 through a focused, safe set of tools, currently incubating in…

Local serverstdioMIT

What is the Backblaze B2 MCP Server?

Backblaze B2 MCP server is an MCP project maintained in the backblaze-labs/b2-mcp repository. The maintainer describes its purpose as “A Model Context Protocol server for Backblaze B2 Cloud Storage. It lets any MCP-compatible AI client (Claude, and others) operate B2 through a focused, safe…”. Read the project documentation for the complete scope.

Installation

The documented npm package is @backblaze-labs/b2-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares B2_APPLICATION_KEY_ID, B2_APPLICATION_KEY. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
b2_authorize_accountVerify credentials and return account info
b2_list_bucketsList buckets (optional filters)
b2_create_bucketCreate a persistent bucket with initial policy settings
b2_delete_bucketDelete an empty bucket
b2_update_bucketUpdate persistent bucket settings; risky changes are gated
b2_get_bucket_notification_rulesRead webhook notification rules with secrets redacted
b2_set_bucket_notification_rulesReplace webhook notification rules; public HTTPS targets only
b2_list_keysList application keys
b2_delete_keyIrreversibly revoke an application key
b2_create_keyCreate a scoped application key through the configured secret sink
b2_update_file_legal_holdSet/clear legal hold on an object
b2_update_file_retentionSet/clear retention on an object
b2_list_groupsList partner groups (Partner API credential)
b2_eject_group_memberRemove a member from a partner group (Partner API credential)
b2_list_group_membersList group members (Partner API credential)
b2_create_group_memberCreate a Partner group member (Partner API credential)
b2_reserve_trial_create_accountReserve a trial account (Partner API credential)
s3_put_objectInline upload of a small (≤1 MiB) control-plane object
s3_get_objectInline download of a small (≤1 MiB) control-plane object
s3_delete_objectDelete current object or exact version; destructive gate applies
s3_delete_objectsBulk-delete objects
s3_head_objectObject metadata
s3_copy_objectServer-side copy
s3_list_objects_v2List objects
s3_list_object_versionsList object versions and delete markers (paginated)
s3_create_multipart_uploadBegin a multipart upload
s3_get_presigned_upload_part_urlMint a presigned PUT URL for a part
s3_complete_multipart_uploadComplete multipart upload from ordered part ETags
s3_abort_multipart_uploadAbort a multipart upload
s3_list_partsList uploaded parts
s3_list_multipart_uploadsList in-progress multipart uploads (paginated)
s3_upload_part_copyServer-side copy of a part
s3_get_presigned_urlShort-lived presigned PUT/GET bearer URL
s3_head_bucketCheck a bucket is reachable on the S3 endpoint
s3_get_bucket_locationBucket region / location constraint
s3_put_bucket_lifecycleSet S3 lifecycle rules
b2_report_usage_growthRank accounts by stored-data growth between two dates
b2_rank_egress_leadersTop egress by account or bucket over a period
b2_list_largest_filesA bucket's largest objects via bounded live listing
b2_unfinished_uploadsAbandoned multipart uploads consuming storage

How to install the Backblaze B2 MCP Server

{
  "mcpServers": {
    "backblaze-b2": {
      "command": "npx",
      "args": [
        "-y",
        "@backblaze-labs/b2-mcp"
      ],
      "env": {
        "B2_APPLICATION_KEY_ID": "YOUR_B2_APPLICATION_KEY_ID",
        "B2_APPLICATION_KEY": "YOUR_B2_APPLICATION_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
B2_APPLICATION_KEY_IDDeclared in the maintainer’s client configuration.Check documentation
B2_APPLICATION_KEYDeclared in the maintainer’s client configuration.Check documentation