Nextjs Cache Handler MCP
Inspect and operate Next.js Redis caches: health, tag state, SWR simulation, safe…
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.1.2
- Listing updated
- 6 days ago
About Nextjs Cache Handler MCP
Nextjs Cache Handler MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Inspect and operate Next.js Redis caches: health, tag state, SWR simulation, safe invalidation.
Install
Run in a terminal
claude mcp add nextjs-cache-handler-mcp --env REDIS_URL='<REDIS_URL>' -- npx -y @leejpsd/nextjs-cache-handler-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"nextjs-cache-handler-mcp": {
"command": "npx",
"args": [
"-y",
"@leejpsd/nextjs-cache-handler-mcp"
],
"env": {
"REDIS_URL": "<REDIS_URL>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"nextjs-cache-handler-mcp": {
"command": "npx",
"args": [
"-y",
"@leejpsd/nextjs-cache-handler-mcp"
],
"env": {
"REDIS_URL": "<REDIS_URL>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"nextjs-cache-handler-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@leejpsd/nextjs-cache-handler-mcp"
],
"env": {
"REDIS_URL": "<REDIS_URL>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"nextjs-cache-handler-mcp": {
"command": "npx",
"args": [
"-y",
"@leejpsd/nextjs-cache-handler-mcp"
],
"env": {
"REDIS_URL": "<REDIS_URL>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"nextjs-cache-handler-mcp": {
"command": "npx",
"args": [
"-y",
"@leejpsd/nextjs-cache-handler-mcp"
],
"env": {
"REDIS_URL": "<REDIS_URL>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
REDIS_URLRedis connection string the cache handler usesRequiredDEPLOYMENT_VERSIONDeploy namespace (recommended)HASH_TAGSet 'true' when handlers use hashTag: true (Redis Cluster)
Pricing
Open source
Nextjs Cache Handler MCP FAQ
Is Nextjs Cache Handler MCP free?
Yes. Nextjs Cache Handler MCP is open source, so you can use and self-host it for free.
How do I add Nextjs Cache Handler MCP to Claude Code?
Run this command in your terminal: claude mcp add nextjs-cache-handler-mcp --env REDIS_URL='<REDIS_URL>' -- npx -y @leejpsd/nextjs-cache-handler-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.