
Redis Mcp
io.github.upstashPublished by GitHub account upstashv0.1.1Updated Oct 24, 2026
Run Redis commands and look up Upstash Redis Search docs against Upstash Redis over HTTP or TCP.
Overview
A local MCP server that lets an assistant run Redis commands on Upstash Redis over HTTP or TCP and look up Upstash Redis documentation.
- What you can do
- Run arbitrary Redis commands (GET, SET, SCAN, ZADD, EVAL, SEARCH.* and more), as a pipeline or an atomic MULTI/EXEC transaction, against one or more named databases over HTTP/REST or TCP. Search the Upstash Redis documentation live and get the most relevant pages, including Upstash-specific SEARCH.* features.
- When to use it
- Use it when an assistant needs to read or modify data in an Upstash Redis database, or when you want in-context help with Redis commands and Upstash-specific search features without leaving the chat.
- Requirements
- Runs locally via npx (Node.js) as a stdio process. Needs an Upstash Redis database: UPSTASH_REDIS_REST_URL plus UPSTASH_REDIS_REST_TOKEN for HTTP, or UPSTASH_REDIS_TCP_URL (rediss://) for TCP; multiple databases can be named via environment variables or CLI flags. Doc search uses Context7's free tier and needs no key. Network access required.
Installation
In SourceWeft
- Open Redis Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Upstash Redis MCP
Lightweight MCP server for Redis with only two tools:
- 🧪
redis_run_commands: run one or more Redis commands over HTTP/REST or TCP, as a pipeline or an atomic transaction. - 📚
redis_search_docs: search the Redis docs using Context7 public api.
One server can hold multiple named databases. Configuration is pure environment variables and CLI flags.
🔌 Quickstart
Claude Code
Run this in your terminal. See the Claude Code MCP docs for more.
Cursor
Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per-project), or go to Settings → MCP → Add new MCP server. See the Cursor MCP docs.
VS Code
Add to .vscode/mcp.json (per-project) or your user mcp settings. See the VS Code MCP docs.
Codex
Add to ~/.codex/config.toml (or a project-level .codex/config.toml). See the Codex MCP docs.
OpenCode
Add to opencode.json (project) or ~/.config/opencode/opencode.json (global). See the OpenCode MCP docs.
[!TIP] Any MCP-compatible client works. If yours isn't listed, add a stdio server that runs
npx -y @upstash/redis-mcpwith the two env vars above.
🧰 Tools
🧪 redis_run_commands
Run any Redis command: GET, SET, SCAN, ZADD, EVAL, the SEARCH.* family, and everything else. Each command is an array of args (numbers are accepted and coerced to strings). By default multiple commands run as a pipeline: each returns its own result/error, aligned to the input, and one failure doesn't abort the rest. Set transaction: true for an atomic MULTI/EXEC.
The transport (HTTP vs TCP) is determined by how the target database is configured; the agent never picks it.
📚 redis_search_docs
Searches the Upstash Redis documentation live and returns the most relevant pages. Reach for it whenever you're unsure about a command or feature, especially Upstash-specific ones like the SEARCH.* full-text search family. It's powered by Context7's free tier, so no API key or extra setup is required.
⚙️ Configuration
Everything is set through environment variables and CLI flags; there are no config files.
Single database
Multiple databases
Give each database a name. The name becomes a selectable database value in redis_run_commands.
Environment: insert a <NAME> segment:
CLI: repeat --database to start each group:
[!NOTE] Raw credentials per call. A
redis_run_commandscall may also passrest_url+rest_token(HTTP) orconnection_string(TCP) inline; these override the registry and work even with no configured database. They flow through the model's context, so prefer env/CLI for anything sensitive.
Flags & options
📡 Telemetry
HTTP/REST requests carry Upstash-Telemetry-{Sdk,Platform,Runtime} headers. Disable with --disable-telemetry or UPSTASH_DISABLE_TELEMETRY=true.
🏃 Run it locally
The server auto-loads .env. To point a client at your local build, swap npx -y @upstash/redis-mcp in any Quickstart config for node /absolute/path/to/redis-mcp/dist/index.js.
🛠️ Development
📄 License
MIT © Upstash
Source: README.md at commit 9bbfcfa
Tools
0Version history
1- v0.1.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts