This Redis MCP server, developed by gongrzhe, provides a standardized interface for interacting with Redis databases through the Model Context Protocol. Built with TypeScript and leveraging the MCP SDK, it offers tools for common Redis operations like setting/getting key-value pairs, deleting keys, and listing keys matching a pattern. The server implements connection management and error handling, supporting both local and remote Redis instances. By abstracting Redis operations into a consistent MCP format, it enables AI systems to easily interact with Redis data stores. This implementation is particularly valuable for applications requiring fast, in-memory data access and caching, facilitating use cases such as session management, real-time analytics, and distributed task queues.
Set a Redis key-value pair with optional expiration. Input: key (string): Redis key, value (string): Value to store, expireSeconds (number, optional): Expiration time in seconds.
Get value by key from Redis. Input: key (string): Redis key to retrieve.
Delete one or more keys from Redis. Input: key (string | string[]): Key or array of keys to delete.
List Redis keys matching a pattern. Input: pattern (string, optional): Pattern to match keys (default: *).
No reviews yet. Be the first to review!
Sign in to join the conversation
Our bundler currently only supports TypeScript-based servers. Check back soon!