Redis MCP Server
Redis's official MCP server, letting an agent run natural-language data operations across strings, hashes, lists, sets, sorted sets, streams, pub/sub and JSON, plus manage vector indexes for search.
Overview
Redis MCP Server is Redis's own natural-language interface to a Redis instance. It covers the full range of Redis data structures, not just basic get/set, so an agent can build on things like streams and pub/sub without writing raw Redis commands.
How it works
- It exposes typed tools per data structure: strings with expiration, hashes (including vector embeddings), lists, sets, sorted sets for leaderboard-style ranking, streams with consumer groups, and JSON documents with path-based access.
- Pub/sub tools support stateful channel and pattern subscriptions, so an agent can subscribe once and keep reading queued messages across several calls rather than re-subscribing each time.
- A dedicated query engine manages vector indexes and runs vector search directly against Redis, useful for retrieval-augmented generation workflows that already store embeddings there.
- It supports EntraID (Azure Active Directory) authentication for Azure Managed Redis, with automatic token renewal, alongside standard username/password and TLS connections.
- A
docstool searches Redis's own documentation and best practices, so an agent can look up the right approach before running a command instead of guessing at Redis semantics.
Examples
"Cache the result of this API call in Redis with a 10 minute expiration,
keyed by the request parameters."
Installation
You need uv (recommended) or Python with pip, and a running Redis
instance.
- Make sure you have a Redis instance reachable (local, Docker, or a managed Redis).
- Add the server to your MCP client's config, pointing
--urlat your Redis connection string (see the sidebar). - Restart your client.
- Ask the agent to set and then read back a key to confirm the connection works.
Related assets
Awesome MCP Servers
The largest community catalog of MCP servers: thousands of entries across dozens of categories (databases, browser automation, cloud, communication and more), tagged by language and scope.
Context7
Pulls updated, version-specific documentation and code examples straight from the source into your prompt, so agents stop citing outdated APIs or hallucinating ones that don't exist.
PostgreSQL Database Administrator
Acts as a hands-on PostgreSQL DBA through the official VS Code PostgreSQL extension: connects to a real server, inspects schemas, runs and optimizes queries, and handles backups, instead of guessing from application code.