mcp server · redis

Redis MCP server, hosted on the edge.

Give Claude, Cursor, Codex, and any MCP client safe read-only access to Redis through wmcp.sh. Encrypted per-user credential vault, destructive-command blocklist, Cluster + Sentinel aware, audit log per call. wmcp.sh is not affiliated with Redis Ltd.

Connect at https://wmcp.sh/mcp/redis · setup in ~2 minutes · free tier covers 100 reads/day

Why route through wmcp.sh instead of running the official server.

The reference Redis MCP server originally lived in the modelcontextprotocol/servers repo and has been moved to the archived-servers repository. It still works as reference code, but it's stdio-only, single-tenant, and not maintained by the steering group.

Stdio is fine for local Cursor. It breaks the moment a Claude.ai connector or a remote agent needs to call your Redis — those clients only speak Streamable HTTP. Spinning up your own HTTPS wrapper means managing a process, TLS certs, and a way to keep secrets out of config.

wmcp.sh handles all of that: edge-deployed HTTPS endpoint at https://wmcp.sh/mcp/redis, encrypted vault for connection strings, command-level blocklist for FLUSHALL / CONFIG SET / DEBUG, and a per-call audit log you can export.

Redis tools, MCP-shaped.

Eight read-focused tools, all parameter-validated before they hit your Redis.

Node — call Redis MCP from a tool-using agent.

// npm i @modelcontextprotocol/sdk @anthropic-ai/sdk
import Anthropic from "@anthropic-ai/sdk";
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";

const WMCP = "https://wmcp.sh/mcp/redis";
const token = process.env.WMCP_TOKEN!;  // from /dashboard

const mcp = new Client({ name: "redis-agent", version: "1.0" });
await mcp.connect(new StreamableHTTPClientTransport(new URL(WMCP), {
  requestInit: { headers: { Authorization: `Bearer ${token}` } }
}));

const { tools } = await mcp.listTools();
const anthropic = new Anthropic();

const msg = await anthropic.messages.create({
  model: "claude-opus-4-5",
  max_tokens: 1024,
  tools: tools.map(t => ({ name: t.name, description: t.description, input_schema: t.inputSchema })),
  messages: [{ role: "user", content: "What's in the session:user:* keyspace right now?" }],
});
// dispatch tool_use blocks back via mcp.callTool({name, arguments}) — standard MCP loop

Self-hosted Redis MCP server vs wmcp.sh-routed.

CapabilitySelf-hosted reference / community serverwmcp.sh-routed
TransportstdioStreamable HTTP + OAuth, remote-MCP friendly
Credential storagePlaintext env var or configEncrypted per-user vault, rotatable
Destructive-command blocklistYou build itFLUSHALL / CONFIG SET / DEBUG blocked by default
Cluster + SentinelLibrary dependentAuto-detect + route + failover
Audit logNonePer-call: who, when, command, args, latency
Works with Claude.ai connectorsNoYes (OAuth 2.1 DCR)
Setup time30+ min~2 min — paste URI

Common questions.

Is there an official Redis MCP server?
A reference Redis MCP server existed in modelcontextprotocol/servers and was moved to the archived-servers repo in 2025. It still works as reference code but is no longer maintained by the steering group. wmcp.sh is not affiliated with Redis Ltd. or any community fork.
Does wmcp.sh support Redis Cluster?
Yes. Cluster topology is read at connect time, commands are routed to the correct shard, and slot maps are refreshed on MOVED responses. redis.cluster_slots exposes the current map for agent planning.
What about Sentinel?
Sentinel addresses are accepted in the connection string. wmcp.sh discovers the current primary, routes to it, and retries once against the new primary on failover.
Can agents write keys?
Write tools (SET, EXPIRE, etc.) are opt-in per connection. Destructive commands (FLUSHALL / FLUSHDB / CONFIG SET / DEBUG / SHUTDOWN) are blocked at the wmcp.sh layer regardless of opt-in.
Does it work with Upstash / Redis Cloud?
Yes. Any Redis-protocol endpoint reachable on the public internet works, including Upstash, Redis Cloud, AWS ElastiCache (via public endpoint), and self-hosted.
Pricing?
Free 100 reads/day anonymous. Managed Starter $499 one-time, Managed Retainer $999/mo, Enterprise $4,999+/mo. See /managed.

Need this in production?

For production Redis MCP — read-only ACL on your DB, audit retention, SSO, and dashboards across multiple connections — we'll set it up end-to-end. Starter $499 one-time, Managed Retainer $999/mo, Enterprise $4,999+/mo for VPC peering and dedicated support.

→ Managed setup ($499) Submit your MCP server (free)