io.github.leejpsd/nextjs-cache-handler-mcp — Model Context Protocol (MCP) Server
This MCP server inspects and operates Next.js Redis caches. It supports actions for cache health, tag state, SWR simulation, and safe invalidation, intended to help AI agents understand why updates may not appear in a running Next.js deployment.
🛠️ Key Features
- Inspect and operate Next.js Redis caches
- Cache health checks
- Tag state inspection
- SWR simulation
- Safe invalidation
🚀 Use Cases
- Diagnose issues like “why isn’t this page updating?” by using a
tag_statecall rather than guesswork - Validate cache behavior in a running deployment
⚡ Developer Benefits
- Enables Claude Code and Cursor-style agents to query live cache state
- Provides operational calls for tag state and invalidation workflows
⚠️ Limitations
- Designed around Redis-backed Next.js cache management; scope is limited to that cache type and related operations