Skip to content
Agentmart
Submit a tool

NextJS Cache Handler MCP

Inspect and operate Next.js Redis caches: health, tag state, SWR simulation, safe invalidation.

Connector by leejpsd · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)★ 6
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/leejpsd-nextjs-cache-handler-mcp

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Inspect and operate Next.js Redis caches: health, tag state, SWR simulation, safe invalidation.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.

Tools
4 read · 2 write · 0 delete · 1 not yet classified
Secrets
1 (API keys, tokens or passwords)
Install scripts
Not scanned yet
Runs as
Node.js package

Tools by what they do 7

Read from the source code; the running server may list different tools.

Read 4 · Look things up without changing anything.

  • cache_health
  • cache_inspect
  • cache_search
  • explain_key

Write 2 · Create, change, send or run things.

  • invalidate_tag
  • tag_state

Not yet classified 1 · We could not tell from the name and description.

  • simulate_swr

Secrets and settings it asks for

Secrets: values you paste in that let it act as you.

  • REDIS_URL

Other settings (environment variables or headers).

  • DEPLOYMENT_VERSION
  • HASH_TAG

Tools (7)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • cache_health

    Ping Redis and summarize cache key counts per layer/kind. First tool to run when debugging cache issues.

  • cache_inspect

    Decode a cache entry: kind, timestamps, tags, TTL, sizes, compression. Values are summarized, never dumped in full.

  • cache_search

    Scan cache keys by glob pattern (e.g. 'next-incremental:entry:*/blog*'). Returns up to `limit` keys.

  • explain_key

    Parse a Redis key into layer / kind / namespace / cache key.

  • invalidate_tag

    Invalidate a tag across both layers. DRY-RUN by default: shows exactly what would be written/deleted. Pass confirm=true to execute. mode 'soft' = stale-while-revalidate (revalidateTag(tag,'max') semantics); 'hard' = delete entries now.

  • simulate_swr

    Given entry timing values, classify freshness the way the handler does (fresh / stale / expired) and explain what a read would do.

  • tag_state

    Show invalidation state for a tag across BOTH cache layers: the ISR tag state (stale/expired timestamps) and the 'use cache' tag-expiration marker. Answers 'is this tag invalidated right now, and since when?'

Signals

Stars
6
Forks
1
Open issues
1
Weekly downloads
11
Last commit (this folder)
Aug 5, 2026 (2 months ago)
Last release
Aug 26, 2026 (2 months ago)
Last package publish
Aug 2, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026) and the package registry.

Details

Registry name
io.github.leejpsd/nextjs-cache-handler-mcp
Version
0.1.2
Auth
API key
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026
Cite this page

NextJS Cache Handler MCP. Agent Mart. https://agentmart.dev/connectors/leejpsd-nextjs-cache-handler-mcp (last updated 2026-10-24)