Redis MCP Server

A utility package for managing Redis keys.

Local serverstdioPython

What is the Redis MCP server?

Redis MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. A utility package for managing Redis keys.

What you get

A utility package for managing Redis keys in Python. This package provides an easy-to-use interface for interacting with Redis, including setting, getting, and managing expiration of keys.

  • Manage public keys in Redis
  • Set and get values (including JSON and boolean)
  • Create and validate OTP codes
  • Set and get expiration times for keys
  • Check if a key exists and delete it

Setting it up

The server ships on PyPI as git, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Configuration and credentials

You will need 2 environment variables: REDIS_HOST, FERNET_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the redis mcp server does with a few real requests.

Choosing this one

Plenty of database access servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. It is maintained by Abbas Rahimzadeh; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

How to install the Redis MCP server

{
  "mcpServers": {
    "redis-management": {
      "command": "uvx",
      "args": ["git"],
      "env": {
        "REDIS_HOST": "your-value",
        "FERNET_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
REDIS_HOSTEndpoint or connection string the server talks to.Optional
FERNET_KEYCredential the server authenticates with.Yes

Frequently asked questions

It connects Redis to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Redis directly.