Skip to main content
Glama

Redis MCP Server

Official
by redis

sadd

Add a value to a Redis set with an optional expiration time. Specify the set key, value, and expiration duration to manage data efficiently using the Redis MCP Server.

Instructions

Add a value to a Redis set with an optional expiration time.

Args: name: The Redis set key. value: The value to add to the set. expire_seconds: Optional; time in seconds after which the set should expire.

Returns: A success message or an error message.

Input Schema

NameRequiredDescriptionDefault
expire_secondsNo
nameYes
valueYes

Input Schema (JSON Schema)

{ "properties": { "expire_seconds": { "default": null, "title": "Expire Seconds", "type": "integer" }, "name": { "title": "Name", "type": "string" }, "value": { "title": "Value", "type": "string" } }, "required": [ "name", "value" ], "title": "saddArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/redis/mcp-redis'

If you have feedback or need assistance with the MCP directory API, please join our Discord server