Four string-level operations against whatever Redis instance the URL points at — nothing in the tool surface fences off keys.
Values are strings, and the only Redis feature beyond plain key-value is the optional TTL on set. delete accepts an array of keys and list takes a pattern that defaults to *, so a single call can enumerate every key in the database and another can remove a batch of them.
What it is
A Model Context Protocol server that gives an LLM access to a Redis database. It exposes the key-value basics as four tools: write a key, read a key, delete one or more keys, and list keys matching a pattern. The server connects to a Redis instance addressed by a redis://hostname:port URL.
What you get
- Set a key to a string value, with an optional expiry in seconds
- Read the value stored at a key
- Delete a single key or an array of keys in one call
- List keys matching a glob pattern, defaulting to
* - Reconnects with exponential backoff, then exits after the retry limit
Requirements
A running Redis server, which you install yourself; default port 6379. On Windows, WSL or Memurai provides a Redis-compatible server. The Redis URL is passed as a command argument and defaults to redis://localhost:6379; the VS Code configs instead supply it through the REDIS_URL environment variable. If redis://localhost:6379 fails with ECONNREFUSED, use the explicit IP redis://127.0.0.1:6379. Under Docker on macOS, use host.docker.internal when Redis runs on the host network. No API key or account is required.
