Official Redis MCP server for managing data in Redis, including strings, hashes, lists, sets, sorted sets, streams, JSON and pub/sub. Also supports vector indexes and vector search via the query engine. Distributed on PyPI as redis-mcp-server.
Also available as
Connect
- 1Add the server to Codex
codex mcp add redis --env REDIS_HOST=YOUR_REDIS_HOST --env REDIS_PORT=YOUR_REDIS_PORT --env REDIS_PWD=YOUR_REDIS_PWD -- uvx --from redis-mcp-server@latest redis-mcp-server --url redis://localhost:6379/0
Configs are generated from the publisher's documented endpoint. Check their docs for plan requirements and scopes. New to this? Read the step-by-step tutorial.
Tools 12
setgethsethgetalllpushlrangesaddzaddxaddjson_setvector_search_hashscan_keysThings to ask
- “Cache this API response under key user:42 for 10 minutes”
- “Show me all keys matching session:*”
- “Add an event to the orders stream”
- “Create a vector index and search for similar products”