StackBlaze for Agents
Stack MCP is how agents and editors create projects, add services, deploy, and read logs. The CLI (stackblaze setup mcp) can write the client config for you.
Stack MCP
Section titled “Stack MCP”MCP is at https://mcp.stackblaze.cloud. Send a Bearer token from Settings → API tokens. The value starts with kbr_pat_ and inherits your organization and permissions. Per-session Authorization is required so each user keeps their own RBAC — do not share a privileged fallback token.
Connect a client
Section titled “Connect a client”In Cursor, Claude, or any MCP-compatible client, add a server pointing at the MCP URL and pass the token in Authorization. Feature tools use prefixes such as pg__*, redis__*, waf__*, and fn__*.
{ "mcpServers": { "stackblaze": { "url": "https://mcp.stackblaze.cloud", "headers": { "Authorization": "Bearer kbr_pat_…" } } }}What to use it for
Section titled “What to use it for”Read service specs, queue builds, search logs, and add databases without leaving the editor. Prefer log search (search_logs) over a raw tail — an empty live stream is not the same as “no logs.”
For the CLI, curl, and stackblaze.yaml plan/apply, see the CLI and the REST API reference. More MCP detail: MCP server.