Atlas / MCP servers / gongrzhe / Redis

RedisBLOCK

mcp/gongrzhe/redis-1

A Redis MCP server (pushed to https://github.com/modelcontextprotocol/servers/tree/main/src/redis) implementation for interacting with Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.

Verdict
BLOCK
Grade
F
Trust score
44 /100
Exposed tools
4 2r · 1w · 1d
Transport
sse · stdio
License
MIT
Stars
30
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://smithery.ai/server/@gongrzhe/server-redis-mcp)

A Redis Model Context Protocol (MCP) server implementation for interacting with Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.

Update

62 Redis MCP tools in https://github.com/GongRzhe/REDIS-MCP-Server/tree/redis-plus

Installation & Usage

Installing via Smithery

To install Redis MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @gongrzhe/server-redis-mcp --client claude

Installing Manually

# Using npx with specific version (recommended)
npx @gongrzhe/[email protected] redis://your-redis-host:port

# Example:
npx @gongrzhe/[email protected] redis://localhost:6379

Or install globally:

# Install specific version globally
npm install -g @gongrzhe/[email protected]

# Run after global installation
@gongrzhe/server-redis-mcp redis://your-redis-host:port

Components

Tools

  • set
  • Set a Redis key-value pair with optional expiration
  • Input:
  • key (string): Redis key
  • value (string): Value to store
  • expireSeconds (number, optional): Expiration time in seconds
  • get
  • Get value by key from Redis
  • Input: key (string): Redis key to retrieve
  • delete
  • Delete one or more keys from Redis
  • Input: key (string | string[]): Key or array of keys to delete
  • list
  • List Redis keys matching a pattern
  • Input: pattern (string, optional): Pattern to match keys (default: *)

Configuration

Usage with Claude Desktop

To use this server with the Claude Desktop app, add the following configuration to the "mcpServers" section of your `claude_desktop

Read from source at commit 63c9d2411645OBSERVED · 2026-10-08
Advertisement
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add server-redis-mcp -- npx -y @gongrzhe/[email protected]
claude-desktop
{
  "mcpServers": {
    "server-redis-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@gongrzhe/[email protected]"
      ]
    }
  }
}
03

Exposed tools (4)

2 read · 1 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
deletedestructiveDelete one or more keys from Redis
getreadGet value by key from Redis
listreadList Redis keys matching a pattern
setwriteSet a Redis key-value pair with optional expiration
04

Trust audit

BLOCKgrade F · trust 44/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryWARN
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (5 observation(s))
Network
declared (5 observation(s))
Shell
declared (10 observation(s))
Dependencies
not all pinned
Secrets in source
found

Findings (25)

HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
node_modules/@redis/client/dist/lib/client/multi-command.d.ts:35
exec(execAsPipeline?: boolean): Promise<Array<RedisCommandRawReply>>;
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
node_modules/@redis/client/dist/lib/cluster/multi-command.d.ts:32
exec(execAsPipeline?: boolean): Promise<Array<RedisCommandRawReply>>;
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
node_modules/@types/node/sqlite.d.ts:81
exec(sql: string): void;
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
node_modules/depd/index.js:425
var deprecatedfn = new Function('fn', 'log', 'deprecate', 'message', 'site',
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
node_modules/depd/index.js:427
'return function (' + args + ') {' +
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHSupply chain · supply.typosquat · CWE-829, CWE-1357
node_modules/iconv-lite/package.json
request ~ requests
Why it matters. dependency name one edit from a popular package
Fix. verify the package; likely typosquat
MEDIUMInventory / provenance · inv.symlink · CWE-1104
node_modules/.bin/tsc
node_modules/.bin/tsc
Why it matters. link not followed
MEDIUMInventory / provenance · inv.symlink · CWE-1104
node_modules/.bin/tsserver
node_modules/.bin/tsserver
Why it matters. link not followed
MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
node_modules/@types/node/url.d.ts:560
* console.log(myURL.password);
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
node_modules/iconv-lite/encodings/sbcs-data-generated.js:100
"chars": "€پ‚ƒ„...†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—کTMڑ›œں ،¢£¤¥¦§ ̈©ھ«¬® ̄°±23 ́μ¶· ̧1؛»1⁄41⁄23⁄4؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûüے"
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
node_modules/iconv-lite/encodings/sbcs-data-generated.js:373
"chars": "«»...“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาําิีึืฺุู–—฿เแโใไๅๆ็่้๊๋์ํTM๏๐๑๒๓๔๕๖๗๘๙®©����"
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
node_modules/redis/README.md:80
url: 'redis://alice:[email protected]:6380'
MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
delete
Why it matters. 1 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenance · inv.hidden_file · CWE-1104
node_modules/.package-lock.json
.package-lock.json
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
node_modules/@redis/client/dist/lib/client/RESP2/decoder.d.ts:2
import { ErrorReply } from '../../errors';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
node_modules/@redis/client/dist/lib/client/RESP2/decoder.js:3
const errors_1 = require("../../errors");
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
node_modules/@redis/client/dist/lib/client/RESP2/encoder.d.ts:1
import { RedisCommandArgument, RedisCommandArguments } from '../../commands';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
node_modules/@redis/client/dist/lib/client/index.js:26
const package_json_1 = require("../../package.json");
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
node_modules/@types/node/buffer.d.ts:1896
function atob(data: string): string;
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
node_modules/typescript/lib/lib.webworker.d.ts:8713
atob(data: string): string;
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
node_modules/typescript/lib/lib.webworker.d.ts:9525
declare function atob(data: string): string;
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
node_modules/zod/lib/index.mjs:1006
const decoded = JSON.parse(atob(base64));
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
node_modules/zod/lib/index.umd.js:1012
const decoded = JSON.parse(atob(base64));
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
node_modules/@modelcontextprotocol/sdk/package.json
content-type, raw-body, zod, @eslint/js, @types/content-type, @types/eslint__js, @types/eventsource, @types/express
Why it matters. 20 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
node_modules/@redis/bloom/package.json
@istanbuljs/nyc-config-typescript, @redis/test-utils, @types/node, nyc, release-it, source-map-support, ts-node, typedoc
Why it matters. 9 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha 63c9d2411645full audit observations/trust-audit/mcp-server/gongrzhe__redis-1.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-0863c9d2411645BLOCKF44first audit
06

Questions

What is the Redis MCP server?

A Redis MCP server (pushed to https://github.com/modelcontextprotocol/servers/tree/main/src/redis) implementation for interacting with Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.

What tools does Redis expose?

4 in total: 2 read-only, 1 that write, and 1 that can delete or overwrite (delete). Every one is listed on this page with its risk.

Is Redis safe to connect to an agent?

No — not without reading the findings first. The audit graded it F (44/100) and found 6 critical or high issues in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does Redis need?

No credential environment variables were found in its source, so it appears to need none.

How does Redis run?

It speaks sse and stdio, so it runs as a local process your client starts. It is published on npm as @gongrzhe/server-redis-mcp at 1.0.0.

How current is this page?

The grade is for one exact copy of the source (63c9d2411645), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement