Agents

Your infra, in the agent loop.

Connect Stack MCP to Cursor, Claude, Copilot, Codex, OpenCode, Windsurf, or the CLI. Diagnose crashes, query logs, and operate services in natural language.

stackblaze agent -p "why is checkout crashing?"

Connect

Every agent, one server

Point any MCP client at https://mcp.stackblaze.cloud/mcp with a personal token. Or let the CLI write the file.

Cursor

~/.cursor/mcp.json

Anysphere

Add the StackBlaze server, then reload MCP. Composer talks to your projects over HTTPS.

mcp.json
{
  "mcpServers": {
    "stackblaze": {
      "type": "http",
      "url": "https://mcp.stackblaze.cloud/mcp",
      "headers": {
        "Authorization": "Bearer kbr_pat_…"
      }
    }
  }
}

Claude Code

~/.claude.json

Anthropic

Same HTTP server. Claude Code and Claude Desktop both read mcpServers from this file.

.claude.json
{
  "mcpServers": {
    "stackblaze": {
      "type": "http",
      "url": "https://mcp.stackblaze.cloud/mcp",
      "headers": {
        "Authorization": "Bearer kbr_pat_…"
      }
    }
  }
}

CLI

stackblaze setup mcp

StackBlaze

Writes the config for you, then you can chat from the terminal. Scope with --pipeline, --phase, or --app.

terminal
stackblaze login
stackblaze setup mcp
stackblaze agent -p "why is checkout crashing?"

GitHub Copilot

.vscode/mcp.json

GitHub

Workspace agent mode can call Stack MCP the same way Cursor does — HTTP plus a Bearer token.

mcp.json
{
  "servers": {
    "stackblaze": {
      "type": "http",
      "url": "https://mcp.stackblaze.cloud/mcp",
      "headers": {
        "Authorization": "Bearer kbr_pat_…"
      }
    }
  }
}

Codex

~/.codex/config.toml

OpenAI

OpenAI’s terminal agent. Point it at Stack MCP, or run the CLI next to it.

config.toml
[mcp_servers.stackblaze]
url = "https://mcp.stackblaze.cloud/mcp"
http_headers = { Authorization = "Bearer kbr_pat_…" }

OpenCode

opencode.json

Open source

Provider-agnostic terminal agent. Remote MCP with the same URL and token.

opencode.json
{
  "mcp": {
    "stackblaze": {
      "type": "remote",
      "url": "https://mcp.stackblaze.cloud/mcp",
      "headers": {
        "Authorization": "Bearer kbr_pat_…"
      }
    }
  }
}

Windsurf

~/.codeium/windsurf/mcp_config.json

Cognition

Same mcpServers shape as Cursor. Reload the editor after you save the file.

mcp_config.json
{
  "mcpServers": {
    "stackblaze": {
      "type": "http",
      "url": "https://mcp.stackblaze.cloud/mcp",
      "headers": {
        "Authorization": "Bearer kbr_pat_…"
      }
    }
  }
}

What it does

The same control plane as the dashboard

Diagnose from the editor
Ask why an app is crashing. The agent reads status, searches logs, and proposes the fix — no PromQL, no grep across five tabs.
Operate the stack
Provision services, restart apps, and change config in natural language. Tool names are unprefixed: get_app, deploy_app, search_logs.
Same token as the API
Mint a kbr_pat_ token under Settings → API tokens. MCP, the REST API, and the CLI all use Authorization: Bearer.

Full tool list and REST surface live in Automation & MCP and the CLI reference.

Your stack, in every agent.

Point Cursor, Claude, Copilot, or the CLI at Stack MCP. Same token as the API. Same control plane as the dashboard.