upstash-cli
Prefer the MCP server when it is available
If Upstash MCP tools are in the session, call them instead of shelling out to the CLI. They are
already authenticated and cover the same ground — creating, branching and inspecting Redis databases,
running Redis commands, usage stats and insights, backups, plans and budgets, Vector and Search
indexes, Blob buckets and objects, QStash schedules and messages, the DLQ, logs, and Box. Installing
the Upstash plugin registers the hosted server at https://mcp.upstash.com/mcp.
Use the CLI when there is no MCP in the session, or when the work is inherently shell work — a CI step, a provisioning script, or piping JSON into other commands.
The Upstash CLI (upstash) manages Upstash services via the Upstash Developer API. All commands are non-interactive and emit JSON on stdout. Errors go to stderr as { "error": "..." } with exit code 1.
Install
npm i -g upstash