Redis

by modelcontextprotocol

Recommended
88.2k stars
6.6k downloads
1
GitHub Website

About

MCP server for Redis.

Details

Author
modelcontextprotocol
GitHub stars
88,240
Downloads
6,569
Categories
Database

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Redis
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

hmset

Set multiple hash fields to multiple values

hget

Get the value of a hash field

hgetall

Get all the fields and values in a hash

scan

Scan Redis keys matching a pattern

set

Set string value with optional NX (only if not exists) and PX (expiry in milliseconds) options

get

Get string value

del

Delete a key

zadd

Add one or more members to a sorted set

zrange

Return a range of members from a sorted set by index

zrangebyscore

Return members from a sorted set with scores between min and max

zrem

Remove one or more members from a sorted set

sadd

Add one or more members to a set

smembers

Get all members in a set

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "redis": {
            "redis": {
                "command": "docker",
                "args": [
                    "run",
                    "-i",
                    "--rm",
                    "mcp/redis",
                    "redis://host.docker.internal:6379"
                ]
            }
        }
    }
}

McpServers

{
    "redis": {
        "command": "docker",
        "args": [
            "run",
            "-i",
            "--rm",
            "mcp/redis",
            "redis://host.docker.internal:6379"
        ]
    }
}
5.0 · 1 review

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in
Demo User

Redis is amazing