Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Databases - official Upstash server

Upstash Redis MCP server

Lightweight local MCP server that connects an agent to a single Upstash Redis database with two tools: one to run any Redis command (pipeline or transaction) and one to search the Upstash Redis docs. It runs locally from @upstash/redis-mcp (npm) with API key auth.

Last verified 2 tools3 sources

Install

Terminal
claude mcp add upstash-redis \
  -e UPSTASH_REDIS_REST_URL=https://YOUR_DB.upstash.io \
  -e UPSTASH_REDIS_REST_TOKEN=YOUR_REST_TOKEN \
  -- npx -y @upstash/redis-mcp
TOML
[mcp_servers.upstash-redis]
command = "npx"
args = ["-y", "@upstash/redis-mcp"]
env = { UPSTASH_REDIS_REST_URL = "https://YOUR_DB.upstash.io", UPSTASH_REDIS_REST_TOKEN = "YOUR_REST_TOKEN" }
JSON
{
  "mcpServers": {
    "upstash-redis": {
      "command": "npx",
      "args": ["-y", "@upstash/redis-mcp"],
      "env": {
        "UPSTASH_REDIS_REST_URL": "https://YOUR_DB.upstash.io",
        "UPSTASH_REDIS_REST_TOKEN": "YOUR_REST_TOKEN"
      }
    }
  }
}

VS Code

JSON
{
  "servers": {
    "upstash-redis": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@upstash/redis-mcp"],
      "env": {
        "UPSTASH_REDIS_REST_URL": "https://YOUR_DB.upstash.io",
        "UPSTASH_REDIS_REST_TOKEN": "YOUR_REST_TOKEN"
      }
    }
  }
}

Generic

JSON
{
  "mcpServers": {
    "upstash-redis": {
      "command": "npx",
      "args": ["-y", "@upstash/redis-mcp"],
      "env": {
        "UPSTASH_REDIS_REST_URL": "https://YOUR_DB.upstash.io",
        "UPSTASH_REDIS_REST_TOKEN": "YOUR_REST_TOKEN"
      }
    }
  }
}

Tools

redis_run_commands
Run any Redis command (including the SEARCH.* family), as a pipeline or an atomic transaction
redis_search_docs
Search the Upstash Redis docs live so the agent can look up commands and features

As documented on October 17, 2026. A running server reports its current list through tools/list.

Notes and caveats

  • Authenticates with one database's REST URL and token (UPSTASH_REDIS_REST_URL / UPSTASH_REDIS_REST_TOKEN), or UPSTASH_REDIS_TCP_URL for a rediss:// TCP connection.
  • Cursor is documented with a one-click deeplink button plus the mcpServers JSON config used for the Cursor and generic snippets.
  • For account-wide management Upstash points to the main Upstash MCP server instead.
  • Latest release v0.1.1 (2026-07-08).

FAQ

What does the Upstash Redis MCP server do?

Lightweight local MCP server that connects an agent to a single Upstash Redis database with two tools: one to run any Redis command (pipeline or transaction) and one to search the Upstash Redis docs. The vendor documents 2 tools, including redis_run_commands and redis_search_docs.

How do I add the Upstash Redis MCP server to Claude Code?

Upstash documents a Claude Code config; copy it from the Claude Code section of this page. Snippets for Codex, Cursor, VS Code and Generic are there too.

Does the Upstash Redis MCP server need authentication?

Yes, API key. Transport: stdio. Status: Unlabelled, last checked October 17, 2026.

Sources

Last verified against 3 Upstash pages, then re-checked independently.

Newsletter

New MCP servers, the week they ship

One email per week. New official MCP servers, the coding tools that support them and how developers wire them up.