Skip to main content
Glama

Redis MCP Server

Official
by redis

xrange

Retrieve specified entries from a Redis stream using a key and optional count. Streamlines data access and management in Redis for agentic applications.

Instructions

Read entries from a Redis stream.

Args: key (str): The stream key. count (int, optional): Number of entries to retrieve.

Returns: str: The retrieved stream entries or an error message.

Input Schema

NameRequiredDescriptionDefault
countNo
keyYes

Input Schema (JSON Schema)

{ "properties": { "count": { "default": 1, "title": "Count", "type": "integer" }, "key": { "title": "Key", "type": "string" } }, "required": [ "key" ], "title": "xrangeArguments", "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