← Back to Tools
Set Key
Set a key-value pair in Redis with optional expiration
Example Prompt
Cache the API response with a 5-minute TTL
Input Parameters
key string Required Redis key to set
value string Required Value to store
ttl number Optional Time to live in seconds
Install MCP Server
aivyx hub install mcp-servers/redis This tool is available after installing the Redis MCP server.