Official Upstash CLI for provisioning, inspecting, and administering Upstash Redis databases and teams.
$npm install -g @upstash/cli
Agent Compatibility
JSON Output
Agent Skill
MCP Support
AI Analysis
Upstash CLI is Upstash's official command-line interface for control-plane operations on Upstash Redis and account teams. It is built for managing database lifecycle, credentials, placement, and team membership from the shell or CI.
What It Enables
- Create, list, inspect, and delete Upstash Redis databases, including region selection and replication-related settings during provisioning.
- Check database details and usage stats, rename databases, reset passwords, and move a database to another team without using the web console.
- Create and delete teams, list team members, and invite or remove members for account-level administration.
Agent Fit
- The Redis and team command groups support
--json, andredis statsreturns structured JSON by default, so follow-up parsing and verification are straightforward. - Auth can come from flags, environment variables, or a saved config file, which keeps scripted runs simple once management API credentials are in place.
- Useful for agents that provision or administer Upstash Redis, but a weaker fit if you need QStash, Vector, or older Kafka workflows because those commands are not present in the current source.
Caveats
- Human-readable tables are still the default for many commands, so automation should opt into
--jsonconsistently. - Some commands can fall back to interactive prompts when flags are omitted, and the CLI requires Upstash management API credentials before any remote action.