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.
Aucun avis encore. Soyez le premier à donner votre avis !
Connectez-vous pour rejoindre la 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 - Field to get)
Get all fields and values in a hash. Parameters: key (string)
Scan Redis keys matching a pattern. Parameters: pattern (string - Pattern to match), count (number, optional - Number of keys to return)
Set string value with optional NX and PX options. Parameters: key (string), value (string), nx (boolean, optional - Only set if not exists), px (number, optional - Expiry in milliseconds)
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 (number) and value (string))
Return a range of members from a sorted set by index. Parameters: key (string), start (number - Start index), stop (number - Stop index), withScores (boolean, optional - Include scores in output)
Return members from a sorted set with scores between min and max. Parameters: key (string), min (number - Minimum score), max (number - Maximum score), withScores (boolean, optional - Include scores in output)
Remove one or more members from a sorted set. Parameters: key (string), members (array of strings - Members to remove)
Add one or more members to a set. Parameters: key (string), members (array of strings - Members to add to the set)
Get all members in a set. Parameters: key (string)