Redis MCP Server
Redis-maintained MCP server that lets AI agents access cache data, streams, and existing vectors over stdio. Includes uvx and client setup examples; review Redis ACLs, external documentation requests, and Python requirement differences before connecting.
Project overview
Redis MCP Server is maintained by the Redis team and exposes data operations, streams, messaging, and queries to AI agents through MCP. With an existing test instance, a host can inspect cache keys and instance information or write expiring data after permission review. This guide is based on the README, source code, and release history; installation and functional behavior were not tested.
Core capabilities
Data operations with expiration
Operate on strings, hashes, lists, sets, and sorted sets. String writes accept an expiration parameter.
Streams and message subscriptions
Stream tools cover consumer groups and acknowledgments. Pub/Sub uses subscription handles with message polling.
JSON and vector queries
Includes JSON operations, vector indexing, KNN, and hybrid queries. The database needs the corresponding features and vectors must already be available.
Instance information and Redis documentation
Read instance information through dbsize and info. Documentation search separately calls the Redis documentation HTTP endpoint.
Setup and connection
Use the README uvx configuration below to connect your MCP host to Redis on localhost port 6379, logical database 0. Prepare an isolated test instance first; installing the MCP server does not provision Redis.
Let an AI Agent install it
Send this prompt to Codex, Claude Code, or another AI agent that can work with your local environment.
Configure Redis MCP Server from https://github.com/redis/mcp-redis. Read the README Installation, Configuration, and Integrations sections, plus pyproject.toml, src/main.py, and the connection configuration. Check the Python version discrepancy. Use the documented uvx method to connect to my specified test Redis and merge the configuration into my MCP host while preserving other servers. Restart, list tools, and verify only with dbsize. Report the runtime version and result. Ask before requesting credentials, additional permissions, overwriting files, or writing any data. Do not send confidential business data in documentation queries.- Prepare uv/uvx and Python. The README badge specifies Python 3.14+, while package metadata declares >=3.10. Follow the README with Python 3.14 and verify dependency resolution.
- Use an MCP host with local stdio support and a reachable test Redis instance. The example URL has no password and is only appropriate for an isolated environment where you have approved that connection method.
- Before writes, confirm Redis ACL permissions and allowed key scope. Supply real credentials through private configuration supported by your host.
{
"mcpServers": {
"Redis MCP Server": {
"command": "uvx",
"args": [
"--from",
"redis-mcp-server@latest",
"redis-mcp-server",
"--url",
"redis://localhost:6379/0"
]
}
}
}- 1Check uvx and CLI options
Run the README help command in a terminal to check that the package entry point starts and inspect connection options. This does not verify Redis connectivity. ```sh uvx --from redis-mcp-server@latest redis-mcp-server --help ```
- 2Merge the local test configuration
This is the README manual-import configuration for Augment. Merge it into a host that accepts this mcpServers format, preserving existing entries. Use the host-specific README examples for other clients. Confirm that the target is your test instance before saving and restarting the host. ```json { "mcpServers": { "Redis MCP Server": { "command": "uvx", "args": [ "--from", "redis-mcp-server@latest", "redis-mcp-server", "--url", "redis://localhost:6379/0" ] } } } ```
- 3Verify connectivity with a key count
Confirm that Redis tools appear in the host and ask the agent to call only dbsize. Once it returns an integer without errors, evaluate get or other tools as needed. Resolve authentication, network, or ACL errors through the connection settings rather than granting unrestricted writes.
First check that Redis tools appear in the host, then call only dbsize. Expect an integer key count without connection or ACL errors. Tool discovery confirms process integration; a successful dbsize confirms a working query connection. Neither verifies all writes or vector operations.
- The example uses @latest, which changes with releases. The latest release observed was 0.5.1, and main may differ from the published package.
- If the host cannot find uvx, use its absolute path on your machine as described in the README. Do not copy the author’s machine-specific path.
- For remote instances, configure TLS and certificates as required and retain certificate verification. Keep production passwords out of shared URLs.
Use cases
Inspect test caches and sessions
Use get and type on known keys to inspect test cache contents, data types, and TTLs. Return only the data needed for the task to the model.
Work with streams and events
Within an authorized test scope, inspect Streams, manage consumer groups, and acknowledge messages. Subscription tools use handles to retrieve queued Pub/Sub messages.
Query existing vector data
Supply numeric vectors to search an instance with Query Engine support. Data preparation, embedding generation, and retrieval evaluation remain application responsibilities.
Assessment
The README, tool implementations, MIT license, and recent commits show a clear maintainer and traceable setup instructions, making this a useful candidate for developers who already use Redis. Current main covers several data types, which also expands the permission surface. This assessment is based on public materials and does not establish installation reliability, performance, or production stability.
Why it may be useful
- An official Redis repository with tool implementations organized by data type.
- Ready-to-use client configuration plus documented ACL, TLS, and Entra ID options.
What to know first
- The current implementation uses stdio; the README lists Streamable HTTP as future work.
- Python requirements differ between the README badge (3.14+) and pyproject.toml (>=3.10). No Python versions were tested for this listing.
- JSON and vector search require the corresponding Redis capabilities. Vector tools accept existing numeric vectors and do not generate embeddings.
- Tools include writes and deletion. Restrict Redis ACL permissions before production use; no standalone SECURITY.md was found in the repository tree.
README
Redis MCP Server
Overview
Redis-maintained MCP server that lets AI agents access cache data, streams, and existing vectors over stdio. Includes uvx and client setup examples; review Redis ACLs, external documentation requests, and Python requirement differences before connecting. The official Redis MCP Server is a natural language interface designed for agentic applications to manage and search data in Redis efficiently
Getting started
- Use the README uvx configuration below to connect your MCP host to Redis on localhost port 6379, logical database 0. Prepare an isolated test instance first; installing the MCP server does not provision Redis.
- The server exposes tools over stdio and documents PyPI, source, and Docker launch paths.
- The README includes integration examples for Claude Desktop, VS Code with GitHub Copilot, and Augment.
- First check that Redis tools appear in the host, then call only dbsize. Expect an integer key count without connection or ACL errors. Tool discovery confirms process integration; a successful dbsize confirms a working query connection. Neither verifies all writes or vector operations.
Configuration
{
"mcpServers": {
"Redis MCP Server": {
"command": "uvx",
"args": [
"--from",
"redis-mcp-server@latest",
"redis-mcp-server",
"--url",
"redis://localhost:6379/0"
]
}
}
}Read the complete README on GitHub →