Redis MCP Server
By thumbsupordown
MCP server for interacting with a Redis key-value store: set and get values, delete keys, and list keys matching a pattern.
Install Redis
- Published by
- Official (vendor)
- Transport
- Local process (stdio)
- Authentication
- None
- Package
- redis-mcp-server
Claude Desktop, Claude Code and Cursor
Add this to the mcpServers object in your client's
config file, then restart the client.
{
"mcpServers": {
"redis": {
"command": "uvx",
"args": [
"--from",
"redis-mcp-server@latest",
"redis-mcp-server",
"--url",
"redis://localhost:6379/0"
]
}
}
}
VS Code uses a different key — show that config
Identical entry, filed under servers rather than
mcpServers. Put it in
.vscode/mcp.json for one workspace.
{
"servers": {
"redis": {
"command": "uvx",
"args": [
"--from",
"redis-mcp-server@latest",
"redis-mcp-server",
"--url",
"redis://localhost:6379/0"
]
}
}
}
Before it will answer
The server itself takes no credential — it opens a Redis connection on your behalf, so anything it needs travels in the --url. A local unprotected instance needs nothing; a managed one takes its password in the URI (redis://user:password@host:6379/0, or rediss:// for TLS). Azure Managed Redis with EntraID is configured through REDIS_ENTRAID_AUTH_FLOW instead.