# upstash/mcp-server [Official] [Health: Active]

**Category:** 🗄️ Databases  
**Repository:** https://github.com/upstash/mcp-server  
**GitHub Stars:** 61  
**npm Downloads (last month):** 8357  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-server-165

## Description
Manage Upstash databases and resources through the Upstash Developer API.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/upstash/mcp-server), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Start the server:

```sh
npx -y @upstash/mcp-server@latest --email YOUR_EMAIL --api-key YOUR_API_KEY
```

2. Add to Claude Code:

```sh
claude mcp add --scope user upstash -- npx -y @upstash/mcp-server@latest --email YOUR_EMAIL --api-key YOUR_API_KEY
```

3. Add to Codex:

```sh
codex mcp add upstash -- npx -y @upstash/mcp-server@latest --email YOUR_EMAIL --api-key YOUR_API_KEY
```

4. Add to Claude Code:

```sh
claude mcp add --scope user upstash -- npx -y @upstash/mcp-server@latest \
  --email YOUR_EMAIL --api-key YOUR_API_KEY --box-api-key YOUR_BOX_API_KEY
```

5. Add to Claude Code:

```sh
claude mcp add --transport stdio upstash -- bun --watch dist/index.js --debug
```

## Documentation

## What upstash/mcp-server does

upstash/mcp-server exposes Upstash account and resource operations to AI agents through the Model Context Protocol. It works with Redis, QStash, Workflow, and Upstash Box, allowing an agent to inspect resources, query Redis, review operational logs, and manage supported resources through the Upstash Developer API.

The package is intended for local MCP configurations using stdio. Upstash has marked this local server as no longer maintained and recommends the remote MCP service at `https://mcp.upstash.com/mcp` for new workflows. The remote service covers additional Upstash products, including Vector, Search, and Blob, and uses OAuth for interactive sign-in.

## How it works

Run the package with `npx` and provide an Upstash account email plus API key as command-line arguments. The process communicates with the MCP client over stdio, while requests are made against the Upstash Developer API.

Readonly API keys change the available tool set automatically. With one of these keys, the agent can still inspect the account, query Redis, and read QStash and Workflow information, but modification tools are disabled. Examples of blocked operations include creating databases, deleting backups, and retrying workflows. Upstash Box tools are unavailable when a readonly key is used.

## Setup and configuration

Create an API key in the Upstash Console under Account and API Keys, then start the server with:

```bash
npx -y @upstash/mcp-server@latest --email YOUR_EMAIL --api-key YOUR_API_KEY
```

Add that command as a stdio MCP server in the client of your choice. The documented configurations include Claude Code, Cursor, Windsurf, OpenAI Codex, and VS Code. VS Code can prompt for the email and API key and retain the key in secret storage. Codex configurations may need a longer startup timeout if the default is insufficient.

For a remote setup, configure the MCP client with the streamable HTTP endpoint `https://mcp.upstash.com/mcp`. The remote service authenticates interactive users with OAuth. Headless environments such as CI can use a Developer API key through an `Authorization: Basic base64(email:api_key)` header.

## Tools and capabilities

The server supports capabilities across these Upstash services:

- Manage and inspect Redis databases and data.
- Review QStash logs and schedules.
- Inspect Workflow logs and retry supported workflows when using a writable key.
- Manage and debug supported Upstash resources.
- Work with Upstash Box when using an API key with write access.
- Read account information and query resources with a readonly key.

The exact set of available tools depends on the API key permissions and whether the local package or remote service is used.

## Limitations and notes

The local stdio server is no longer maintained. Prefer the remote Upstash MCP server for new integrations, especially when OAuth or access to the broader Upstash product set is needed. The local setup requires an account email and API key, and a readonly key intentionally prevents state changes. The package is designed for MCP-compatible clients rather than direct application-library use.

_Full upstream README: https://allmcps.com/mcp/mcp-server-165/readme_

