Skip to main content
Glama

Redis MCP Server

Official
by redis

json_set

Set or update JSON values at specific paths in Redis, optionally with an expiration time. Simplify JSON data management and storage in Redis with precise path-based updates.

Instructions

Set a JSON value in Redis at a given path with an optional expiration time.

Args: name: The Redis key where the JSON document is stored. path: The JSON path where the value should be set. value: The JSON value to store. expire_seconds: Optional; time in seconds after which the key should expire.

Returns: A success message or an error message.

Input Schema

NameRequiredDescriptionDefault
expire_secondsNo
nameYes
pathYes
valueYes

Input Schema (JSON Schema)

{ "properties": { "expire_seconds": { "default": null, "title": "Expire Seconds", "type": "integer" }, "name": { "title": "Name", "type": "string" }, "path": { "title": "Path", "type": "string" }, "value": { "title": "Value" } }, "required": [ "name", "path", "value" ], "title": "json_setArguments", "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