MCP ConfigsApr 6, 2026·2 min read

Redis MCP Server — Official Redis for AI Agents

Official Redis MCP server enabling AI agents to manage Redis data via natural language. Supports strings, hashes, lists, sets, streams, JSON, pub/sub, and vector search. MIT license.

MC
MCP Hub · Community
Quick Use

Use it first, then decide how deep to go

This block should tell both the user and the agent what to copy, install, and apply first.

Add to your .mcp.json:

{
  "mcpServers": {
    "RedisMCPServer": {
      "command": "uvx",
      "args": [
        "--from", "redis-mcp-server@latest",
        "redis-mcp-server",
        "--url", "redis://localhost:6379/0"
      ]
    }
  }
}

Or run standalone:

uvx --from redis-mcp-server@latest redis-mcp-server --url redis://localhost:6379/0

Restart your AI tool. Redis is now accessible to your agent.


Intro

The Redis MCP Server is the official Model Context Protocol server by Redis, enabling AI agents to manage and search Redis data through natural language. With 470+ GitHub stars and MIT license, it supports all Redis data structures — strings, hashes, lists, sets, sorted sets, streams, JSON documents — plus vector search, pub/sub messaging, and EntraID authentication for Azure. Your AI agent can now query, update, and search Redis directly from Claude Code, Cursor, or any MCP-compatible tool.

Best for: developers using Redis who want AI agents to interact with their data. Works with: Claude Code, Cursor, Gemini, any MCP client. Setup time: under 2 minutes.


Redis MCP Server — Supported Operations

Data Structures

Type Operations
Strings GET, SET with TTL, MGET, MSET
Hashes HGET, HSET, HGETALL, field operations
Lists LPUSH, RPUSH, LPOP, RPOP, LRANGE
Sets SADD, SREM, SMEMBERS, set operations
Sorted Sets ZADD, ZRANGE, leaderboards, priority queues
Streams XADD, XREAD, consumer groups, event sourcing
JSON Full JSON document operations

Advanced Features

  • Vector Search — Create vector indexes, store embeddings, similarity search
  • Pub/Sub — Publish messages, subscribe to channels
  • Key Management — TTL, expiry, key scanning, pattern matching
  • Azure EntraID — Native authentication for Azure Managed Redis

Example Agent Interactions

"Store user session data in Redis hash with 30-minute TTL"
"Find the top 10 items in the leaderboard sorted set"
"Search for similar vectors to this embedding in the product index"
"Publish a notification to the alerts channel"

FAQ

Q: What is Redis MCP Server? A: The official MCP server by Redis that lets AI agents manage Redis data (strings, hashes, lists, sets, streams, JSON, vectors) via natural language.

Q: Is it free? A: Yes, MIT license. Requires a running Redis instance.


🙏

Source & Thanks

Created by Redis. Licensed under MIT.

mcp-redis — ⭐ 470+

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets