R

Redis MCP Server

Connect AI agents to Redis for key-value operations and caching.

open-source 58/100 Databases & Data redis cache key-value database in-memory

A Model Context Protocol server for Redis. Enables AI agents to perform key-value operations, manage data structures, and interact with Redis databases.

Supports standard Redis operations including GET, SET, HGET, HSET, lists, sets, and key management with TTL support.

Install

npx -y @redis/mcp-server

MCP Client Config

{
  "mcpServers": {
    "redis": {
      "command": "npx",
      "args": [
        "-y",
        "@redis/mcp-server"
      ],
      "env": {
        "REDIS_URL": "redis://localhost:6379"
      }
    }
  }
}

Required Environment Variables

  • REDIS_URL

Capabilities

Tools

getsetdelkeyshgethsetlpushlrange

Compatible With

Claude Desktop Claude Code Cursor Windsurf

Metrics

420

GitHub Stars

7,200

Installs

560

Weekly

5

Open Issues