Redis MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
hmset

Set multiple hash fields to multiple values

hget

Get the value of a hash field

hgetall

Get all the fields and values in a hash

scan

Scan Redis keys matching a pattern

set

Set string value with optional NX (only if not exists) and PX (expiry in milliseconds) options

get

Get string value

del

Delete a key

zadd

Add one or more members to a sorted set

zrange

Return a range of members from a sorted set by index

zrangebyscore

Return members from a sorted set with scores between min and max

zrem

Remove one or more members from a sorted set

sadd

Add one or more members to a set

smembers

Get all members in a set