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
hmsetSet multiple hash fields to multiple values
hgetGet the value of a hash field
hgetallGet all the fields and values in a hash
scanScan Redis keys matching a pattern
setSet string value with optional NX (only if not exists) and PX (expiry in milliseconds) options
getGet string value
delDelete a key
zaddAdd one or more members to a sorted set
zrangeReturn a range of members from a sorted set by index
zrangebyscoreReturn members from a sorted set with scores between min and max
zremRemove one or more members from a sorted set
saddAdd one or more members to a set
smembersGet all members in a set