mcps
Redis + Redis × your AI agent

Clear specific cache keys

If you ask

“Delete all keys matching 'user:123:*' to clear that user's cache”

Then

Delete specific keys or key patterns when invalidation is needed.

Works in Claude, Codex, Cursor & any MCP agent

How this prompt works

  1. Turn on the Redis connector in Claude, ChatGPT or Cursor — once.

  2. Paste the prompt above. No code, no menus.

  3. Delete specific keys or key patterns when invalidation is needed.

Level up: install the Redis skill

A prompt you paste once. A skill your agent keeps — playbooks and defaults it loads every session. Official pack.

npx skills add redis/agent-skills

Browse all skills →

FAQ

How do I clear specific cache keys with Redis?

Add the Redis MCP connector once, then paste this prompt into Claude or ChatGPT: "Delete all keys matching 'user:123:*' to clear that user's cache". Your AI runs it in Redis.

Do I need to code?

No. You install the connector once (a short config or one click), then ask in plain words. The prompt on this page works as-is.

Which AI assistants work?

Claude (Desktop, Code), Cursor, ChatGPT and other MCP clients. The same prompt works across them.

Set up Redis in Claude

Copy-paste config, setup steps and more ready-to-run prompts on the connector page.

Open Redis setup

More prompts