Upstash Redis integration
Serverless Redis with REST API. Low-latency key-value storage perfect for caching, session management, rate limiting, and real-time features. Pay-per-request pricing with global replication.
Say what should happen.
The workflow builds itself.
Common Upstash Redis use cases
- Recent items
- Categories
- Tags
- Unfollow
- Cache TTL
- List tags
- Stack pop
- Cache read
- Page views
- Cache write
What you can do with Upstash Redis
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Key, 8 operations
delDelPOSTAgents: ask firstDeletes one or more keys from Redis.existsExistsGETAgents: ask firstChecks whether one or more keys exist.expireExpirePOSTAgents: ask firstSets an expiration time on a key.getdelGetdelGETAgents: ask firstGets the value of a key and deletes it atomically.keysKeysGETAgents: ask firstReturns all keys matching a glob-style pattern.mgetMgetGETAgents: ask firstGets values for multiple keys in a single request.msetMsetPOSTAgents: ask firstSets multiple key-value pairs atomically.ttlTtlGETAgents: ask firstGets remaining time to live for a key.
Hash, 7 operations
hdelHdelPOSTAgents: ask firstDeletes one or more fields from a Redis hash.hgetHgetGETAgents: ask firstGets a field value from a Redis hash.hgetallHgetallGETAgents: ask firstGets all fields and values from a hash.hkeysHkeysGETAgents: ask firstReturns all field names in a Redis hash.hlenHlenGETAgents: ask firstReturns the number of fields in a Redis hash.hmgetHmgetGETAgents: ask firstGets multiple fields from a Redis hash in one request.hsetHsetPOSTAgents: ask firstSets a field in a Redis hash.
List, 6 operations
llenLlenGETAgents: ask firstReturns the length of a list.lpopLpopPOSTAgents: ask firstRemoves and returns the first element of a list.lpushLpushPOSTAgents: ask firstPushes values to the head of a list.lrangeLrangeGETAgents: ask firstGets a range of elements from a list.rpopRpopPOSTAgents: ask firstRemoves and returns the last element of a list.rpushRpushPOSTAgents: ask firstPushes values to the tail of a list.
Set, 6 operations
saddSaddPOSTAgents: ask firstAdds members to a Redis set.scardScardGETAgents: ask firstReturns the number of members in a set.setSetPOSTAgents: ask firstSets a key-value pair in Redis.sismemberSismemberGETAgents: ask firstChecks if a value is a set member.smembersSmembersGETAgents: ask firstGets all members of a set.sremSremPOSTAgents: ask firstRemoves one or more members from a Redis set.
Counter, 2 operations
incrIncrPOSTAgents: ask firstIncrements an integer value by 1.incrbyIncrbyPOSTAgents: ask firstIncrements an integer by a specific amount.
Get, 1 operation
getGetGETAgents: ask firstGets a value from Redis by key.
Pipeline, 1 operation
pipelinePipelinePOSTAgents: ask firstExecutes multiple Redis commands in one HTTP round-trip (non-atomic batch).
Use Upstash Redis from Claude Code, Cursor or Codex
Connect Upstash Redis in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Upstash Redis operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Upstash Redis
- Create your workspace
Sign up free. Nothing to install.
- Connect Upstash Redis once
Add your Upstash Redis connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Upstash Redis integration FAQ
What can you do with the Upstash Redis integration?
LiveContext exposes 31 operations on Upstash Redis, covering key, hash, list and set. Common uses include Recent items, Categories and Tags.
