Redis MCP Server

Stabledatabase
410 starsTypeScriptredis
GitHubnpm
About

Overview

The Redis MCP Server provides tools for AI agents to interact with Redis instances. It supports all common Redis operations including string, hash, list, set, and sorted set commands. Also enables pub/sub messaging, key expiration management, and cluster-aware connections.
Capabilities

Tools & Capabilities

get

Get the value of a key

set

Set a key-value pair with optional expiration

del

Delete one or more keys

hget

Get a field from a hash

hset

Set a field in a hash

lpush

Push an element to the head of a list

keys

Find all keys matching a pattern

info

Get Redis server information and statistics

Setup

Installation

bash
Install
npx -y mcp-redis
Examples

Example Usage

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

Quick Info

Authorredis
LanguageTypeScript
StatusStable
Stars 410
Last UpdatedFeb 12, 2026

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow.

Get in Touch

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow. From proprietary data sources to internal tools, we have you covered.

Contact Us
CortexAgent Customer Service

Want to skip the form?

Our team is available to help you get started with CortexAgent.

This chat may be recorded for quality assurance. You can view our Privacy Policy.