CLI & APICommand reference
stackblaze setup
Developer tooling setup
Usage: stackblaze setup [options] [command]
Developer tooling setup
Options:
-h, --help Print help
Commands:
mcp [options] Configure StackBlaze MCP for Cursor, Claude Code, Codex, VS
Code (Copilot), Windsurf or OpenCode
skills [options] Install StackBlaze agent skills for Cursor, Claude Code,
and .agents
agent [options] Install skills and configure MCP for detected AI coding
tools
help [command] Print this message or the help of the given subcommand(s)setup mcp
Usage: stackblaze setup mcp [options]
Configure StackBlaze MCP for Cursor, Claude Code, Codex, VS Code (Copilot),
Windsurf or OpenCode
Options:
--api-url <url> StackBlaze API base URL (env STACKBLAZE_API_URL)
--token <token> API token, sb_pat_... (env STACKBLAZE_TOKEN)
--ide <name> Editor to configure (choices: "cursor", "claude", "codex",
"vscode", "windsurf", "opencode", "copilot", default:
"cursor")
--print Print the config snippet instead of writing the file
(token shown as a placeholder) (default: false)
--mcp-path <path> Path to a local StackBlaze MCP server script (stdio)
--force Use HTTP MCP even if local server is found (default:
false)
-h, --help Print help
Files (the stackblaze entry is merged in; other servers are kept):
cursor ~/.cursor/mcp.json
claude ~/.claude.json
codex ~/.codex/config.toml ([mcp_servers.stackblaze])
vscode <VS Code user dir>/mcp.json (alias: copilot)
windsurf ~/.codeium/windsurf/mcp_config.json
opencode ~/.config/opencode/opencode.json
Examples:
$ stackblaze setup mcp --ide codex
$ stackblaze setup mcp --ide vscode --print # paste into .vscode/mcp.jsonExample
Add the StackBlaze MCP server to Cursor. The stackblaze entry is merged into ~/.cursor/mcp.json with your saved token, and other servers in the file are kept:
stackblaze setup mcp --ide cursorOK Configured stackblaze MCP for Cursor → /tmp/home/.cursor/mcp.json
HTTP transport: https://mcp-dev.stackblaze.cloud/mcp--print shows the snippet instead of writing it, with a placeholder for the token:
stackblaze setup mcp --ide claude --print{
"mcpServers": {
"stackblaze": {
"type": "http",
"url": "https://mcp-dev.stackblaze.cloud/mcp",
"headers": {
"Authorization": "Bearer <STACKBLAZE_TOKEN>"
}
}
}
}
# Claude Code: add this to /tmp/home/.claude.json
# Replace <STACKBLAZE_TOKEN> with an API token (create one: stackblaze tokens create claude-mcp).setup skills
Usage: stackblaze setup skills [options]
Install StackBlaze agent skills for Cursor, Claude Code, and .agents
Options:
--api-url <url> StackBlaze API base URL (env STACKBLAZE_API_URL)
--token <token> API token, sb_pat_... (env STACKBLAZE_TOKEN)
--agent <name> cursor, claude, or all (default: "all")
-h, --help Print helpExample
Install the StackBlaze skill for Claude Code, so the agent knows how to use the CLI:
stackblaze setup skills --agent claudeOK Installed skill → /tmp/home/.agents/skills/stackblaze/SKILL.md
OK Installed skill → /tmp/home/.claude/skills/stackblaze/SKILL.mdsetup agent
Usage: stackblaze setup agent [options]
Install skills and configure MCP for detected AI coding tools
Options:
--api-url <url> StackBlaze API base URL (env STACKBLAZE_API_URL)
--token <token> API token, sb_pat_... (env STACKBLAZE_TOKEN)
-y, --yes Non-interactive (default for this command) (default:
false)
--agent <name> cursor, claude, codex, vscode, windsurf, opencode,
copilot, or all (default: "all")
--mcp-path <path> Path to a local StackBlaze MCP server script (stdio)
--force Use HTTP MCP even if local server is found (default:
false)
-h, --help Print helpExample
Set up every AI coding tool found on this machine in one go: the skill plus the MCP server. Here it found Cursor and Codex:
stackblaze setup agentConfiguring StackBlaze agent tooling (cursor, codex)
OK Installed skill → /tmp/home/.agents/skills/stackblaze/SKILL.md
OK Installed skill → /tmp/home/.cursor/skills-cursor/stackblaze/SKILL.md
OK Configured stackblaze MCP for Cursor → /tmp/home/.cursor/mcp.json
HTTP transport: https://mcp-dev.stackblaze.cloud/mcp
OK Configured stackblaze MCP for Codex → /tmp/home/.codex/config.toml
HTTP transport: https://mcp-dev.stackblaze.cloud/mcp
OK Agent setup complete. Restart the editor if MCP was already loaded.