MCP server · Databases
Redis MCP server
The Redis MCP server is Redis’s official MCP server. It lets an assistant read and write Redis data types, streams and JSON documents, and run vector search on a Redis database. It runs locally with uvx and connects with a Redis URL; there is no read-only flag, so it can write and delete keys.
- Maintainer
- Redis (official)
- Licence
- MIT
- Runs
- Locally (uvx)
- Sign-in
- Optional token
- Registry version
- 0.5.1 (updated 2026-08-05)
- Last activity
- 2026-10-13
Overview
What can the Redis MCP server do?
Redis’s MCP server is a Python package that you run with uvx. It connects to a Redis database from a redis:// or rediss:// URL, or from environment variables for host, port, user, password and TLS settings. It also supports Redis Cluster mode and Microsoft Entra ID sign-in for Azure Managed Redis. It talks to MCP clients over stdio only.
Use it when an assistant needs to treat Redis as working storage: caching a value with an expiry, keeping session data in a hash, pushing to a queue, appending to a stream or storing JSON documents. It also manages vector indexes and runs vector search, publishes and reads pub/sub messages, and returns server information. A docs tool searches the Redis documentation. The README suggests a read-only Redis ACL user when the assistant only needs to look.
Tools
Tools it gives the assistant
- String, hash, list, set and sorted set tools
- Streams, including consumer groups and acknowledgements
- JSON document storage and path-based updates
- Pub/sub publish, subscribe and read
- Vector index management and vector search
- Server information and Redis documentation search
Install
How do I install Redis MCP in Claude Code, Cursor or VS Code?
You need:
- uv (provides uvx)
- A Redis database you can reach
Run in your project. --scope local keeps the servers private to you in this project; use user for every project.
claude mcp add --scope local redis -- uvx --from redis-mcp-server@latest redis-mcp-server --url redis://localhost:6379/0
claude mcp add --scope local redis -- uvx --from 'redis-mcp-server@latest' redis-mcp-server --url redis://localhost:6379/0
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json · Windows: %APPDATA%\Claude\claude_desktop_config.json (Settings → Developer → Edit Config). Restart Claude after saving.
{
"mcpServers": {
"redis": {
"command": "uvx",
"args": [
"--from",
"redis-mcp-server@latest",
"redis-mcp-server",
"--url",
"redis://localhost:6379/0"
]
}
}
}
In your project, or ~/.cursor/mcp.json for every project.
{
"mcpServers": {
"redis": {
"type": "stdio",
"command": "uvx",
"args": [
"--from",
"redis-mcp-server@latest",
"redis-mcp-server",
"--url",
"redis://localhost:6379/0"
]
}
}
}
In your workspace. VS Code asks for each secret the first time a server starts and stores it securely.
{
"servers": {
"redis": {
"type": "stdio",
"command": "uvx",
"args": [
"--from",
"redis-mcp-server@latest",
"redis-mcp-server",
"--url",
"redis://localhost:6379/0"
]
}
}
}
Need another app? Open Redis MCP Server in the MCP config generator for a shared project .mcp.json, Devin, or several servers at once; it writes one file per app. The snippets follow the setup in the server’s README, checked on 2026-10-14.
Is the Redis MCP server safe? Check before you install
- The assistant can write and delete keys in the database it connects to; there is no read-only flag in the server itself.
- For read-only use, connect as a Redis ACL user limited to read commands, as the README shows (+@read -@write).
- A password in the --url is visible in your client config; the REDIS_PWD environment variable is an alternative.
- A local MCP server runs with your user account’s permissions. Install it only from the source linked above. See how to choose a safe server.
FAQ
Redis MCP questions
Is the Redis MCP server official?
Yes. Redis publishes and maintains it, under the MIT licence. Install it only from the source linked on this page, not from a copy in another directory.
Is Redis MCP server remote or local?
Local. Your MCP app starts it on your machine with uvx, and it runs with your user account’s permissions.
Does Redis MCP server need an API key or account?
Not to start. It works without a key, and an API key or token from the service adds higher limits or more tools. You also need: uv (provides uvx); A Redis database you can reach.
Why it’s listed
Why we list it
Official Redis server covering the main data types plus vector search, with regular releases.
Related
Alternatives and related servers: databases
- ClickHouse MCP Server
- DuckDB / MotherDuck Local MCP Server
- mcp-server-qdrant
- Pinecone Developer MCP Server
- MCP Toolbox for Databases
- Neon MCP Server
All MCP serversMCP config generatorGuide: MCP servers in Claude CodeGuide: what is MCP?