nextjs cache handler mcp for VS Code
io.github.leejpsd/nextjs-cache-handler-mcp
Inspect and operate Next.js Redis caches: health, tag state, SWR simulation, safe invalidation.
client:VS Code
transport:stdio
runtime:npm
Install nextjs cache handler mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "redis-url",
"description": "REDIS_URL",
"password": true
},
{
"type": "promptString",
"id": "deployment-version",
"description": "DEPLOYMENT_VERSION",
"password": true
},
{
"type": "promptString",
"id": "hash-tag",
"description": "HASH_TAG",
"password": true
}
],
"servers": {
"nextjs-cache-handler-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@leejpsd/nextjs-cache-handler-mcp"
],
"env": {
"REDIS_URL": "${input:redis-url}",
"DEPLOYMENT_VERSION": "${input:deployment-version}",
"HASH_TAG": "${input:hash-tag}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs