Provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
A Redis Model Context Protocol (MCP) server implementation for interacting with Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
62 Redis MCP tools in https://github.com/GongRzhe/REDIS-MCP-Server/tree/redis-plus
To install Redis MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @gongrzhe/server-redis-mcp --client claude
# Using npx with specific version (recommended) npx @gongrzhe/server-redis-mcp@1.0.0 redis://your-redis-host:port # Example: npx @gongrzhe/server-redis-mcp@1.0.0 redis://localhost:6379
Or install globally:
# Install specific version globally npm install -g @gongrzhe/server-redis-mcp@1.0.0 # Run after global installation @gongrzhe/server-redis-mcp redis://your-redis-host:port
set
key
(string): Redis keyvalue
(string): Value to storeexpireSeconds
(number, optional): Expiration time in secondsget
key
(string): Redis key to retrievedelete
key
(string | string[]): Key or array of keys to deletelist
pattern
(string, optional): Pattern to match keys (default: *)To use this server with the Claude Desktop app, add the following configuration to the "mcpServers" section of your claude_desktop_config.json
:
{ "mcpServers": { "redis": { "command": "npx", "args": [ "@gongrzhe/server-redis-mcp@1.0.0", "redis://localhost:6379" ] } } }
Alternatively, you can use the node command directly if you have the package installed:
{ "mcpServers": { "redis": { "command": "node", "args": [ "path/to/build/index.js", "redis://10.1.210.223:6379" ] } } }
When using Docker:
host.docker.internal
if the Redis server is running on the host network{ "mcpServers": { "redis": { "command": "docker", "args": [ "run", "-i", "--rm", "mcp/redis", "redis://host.docker.internal:6379" ] } } }
npm install
npm run build
docker build -t mcp/redis .
This MCP server is licensed under the ISC License. For more details, please see the LICENSE file in the project repository.
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!