Redis MCP Server
by farhankaz
set
Set string value with optional NX (only if not exists) and PX (expiry in milliseconds) options
Input Schema
Name | Required | Description | Default |
---|---|---|---|
key | Yes | Key to set | |
nx | No | Only set if key does not exist | |
px | No | Set expiry in milliseconds | |
value | Yes | Value to set |