data
Upstash Redis MCP, CLI, and Lua Integration for AI Agents
Upstash Redis integration docs for AI agents: MCP gateway setup, Upstash Redis CLI commands, Lua API reference, credentials, and function schemas.
7 functions 5 read 2 write API key auth
Upstash Redis for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
upstash- route_slug
upstash- package
upstash- auth_strategy
api_keyAPI key- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Upstash Redis CLIHeadless setup and direct function calls. Upstash Redis MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Upstash Redis MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Upstash Redis.
Claude Code Upstash Redis MCP setup for Claude Code. Cursor Upstash Redis MCP setup for Cursor. Codex Upstash Redis MCP setup for Codex. OpenAI Agents Upstash Redis MCP setup for OpenAI Agents SDK. Claude Agent SDK Upstash Redis MCP setup for Claude Agent SDK. Vercel AI SDK Upstash Redis MCP setup for Vercel AI SDK. LangChain Upstash Redis MCP setup for LangChain. LangGraph Upstash Redis MCP setup for LangGraph. CrewAI Upstash Redis MCP setup for CrewAI. MCP clients Upstash Redis MCP setup for Generic MCP Clients.
Upstash Redis CLI Matrix
Use these pages for direct Upstash Redis CLI workflows in scripts, CI, cron, and agent wrappers.
CI Upstash Redis CLI for CI. Cron Jobs Upstash Redis CLI for cron jobs. Shell Scripts Upstash Redis CLI for shell scripts. Headless Automation Upstash Redis CLI for headless automation. Coding Agents Upstash Redis CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
upstash.upstash_get_key | Read read | 1 | Retrieve the value stored at a Redis key. Returns null if the key does not exist. |
upstash.upstash_set_key | Write write | 3 | Store a key-value pair in Redis. Optionally set a TTL (time-to-live) in seconds so the key expires automatically. |
upstash.upstash_delete_key | Write write | 1 | Delete a key from Redis. Returns the number of keys that were removed. |
upstash.upstash_list_keys | Read read | 1 | List Redis keys matching a glob-style pattern. Defaults to "*" to list all keys. |
upstash.upstash_list_databases | Read read | 0 | List all Redis databases in the Upstash account. Returns database IDs, names, regions, and endpoints. |
upstash.upstash_get_database | Read read | 1 | Get details for a specific Upstash Redis database by ID, including endpoint, region, and usage stats. |
upstash.upstash_get_current_user | Read read | 0 | Get current team information from Upstash, including team name, members, and plan details. |