RedisBLOCK
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.
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 keyvalue(string): Value to storeexpireSeconds(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
63c9d2411645OBSERVED · 2026-10-08Connect
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 mcp add server-redis-mcp -- npx -y @gongrzhe/[email protected]
{
"mcpServers": {
"server-redis-mcp": {
"command": "npx",
"args": [
"-y",
"@gongrzhe/[email protected]"
]
}
}
}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.
| Tool | Risk | Description |
|---|---|---|
delete | destructive | Delete one or more keys from Redis |
get | read | Get value by key from Redis |
list | read | List Redis keys matching a pattern |
set | write | Set a Redis key-value pair with optional expiration |
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.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | WARN |
| L1 | Static analysis of the code | FAIL |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | WARN |
| L4 | Behavioural (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)
exec(execAsPipeline?: boolean): Promise<Array<RedisCommandRawReply>>;
exec(execAsPipeline?: boolean): Promise<Array<RedisCommandRawReply>>;
exec(sql: string): void;
var deprecatedfn = new Function('fn', 'log', 'deprecate', 'message', 'site','return function (' + args + ') {' +request ~ requests
node_modules/.bin/tsc
node_modules/.bin/tsserver
* console.log(myURL.password);
"chars": "€پ‚ƒ„...†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—کTMڑ›œں ،¢£¤¥¦§ ̈©ھ«¬® ̄°±23 ́μ¶· ̧1؛»1⁄41⁄23⁄4؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûüے"
"chars": "«»...“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาําิีึืฺุู–—฿เแโใไๅๆ็่้๊๋์ํTM๏๐๑๒๓๔๕๖๗๘๙®©����"
url: 'redis://alice:[email protected]:6380'
delete
.package-lock.json
import { ErrorReply } from '../../errors';const errors_1 = require("../../errors");import { RedisCommandArgument, RedisCommandArguments } from '../../commands';const package_json_1 = require("../../package.json");function atob(data: string): string;
atob(data: string): string;
declare function atob(data: string): string;
const decoded = JSON.parse(atob(base64));
const decoded = JSON.parse(atob(base64));
content-type, raw-body, zod, @eslint/js, @types/content-type, @types/eslint__js, @types/eventsource, @types/express
@istanbuljs/nyc-config-typescript, @redis/test-utils, @types/node, nyc, release-it, source-map-support, ts-node, typedoc
Gates applied: no_behavioural_pass.
63c9d2411645full audit observations/trust-audit/mcp-server/gongrzhe__redis-1.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | 63c9d2411645 | BLOCK | F | 44 | first audit |
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.