upstash-cli
БесплатноБез исполняемых скриптовНе проверенRun the Upstash CLI (`upstash`) from a terminal, shell script, or CI job when no Upstash MCP tools are in the session. Do not load this skill when Upstash MCP…
от upstash★ 37 звёзд на GitHubОб этом скилле
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
Or run a single command without installing: npx upstash <command>.
Connect coding agents to Upstash
upstash setup connects coding agents to Upstash in one step. Claude Code, Codex, Cursor, and Gemini CLI get the Upstash plugin (the Upstash skills plus the remote MCP server). VS Code, GitHub Copilot CLI, and OpenCode get the remote MCP server (https://mcp.upstash.com/mcp) in their config plus the upstash skill. The MCP server signs in with OAuth on first use, so setup never writes an API key into an agent's config.
A person at a terminal can run npx upstash: with no arguments in a terminal it starts upstash setup and asks which agents to set up. Outside a terminal a bare upstash only prints the help, so from an agent or a script call upstash setup with --yes and the agent flags:
npx -y upstash setup --yes --claude # or --codex, --cursor, --gemini, --vscode, --copilot, --opencode
npx -y upstash setup --yes --cursor --mode mcp # remote MCP server + skill instead of the plugin
npx -y upstash setup --yes --claude --project # this project instead of the user config
npx -y upstash setup --yes --dry-run # show what would change; without agent flags, --yes covers every detected agent
With --project, Claude Code installs the plugin at project scope; Codex, Cursor, and Gemini CLI plugins install per user only, so they get project-level MCP config plus the skill instead. Rerunning setup updates what it installed. Afterwards the agent needs a restart or reload (in Claude Code, /reload-plugins; in Cursor, Developer: Reload Window).
Authentication
Recommended: run upstash login once per machine. Prompts for email and a Developer API key (create one at https://console.upstash.com/account/api), verifies them, and saves to ~/.config/upstash/config.json.
upstash login
Alternatives — env vars (also auto-loaded from a .env in cwd), or --email / --api-key inline, or --env-path <path> to point at a specific .env:
export [email protected]
export UPSTASH_API_KEY=your_api_key
Precedence: flags > env vars > .env > saved config. Prefer a read-only API key for agents when possible — mutations fail at the API, the same way they would in the console.
Resource ID flags
| Flag | Products |
|---|---|
--db-id <id> |
Redis |
--index-id <id> |
Vector, Search |
--qstash-id <id> |
QStash |
<bucket> (positional, name or id) |
Blob |
--team-id <id> |
Team |
Redis
upstash redis list
upstash redis get --db-id <id> [--hide-credentials]
upstash redis create --name <name> --region <region> [--read-regions <r1> <r2>]
upstash redis create-branch --db-id <id> --name <branch-name>
upstash redis delete --db-id <id> [--dry-run]
upstash redis rename --db-id <id> --name <new-name>
upstash redis reset-password --db-id <id>
upstash redis stats --db-id <id>
upstash redis enable-tls --db-id <id>
upstash redis {enable,disable}-eviction --db-id <id>
upstash redis {enable,disable}-autoupgrade --db-id <id>
upstash redis change-plan --db-id <id> --plan <free|payg|pro|paid>
upstash redis update-budget --db-id <id> --budget <cents>
upstash redis update-regions --db-id <id> --read-regions <r1> <r2>
upstash redis move-to-team --db-id <id> --team-id <id>
Regions — AWS: us-east-1, us-east-2, us-west-1, us-west-2, ca-central-1, eu-central-1, eu-west-1, eu-west-2, sa-east-1, ap-south-1, ap-northeast-1, ap-southeast-1, ap-southeast-2, af-south-1. GCP: us-central1, us-east4, europe-west1, asia-northeast1.
create-branch makes a branch: a point-in-time copy of a database (or of another branch) with its own endpoint and password, billed as pay-as-you-go. It returns in state creating; poll upstash redis get --db-id <database_id of the branch> until state is active. The other redis commands take a branch's id like any database's. A branch cannot be merged back. To use it from application code, write its credentials to the env file
Установить upstash-cli в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл upstash-cli?
Run the Upstash CLI (`upstash`) from a terminal, shell script, or CI job when no Upstash MCP tools are in the session. Do not load this skill when Upstash MCP tools are available (the Upstash plugin registers mcp.upstash.com) - they already cover creating, listing, renaming, branching, and deleting Redis databases, running Redis commands, usage stats, backups, plans and budgets, Vector and Search indexes, QStash schedules and messages, Blob buckets and objects, and Box, so call them directly. Use this skill for shell work the MCP does not do - a CI step or provisioning script with JSON output, piping results into other commands, `upstash login` and API-key setup, team and member management, restoring a Redis backup, uploading or syncing local files to a Blob bucket, minting temporary S3 credentials, connecting a coding agent to Upstash with `upstash setup` (the Upstash plugin, or the remote MCP server plus skills), or when the user explicitly asks for the CLI or for managing Upstash without the console.
Как установить скилл upstash-cli?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл upstash-cli запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic