mcp-redis: Instructions file for Gemini CLI

GEMINI.md

mcp-redis GEMINI.md is an instructions file for Gemini CLI from Yuchenhui/mcp-redis. It costs 1,534 tokens per session, scanned A, a copy of mcp-redis GEMINI.md, MIT.

Instructions for using an MCP server to manage Redis, an in-memory data store commonly used for caches, sessions, messaging, and fast lookups. They describe natural-language access to strings, hashes, lists, sets, sorted sets, streams, JSON documents, and vector search.

In plain words
What is it for?
They are for storing and retrieving cache or session data, managing structured values, searching records, publishing messages, handling JSON, and performing similarity searches with vectors.
Why use it?
They give an AI assistant a documented way to work with Redis data without requiring the user to remember each command or data structure.

Instructions file for Gemini CLI

Written for Gemini CLI: the file is GEMINI.md.

This is Yuchenhui/mcp-redis's own configuration. It tells Gemini CLI how to work on mcp-redis itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp-redis configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Yuchenhui/mcp-redis. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Yuchenhui/mcp-redis/main/GEMINI.md
Clone the repo
git clone --depth 1 https://github.com/Yuchenhui/mcp-redis

Made for: Gemini CLI.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-redis GEMINI.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/yuchenhui/mcp-redis/gemini-md.svg)](https://agentmods.dev/instructions/yuchenhui/mcp-redis/gemini-md)
Your own site
<a href="https://agentmods.dev/instructions/yuchenhui/mcp-redis/gemini-md"><img src="https://agentmods.dev/badge/instructions/yuchenhui/mcp-redis/gemini-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,534 This file is loaded in full into every session.
When invoked 1,534 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01534 $0.01534
Opus 5 $0.00767 $0.00767
Sonnet 5 $0.00307 $0.00307
Haiku 4.5 $0.00153 $0.00153

Measured 7d ago against content hash ca016d06cb58, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

mcp-redis GEMINI.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to mcp-redis GEMINI.md — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

GEMINI.md · 185 lines

How it starts

The opening of the file, as written. The whole thing — 185 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Redis MCP Server Extension

This extension provides a natural language interface for managing and searching data in Redis through the Model Context Protocol (MCP).

What this extension provides

The Redis MCP Server enables AI agents to efficiently interact with Redis databases using natural language commands. You can:

  • Store and retrieve data: Cache items, store session data, manage configuration values
  • Work with data structures: Manage hashes, lists, sets, sorted sets, and streams
  • Search and filter: Perform efficient data retrieval and searching operations
  • Pub/Sub messaging: Publish and subscribe to real-time message channels
  • JSON operations: Store, retrieve, and manipulate JSON documents
  • Vector search: Manage vector indexes and perform similarity searches

Available Tools

String Operations

  • Set, get, and manage string values with optional expiration
  • Useful for caching, session data, and simple configuration

Hash Operations

  • Store field-value pairs within a single key
  • Support for vector embeddings storage
  • Ideal for user profiles, product information, and structured objects

List Operations

  • Append, pop, and manage list items
  • Perfect for queues, message brokers, and activity logs

Set Operations

  • Add, remove, and list unique set members
  • Perform set operations like intersection and union
  • Great for tracking unique values and tags

Sorted Set Operations

  • Manage score-based ordered data
  • Ideal for leaderboards, priority queues, and time-based analytics

Pub/Sub Operations

  • Publish messages to channels and subscribe to receive them
  • Real-time notifications and chat applications

Stream Operations

  • Add, read, and delete from data streams
  • Event sourcing, activity feeds, and sensor data logging

JSON Operations

  • Store, retrieve, and manipulate JSON documents
  • Complex nested data structures with path-based access

Vector Search

  • Manage vector indexes and perform similarity searches
  • AI/ML applications and semantic search

Read the full file on GitHub · 185 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 185 lines · 1,534 tokens per session scan A ca016d06cb58

Subscribe to this mod's changes

mcp-redis GEMINI.md is an instructions file published in the GitHub repository Yuchenhui/mcp-redis (0 stars, last pushed 10mo ago), licensed MIT. It adds 1,534 tokens to every session, about $0.0077 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to mcp-redis GEMINI.md, differing in 0 lines, and is treated as a copy.

Related

Other instructions, from other repositories