An MCP server that exposes Redis connection, key-value, list, set, hash, sorted set, key, and server/admin operations to AI models. It connects to a Redis instance configured via environment variables and provides tools for common Redis commands like get/set, list and set manipulation, scanning keys, and flushing the database.
From the registry: MCP server that exposes Redis API to AI models
$ pip install mcp-redis-serverhttps://pypi.org/project/mcp-redis-server/Please install the `mcp-redis-server` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Install mcp-redis-server** — Install the PyPI package Run: `pip install mcp-redis-server` (https://pypi.org/project/mcp-redis-server/)
- **Redis server** — A reachable Redis instance for the server to connect to (https://redis.io/)
Canonical MCP server config (stdio transport):
- command: `python`
- args: ["-m","mcp_redis_server"]
- optional environment variables:
- `REDIS_HOST`: Redis host (example: `localhost`)
- `REDIS_PORT`: Redis port (example: `6379`)
- `REDIS_PASSWORD`: Redis password if auth enabled (example: `<your-redis-password>`)
- `REDIS_DB`: Redis database number (example: `0`)
- `REDIS_SSL`: Enable SSL (example: `false`)
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.REDIS_HOSTrequiredRedis host to connect toREDIS_PORTrequiredRedis port to connect toREDIS_DBrequiredRedis database number to useMCP server for interacting with the Supabase platform