Redis MCP Server
Redis's official MCP server: strings, hashes, streams, JSON and vector search from your agent
Install
{
"mcpServers": {
"RedisMCPServer": {
"command": "uvx",
"args": ["--from", "redis-mcp-server@latest", "redis-mcp-server", "--url", "redis://localhost:6379/0"]
}
}
}Requires uv. Use the rediss:// scheme for TLS.
This is third-party code. Review the repository files before installing.
What it does
The server gives the agent tools for all core Redis structures: strings with expiry, hashes, lists, sets, sorted sets, streams with consumer groups and JSON documents. It supports pub/sub, vector index management and vector search. One tool reports server info, another searches the Redis docs. Connection is set via URL, CLI flags or environment variables, with TLS and EntraID sign-in for Azure Managed Redis.
Who it is for. For developers who keep caches, queues, sessions or vectors in Redis and want to work with them from an agent.
Good fit when
- You need to inspect or edit Redis data without typing commands
- Your agent needs Redis-backed memory or a queue
- You need to create a vector index and test search
Not a fit when
- You would expose production Redis without ACL restrictions
- Your client supports remote servers only: stdio is the only transport for now
Example request
Store this session in Redis with a one hour expiryLimitations
Stdio only. Needs a running, reachable Redis. Local development requires Python 3.14. The vendor recommends a dedicated Redis ACL user to limit permissions.
How to disable. Remove the server entry from your MCP client config.
MCP
- Transport
- stdio
- Authentication
- not required
| Environment variables | |
|---|---|
| REDIS_HOST | Redis host, defaults to 127.0.0.1 |
| REDIS_PORT | Redis port, defaults to 6379 |
| REDIS_USERNAME | ACL username |
| REDIS_PWD secret | Redis password |
| REDIS_SSL | Enables TLS |
Security check
- Can modify and delete data in Redis
- Receives the database password
README in short
The README lists tool groups per Redis data type plus tools for docs, vector search and server info. Install via uvx from PyPI, straight from GitHub, from source or with Docker. It documents connection options, TLS, ACL and EntraID, with examples for Claude Desktop, VS Code, OpenAI Agents SDK and Augment. MIT licensed.
FAQ
How do I give the agent read-only access?
Create a read-only Redis ACL user and pass its credentials to the server.
Is there a Docker image?
Yes, the official mcp/redis image, which the client config can launch.
Related
166 skills for scientific work: bioinformatics, cheminformatics, clinical data, geospatial analysis and 100+ databases
Google's open-source MCP server for databases: ready tools for Postgres, MySQL, BigQuery, Spanner and more, plus custom tools in tools.yaml
Official Hugging Face skills: Hub operations via the hf CLI, datasets, model training, Spaces, evals and deployment
A token-lean MCP server for PostgreSQL, MySQL, MariaDB, SQL Server and SQLite with a read-only mode