About
Overview
The Redis MCP Server provides tools for AI agents to interact with Redis instances. It supports all common Redis operations including string, hash, list, set, and sorted set commands. Also enables pub/sub messaging, key expiration management, and cluster-aware connections.
Capabilities
Tools & Capabilities
⚡get
Get the value of a key
⚡set
Set a key-value pair with optional expiration
⚡del
Delete one or more keys
⚡hget
Get a field from a hash
⚡hset
Set a field in a hash
⚡lpush
Push an element to the head of a list
⚡keys
Find all keys matching a pattern
⚡info
Get Redis server information and statistics
Setup
Installation
bash
Install
npx -y mcp-redisExamples
Example Usage
javascript
Usage
{
"mcpServers": {
"redis": {
"command": "npx",
"args": ["-y", "mcp-redis"],
"env": {
"REDIS_URL": "redis://localhost:6379"
}
}
}
}Quick Info
Authorredis
LanguageTypeScript
StatusStable
Stars★ 410
Last UpdatedFeb 12, 2026