Creativity · MCP — server

MCP Redis Server

The MCP Redis server lets a Claude-style client run Redis commands through MCP tools. Redis Inc. has published an official implementation under their open-source org that supports strings, hashes, streams, and Redis Stack vector search; several community servers also exist. Typical use: inspect cache keys, prune stale entries, or run a vector similarity search over embeddings stored in Redis.

MCP facts

Kind
server
Ecosystem
anthropic-mcp
Language
Python / TypeScript
Transports
stdio

Capabilities

  • Tools: get, set, del, keys, scan, hget, ft_search (Redis Stack)
  • Resources: key namespaces and index schemas
  • Auth: REDIS_URL with optional ACL username/password

Install

uvx mcp-server-redis

Configuration

{
  "mcpServers": {
    "redis": {
      "command": "uvx",
      "args": ["mcp-server-redis"],
      "env": {
        "REDIS_URL": "redis://localhost:6379/0"
      }
    }
  }
}

Frequently asked questions

What is the MCP Redis server good for?

Cache inspection ('what keys match user:1234:*?'), debugging stale entries, and running similarity search when you use Redis Stack as a vector store for RAG.

Does it support Redis Cluster?

Yes, by pointing REDIS_URL at the cluster endpoint. Keep in mind that KEYS and some scan commands fan out across shards and may be slow on large clusters — prefer SCAN with MATCH.

How do I limit destructive commands?

Use Redis ACLs to forbid FLUSHDB, FLUSHALL, CONFIG, and DEBUG for the MCP user, and only expose read-oriented tools in your server build.

Sources

  1. Redis MCP Server — accessed 2026-04-20
  2. Redis Stack vector search — accessed 2026-04-20