Labsco
MCP SERVER

Redis MCP Server

by GongRzhe

Read and write Redis keys from the conversation — get, set with an expiry, delete and list by pattern.

NoSQL, Graph & Key-Value Stores
Summary
Four key-value operations, nothing else in the way.

This is the minimal useful Redis surface — enough for an agent to stash state, read it back, expire it and clean up. Other Redis data types are not covered here; the author points at a separate branch of the same repository for a much larger tool set.

What it is

A small Redis server for MCP clients: four tools over one Redis connection, with the connection URL given when the server starts.

What you get
  • set stores a value under a key, with an optional expiry in seconds
  • get returns the value for a key
  • delete removes one key or an array of them in a single call
  • list returns the keys matching a pattern, defaulting to everything
  • The instance is chosen by connection URL, so it points at local, remote or container-hosted Redis equally
Requirements

A reachable Redis instance and its connection URL, passed to the server at launch. Node, run from the published package, or the container image. Whatever credentials that URL carries are the only ones involved.

Setup effort

One command — npx @gongrzhe/server-redis-mcp@1.0.0 redis://your-redis-host:port