This Redis MCP server, created by fahrankaz, provides a bridge between Model Context Protocol clients and Redis databases. It supports core Redis operations like GET, SET, SADD, SMEMBERS, ZADD, ZRANGE, ZRANGEBYSCORE, ZREM, HGET, HGETALL, HMSET, DEL, and SCAN. The implementation is designed as a lightweight CLI tool that starts a Node.js server, making it easy to integrate with existing MCP setups. It's particularly useful for scenarios requiring fast, in-memory data storage and retrieval within AI workflows, such as caching intermediate results or maintaining session state across multiple AI interactions.
No reviews yet. Be the first to review!
Sign in to join the conversation
Set multiple hash fields to multiple values. Parameters: key (string), fields (object, Field-value pairs to set)
Get the value of a hash field. Parameters: key (string), field (string)
Get all fields and values in a hash. Parameters: key (string)
Scan Redis keys matching a pattern. Parameters: pattern (string), count (number, optional)
Set string value with optional NX and PX options. Parameters: key (string), value (string), nx (boolean, optional), px (number, optional)
Get string value. Parameters: key (string)
Delete a key. Parameters: key (string)
Add one or more members to a sorted set. Parameters: key (string), members (array of objects with score and value)
Return a range of members from a sorted set by index. Parameters: key (string), start (number), stop (number), withScores (boolean, optional)
Return members from a sorted set with scores between min and max. Parameters: key (string), min (number), max (number), withScores (boolean, optional)
Remove one or more members from a sorted set. Parameters: key (string), members (array of strings)
Add one or more members to a set. Parameters: key (string), members (array of strings)
Get all members in a set. Parameters: key (string)