Redis MCP Server
Query and manage Redis data structures from your AI agent
The Redis MCP Server lets AI agents interact with Redis — get/set keys, work with lists, sets, hashes, and streams, and inspect cache state. Useful for debugging caching issues, monitoring queues, and building agents that manage application state.
Installation & Configuration
Add this block to your claude_desktop_config.json (or your agent framework's MCP config file):
{
"mcpServers": {
"redis": {
"command": "uvx",
"args": ["redis-mcp"],
"env": { "REDIS_URL": "redis://localhost:6379" }
}
}
}
Config file location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/claude/claude_desktop_config.json
Available Tools (12)
setgetdelkeyslpushlrangehsethgetzaddzrangesubscribepublish
Use Cases
- Cache debugging — inspect what's in Redis for a specific key
- Queue monitoring — check job queue depths and stuck items
- Session management — view and manage user session data
Source & Documentation
GitHub Repository: https://github.com/redis/mcp-redis
Protocol: Model Context Protocol (MCP) — modelcontextprotocol.io