1. Scope
| Repository | redis/mcp-redis (MIT, Python) |
|---|---|
| Commit reviewed | d66c5ea (d66c5ea0172e0991a98c0f13c0f880246c93b2a5) |
| Dates | Scanned 14–15 Nov 2026, hand-checked 17 Nov 2026 |
| Method | Static reading of the public repository with the open-source mcp-audit scanner, then a hand check of every count. No code was installed or run. |
| Reviewer | Abheesht Tripathi |
| Hygiene grade | F (58/100), how grades work |
2. Summary
- The server registers 53 tools. None carry an MCP safety hint (
readOnlyHint,destructiveHint). - 9 tools delete keys or remove items and don't say so, so an AI client that relies on hints has no signal to ask before running them.
- A committed Gemini CLI extension config launches the server with
@latest, and two of the three README launch lines are unpinned. - No committed config gives a filesystem server a whole drive, runs Docker privileged, or uses a plain-
http://remote.
3. Findings
F1 · Priority 1 · 9 tools that delete data carry no destructiveHint
| Tool | Defined at (commit d66c5ea) | Safety hint |
|---|---|---|
delete | src/tools/misc.py:16 | none |
hdel | src/tools/hash.py:59 | none |
json_del | src/tools/json.py:71 | none |
lpop | src/tools/list.py:72 | none |
rpop | src/tools/list.py:83 | none |
lrem | src/tools/list.py:122 | none |
srem | src/tools/set.py:36 | none |
zrem | src/tools/sorted_set.py:60 | none |
xdel | src/tools/stream.py:55 | none |
Evidence (as recorded in the hand check):
src/tools/misc.py:16 delete, hash.py:59 hdel, json.py:71 json_del, list.py:72/83/122 lpop/rpop/lrem, set.py:36 srem, sorted_set.py:60 zrem, stream.py:55 xdel: the 9 destructive-like tools, no hints
Why it matters: these tools are named after the Redis commands that delete keys, hash fields, JSON paths, list, set and sorted-set members, and stream entries. MCP clients use destructiveHint to decide when to ask you before a tool runs. Without it, an agent told (or tricked by text it reads) to clean up can delete data with no prompt, depending on your client settings.
Fix (teams using the server): set these 9 tools to "ask every time" in your MCP client, and run the server with a Redis ACL user that only allows the commands and key patterns the agent needs.
Fix (maintainers): pass annotations in the decorator, for example @mcp.tool(annotations=ToolAnnotations(destructiveHint=True)) with ToolAnnotations from mcp.types; check that the FastMCP version the project uses supports the annotations argument.
F2 · Priority 2 · No tool carries any safety hint (0 of 53)
Evidence:
src/tools/*.py: 53 occurrences of '@mcp.tool()' and none with arguments (grep '@mcp.tool(' minus '@mcp.tool()' is empty)
src/common/server.py:14 mcp = FastMCP('Redis MCP Server', ...); :6-10 load_tools imports every src/tools module
See src/common/server.py:14. Every tool is registered with a bare @mcp.tool(), and nothing adds hints afterwards.
Why it matters: without readOnlyHint on the read tools, a client can't tell reading from writing, so teams either approve everything or get asked about every call. The automated rubric only counts tools whose names or descriptions say delete, remove, write, run and similar words; a tool that changes data under another verb isn't counted in F1, so a full review lists every tool by hand.
Fix: add readOnlyHint=True to tools that only read, and destructiveHint to every tool that changes or removes data.
F3 · Priority 2 · Committed config launches the server with a moving tag
Evidence: gemini-extension.json:10 (MCP003): Committed Gemini CLI extension MCP config launches `uvx --from redis-mcp-server@latest redis-mcp-server` (moving tag).
Why it matters: with @latest, every fresh install or cleared cache can run a different release than the one you approved, with the same Redis access.
Fix: pin a released version in the extension config and update it on purpose.
F4 · Priority 2 · README launch lines are unpinned
Evidence (README.md at commit d66c5ea):
README launch snippets: unpinned ['git+https://github.com/redis/mcp-redis.git', 'redis-mcp-server@latest'], pinned ['git+https://github.com/redis/mcp-redis.git@0.2.0']
Why it matters: most people copy the README line into their MCP config, so the unpinned form spreads into every setup. The README already shows one pinned form (…mcp-redis.git@0.2.0).
Fix (teams): use a pinned launch line in your own config. Fix (maintainers): use a pinned version in every README launch line.
F5 · Info · The code has moved since this commit
As of 26 Nov 2026 the repository had 15 commits after d66c5ea. The current code may score differently. Review the exact version you deploy, and re-check when you upgrade.
4. Checked, nothing found
- Committed configs giving a filesystem server a whole drive or home folder (MCP004): none.
- Committed configs running Docker privileged or with host mounts (MCP005): none.
- Committed configs pointing at a remote MCP server over plain
http://(MCP006): none.
5. Prioritised fix list
- Today, in your client: set the 9 delete/remove tools in F1 to "ask every time".
- Today, in your config: pin the server version (F3, F4).
- This week: give the server a Redis ACL user limited to the commands and keys the agent needs (F1).
- Maintainers: add
destructiveHintto the F1 tools andreadOnlyHintto read-only tools (F1, F2). - Maintainers: pin the launch line in
gemini-extension.jsonand pin every README launch line (F3, F4). - On every upgrade: re-check the version you deploy (F5).
6. What a paid review adds
This sample only uses what the public directory recorded about one repository. A paid MCP & AI-agent review starts from your setup: your MCP config and every server it launches, secrets in the config, filesystem scope, Docker flags, remote transport, whether each package name matches the registry the project names (npx vs uvx), and your agent's tool permissions and approval settings, plus a 30-minute follow-up call.