REDIS
A Redis MCP server (pushed to https://github.com/modelcontextprotocol/servers/tree/main/src/redis) implementation for interacting with Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
claude mcp add --transport stdio gongrzhe-redis-mcp-server npx @gongrzhe/server-redis-mcp@1.0.0 redis://localhost:6379
How to use
This Redis MCP Server provides a set of standardized tools that let large language models interact with Redis key-value stores. The available tools include set (to store a key-value pair with an optional expiration), get (to retrieve a value by key), delete (to remove one or more keys), and list (to enumerate keys matching a pattern). You can run the server via npx or by invoking the package directly if installed globally, and then connect to a Redis instance using a Redis URL such as redis://localhost:6379. Once running, you can issue MCP calls to perform common Redis operations in a structured way, enabling LLMs to manage Redis data without executing raw Redis commands directly. The server is designed to work with Claude Desktop or other MCP-enabled clients by configuring the mcpServers section in their configuration to point to the npx invocation (or an equivalent Node-based startup).
How to install
Prerequisites:
- Node.js and npm installed on the host
- Access to a Redis server (local or remote) with a reachable URL
Installation and setup:
- Install the MCP server package via NPX (no permanent installation required):
npx -y @gongrzhe/server-redis-mcp@1.0.0 redis://localhost:6379
- Optional: install globally for easier reuse:
npm install -g @gongrzhe/server-redis-mcp@1.0.0
- Start the server (if installed globally, you can run the package name with a Redis URL):
@gongrzhe/server-redis-mcp redis://localhost:6379
- Verify connectivity by issuing a test command to connect to your Redis instance through the MCP interface. Ensure your Redis server is reachable from the host where you run the MCP server.
If you prefer using a local build path, you can build the project and run the built index with Node, as described in the repository's development guidance.
Additional notes
Notes and tips:
- The server targets a Redis-compatible endpoint; ensure the Redis URL is correct and that any required authentication (password) is included in the URL if needed (e.g., redis://:password@host:port).
- The available tools map to common Redis operations: set (with optional expiration), get, delete, and list (pattern-based key scanning). Use descriptive keys and manage expiration as needed.
- If you plan to run in Docker or behind a firewall, ensure the container or host can reach the Redis endpoint.
- You can configure the client (Claude Desktop or other MCP clients) to point to the npx invocation as shown in the README, or run the server via a Node command if the package is installed locally.
- When using docker or specialized environments, consider providing the Redis URL as the first argument to the MCP launcher to simplify configuration.
Related MCP Servers
zen
Selfhosted notes app. Single golang binary, notes stored as markdown within SQLite, full-text search, very low resource usage
MCP -Deepseek_R1
A Model Context Protocol (MCP) server implementation connecting Claude Desktop with DeepSeek's language models (R1/V3)
mcp-fhir
A Model Context Protocol implementation for FHIR
mcp
Inkdrop Model Context Protocol Server
mcp-appium-gestures
This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.