redis mcp for VS Code
io.github.upstash/redis-mcp
Run Redis commands and look up Upstash Redis Search docs against Upstash Redis over HTTP or TCP.
client:VS Code
transport:stdio
runtime:npm
Install redis mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "upstash-redis-rest-url",
"description": "UPSTASH_REDIS_REST_URL",
"password": true
},
{
"type": "promptString",
"id": "upstash-redis-rest-token",
"description": "UPSTASH_REDIS_REST_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "upstash-redis-tcp-url",
"description": "UPSTASH_REDIS_TCP_URL",
"password": true
}
],
"servers": {
"redis-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@upstash/redis-mcp"
],
"env": {
"UPSTASH_REDIS_REST_URL": "${input:upstash-redis-rest-url}",
"UPSTASH_REDIS_REST_TOKEN": "${input:upstash-redis-rest-token}",
"UPSTASH_REDIS_TCP_URL": "${input:upstash-redis-tcp-url}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs