Backblaze · Official
Backblaze B2 MCP server
Manage B2 buckets, files, application keys and Object Lock through the native B2 and S3 compatible APIs.
- Registry name
- io.github.backblaze-labs/b2-mcp
- Latest version
- 0.2.2 · updated 2026-09-29
- Links
- Vendor docsSource
Install
Commands are generated from the registry record. Remote servers usually ask you to sign in with OAuth on first use.
Claude Code
claude mcp add backblaze-b2 -e B2_APPLICATION_KEY_ID=YOUR_VALUE -e B2_APPLICATION_KEY=YOUR_VALUE -- npx -y @backblaze-labs/b2-mcp
Codex
# ~/.codex/config.toml [mcp_servers.backblaze_b2] command = "npx" args = ["-y", "@backblaze-labs/b2-mcp"] [mcp_servers.backblaze_b2.env] B2_APPLICATION_KEY_ID = "<your B2_APPLICATION_KEY_ID>" B2_APPLICATION_KEY = "<your B2_APPLICATION_KEY>"
Gemini CLI
gemini mcp add -e B2_APPLICATION_KEY_ID=YOUR_VALUE -e B2_APPLICATION_KEY=YOUR_VALUE backblaze-b2 npx -y @backblaze-labs/b2-mcp
Cursor
{
"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>"
}
}
}
}VS Code (GitHub Copilot)
code --add-mcp '{"name":"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>"}}'What the Backblaze B2 MCP server can do
From Backblaze's own MCP documentation.
Authentication
B2 application key in B2_APPLICATION_KEY_ID and B2_APPLICATION_KEY. Backblaze recommends a non-master key scoped as narrowly as possible.
Options
- Run with npx -y @backblaze-labs/b2-mcp, or install the .mcpb file from GitHub releases in Claude Desktop.
- A destructive action policy can require confirmation, block, or allow such calls. Local use defaults to confirmation, hosted HTTP deployments default to blocking.
- The policy also covers actions that weaken protection, such as clearing retention.
- Bulk transfers use short-lived URLs, so file data bypasses the model and the server.
Good to know
- Do not paste the application key into the chat.
- The agent can never do more than the key allows.
Packages
- npm @backblaze-labs/b2-mcp
More cloud & infrastructure
Get the weekly agent stack update
New official MCP servers, spec changes and harness releases, checked against the source. One email a week, no fluff.
Work at Backblaze?
Feature Backblaze B2 at the top of the cloud & infrastructure category and the MCP directory from $49/month.
Add an install badge to the Backblaze B2 README
Free. One link that installs the server in Cursor, VS Code, Kiro, LM Studio or Goose with one click, and gives Claude Code, Codex, Gemini CLI and 10 more agents their exact config.
Install in any agent (Markdown)
[](https://agentatlas.dev/tools/setup-kit?servers=backblaze-b2)
Listed on AgentAtlas (Markdown)
[](https://agentatlas.dev/mcp/backblaze-b2)
Reviewed Oct 20, 2026. Official means published under Backblaze's namespace in the MCP registry. It is not a security audit.