- UPDATE
- CLEANUP
- EXPIRY
- REVIEW
Short answer
Can I manage my Redis keys using my AI?
Yes. You can tell your AI to set new values, update expiration timers, or delete specific keys. You'll see how this works in the breakdown below.
Data management outcomes
Where your changes land.
Your AI handles the database operations directly.
UPDATE
Modified string values
The AI overwrites existing data or adds new strings. Your cache stays current without manual CLI commands.
CLEANUP
Removed key patterns
The AI wipes out specific groups of keys. This clears out old or unwanted data instantly.
EXPIRY
Adjusted TTL settings
The AI changes how long keys live. You can prevent data bloat by setting new expiration times.
REVIEW
Human verification
The AI lists your keys first. You decide which ones to target before any deletions happen.
The workflow
What your AI does when <the thing arrives>.
The AI translates your plain English into database actions.
Find keys
The AI scans your database to find the specific keys you want to target.
list_keysWrite data
The AI updates the content of a string or sets a new value.
setSet expiration
The AI applies a new time limit to a key to control its lifecycle.
setDelete keys
The AI removes the keys you've identified for removal.
delete
Try it
Copy these to start.
Use these prompts to interact with your Redis instance.
Starting points
Swap the key names and values with your own specific data.
Upstash Redis Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_LWIxSXPx9aBN8ImAGEwBNh9Bp3KqtBybpfNFxgJc/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Upstash Redis capabilities are ready to use.
{
"mcpServers": {
"upstash-redis-mcp": {
"url": "https://edge.vinkius.com/vk_preview_LWIxSXPx9aBN8ImAGEwBNh9Bp3KqtBybpfNFxgJc/mcp"
}
}
}Set the value of session_user_88 to 'logged_in'.
Delete all keys that start with 'cache_temp_'.
List all the keys in my current Redis database.
Set the expiration for the key 'api_token_xyz' to 300 seconds.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Upstash Redis once, then ask.
Connect your account in one click. Your credentials stay encrypted, and you can start managing data immediately.
Connect Upstash Redis to your AIFAQ
How this task behaves
- 01
Can the AI delete my entire database?
No. The AI only deletes specific keys or patterns that you explicitly tell it to remove.
- 02
Can I use this to manage Redis Hashes or Lists?
No. This connector only supports string values.
- 03
Does the AI need my actual password?
No. You connect via Vinkius, which handles your credentials securely.
- 04
Can the AI see what keys are currently in my database?
Yes. It can list your keys so you can see what is available to modify or delete.
- 05
Will the AI delete keys on its own?
No. The AI only performs deletions when you give it a direct command to do so.
More questions about Upstash Redis? The Connector page answers them. See everything the Upstash Redis Connector can do
Connect Upstash Redis to Claude, Cursor, ChatGPT & more
