Community MCP server for Redis in-memory data store. Agents can get and set key-value pairs, work with Redis data structures (lists, sets, hashes, sorted sets), use pub/sub messaging, manage key expiration, and query database statistics. Ultra-fast for caching, session management, real-time leaderboards, and message queuing.
npx -y mcp-redis
{
"mcpServers": {
"redis": {
"env": {
"REDIS_URL": "redis://localhost:6379"
},
"args": [
"-y",
"mcp-redis"
],
"command": "npx"
}
}
}Get Redis key value
{
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"type": "string"
}
}
}// Input
{
"key": "session:123"
}// Output
{
"value": "data..."
}Set Redis key with TTL
{
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"type": "string"
},
"ttl": {
"type": "integer"
},
"value": {
"type": "string"
}
}
}// Input
{
"key": "cache:x",
"ttl": 3600,
"value": "[...]"
}// Output
{
"success": true
}Community MCP server for Redis in-memory data store. Agents can get and set key-value pairs, work with Redis data structures (lists, sets, hashes, sorted sets), use pub/sub messaging, manage key expiration, and query database statistics. Ultra-fast for caching, session management, real-time leaderboards, and message queuing.
Redis provides 2 tools including get_key, set_key.
Yes, Redis is completely free to use with no usage limits on the free tier.
You can install Redis using the following command: npx -y mcp-redis. After installation, add the provided config snippet to your Claude Desktop or Cursor configuration.
Redis is listed under the Data & Analytics category in the AgentForge MCP registry.
Redis has a current uptime of 99.95% with an average response time of 3ms.
To connect Redis, click the "Connect Agent" button on this page to get the configuration snippet. Add it to your MCP client (Claude Desktop, Cursor, or any MCP-compatible tool). Your AI agent will then have access to all of Redis's tools via the Model Context Protocol.