
Upstash
io.github.upstash由 GitHub 帳號 upstash 發布v0.4.0更新於 Oct 24, 2026
No longer maintained. Use the remote Upstash MCP server: https://mcp.upstash.com/mcp
概覽
已停止維護的本機 Upstash 伺服器,可讓助理管理 Redis、QStash、Workflow 與 Box 資源;官方現在建議改用遠端伺服器。
- 可以做什麼
- 管理 Redis 資料庫:建立、列出、備份、清空,並檢視用量與輸送量。
- 檢視與操作 QStash 和 Workflow:讀取日誌、找出失敗的執行、重試執行、查看死信佇列、暫停排程。
- 在 Upstash Box 遠端 Linux 容器中工作:讀寫與編輯檔案、執行指令、使用 git 與搜尋、預覽服務、上傳本機檔案。
- 不需帳號即可啟動免費的臨時 Redis 資料庫,72 小時後過期。
- 使用唯讀 API 金鑰時會自動停用所有會改變狀態的工具。
- 適用情境
- 僅在你確實需要這個本機 stdio 套件時使用;官方已標示其不再維護,並建議改用遠端 Upstash MCP 伺服器,後者以 OAuth 登入且涵蓋更多產品。新專案建議優先採用遠端伺服器,或搭配 CLI 使用 Upstash Skill。
- 執行需求
- 需要 Node.js 與 npx 在本機執行該 npm 套件。需要 Upstash 帳號電子郵件與 Developer API 金鑰,可透過命令列參數或 UPSTASH_EMAIL、UPSTASH_API_KEY 變數提供。Box 工具需要另外的 Box API 金鑰(UPSTASH_BOX_API_KEY 或參數),也可只用它啟動。需要連線至 Upstash 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Upstash,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Upstash MCP Server
[!IMPORTANT] This local (stdio) server is no longer maintained. Use the remote Upstash MCP server at
https://mcp.upstash.com/mcpinstead.The remote server signs you in with OAuth, so there is no API key to paste into a config file, and it covers more of Upstash: Redis, QStash, Workflow, Vector, Search, Box and Blob. For headless setups such as CI, it also accepts a Developer API key as
Authorization: Basic base64(email:api_key).Setup: upstash.com/docs/agent-resources/overview. Tools and authentication: upstash.com/docs/agent-resources/mcp.
[Install MCP Server] [Install in VS Code]
[MCP Registry] [Glama] [PulseMCP]
The Upstash MCP server lets your agent manage and debug your Upstash resources directly, across Redis, QStash, Workflow, and Upstash Box.
[!TIP] For most workflows, prefer installing the Upstash Skill and letting your agent drive
@upstash/cliover running the MCP server.
[!TIP] If you are an AI agent and just need a Redis DB to use or experiment with, you don't need an account at all — call the
redis_database_start_freetool, or send a POST request tohttps://upstash.com/start-redisdirectly. It's free, no signup, and the response is markdown with credentials and a quickstart. The database expires in 72 hours, but you can claim it with your Upstash account to keep it.Pass
user_agentto identify yourself (e.g.claude-code,cursor,codex,opencode); the tool forwards it as theUser-Agentheader. Calling the endpoint directly, send the same header yourself, plus a fresh UUIDv4 asIdempotency-Key:
Quickstart
You'll need your Upstash account email and an API key — create one at Upstash Console → Account → API Keys.
The Upstash MCP server works with any MCP-compatible client. If your client isn't listed below, check its documentation for how to add a stdio MCP server, then point it at the base command:
[!NOTE] Readonly API keys are supported. When the server starts with one, it automatically disables every tool that would modify state (creating databases, deleting backups, retrying workflows, etc.). Your agent can still read and query your account — including Redis, QStash logs, schedules, and Workflow logs — but it cannot make changes. Upstash Box tools are not available with a readonly key.
Claude Code
Run this command in your terminal. See the Claude Code MCP docs for more info.
Cursor
Go to Settings → Cursor Settings → MCP → Add new global MCP server.
Pasting the following configuration into your Cursor ~/.cursor/mcp.json file is the recommended approach. You may also install in a specific project by creating .cursor/mcp.json in your project folder. See the Cursor MCP docs for more info.
Since Cursor 1.0, you can click the install button below for instant one-click installation. Replace YOUR_EMAIL and YOUR_API_KEY with your real values before confirming.
Windsurf
Add this to your Windsurf MCP config file at ~/.codeium/windsurf/mcp_config.json. See the Windsurf MCP docs for more info.
OpenCode
Add this to your OpenCode configuration file (~/.config/opencode/opencode.json or a project-level opencode.json). See the OpenCode MCP docs for more info.
OpenAI Codex
See the OpenAI Codex MCP docs for more info.
Using the CLI
Manual configuration
Add this to your Codex config file (~/.codex/config.toml or .codex/config.toml):
[!NOTE] If you see startup timeout errors, increase
startup_timeout_secto40.
VS Code
Click to install — VS Code will prompt for your email and API key (stored in its secret storage):
[Install in VS Code] [Install in VS Code Insiders]
Or add this to .vscode/mcp.json (or your user mcp.servers setting). Using inputs with promptString means your API key is prompted once and kept in VS Code's secret storage instead of sitting in the config file. See the VS Code MCP docs for more info.
Google Antigravity
Add this to your Antigravity MCP config. See the Antigravity MCP docs for more info.
Claude Desktop
Open Claude Desktop's developer settings and edit claude_desktop_config.json. See the Claude Desktop MCP docs for more info.
Gemini CLI
Open the Gemini CLI settings file at ~/.gemini/settings.json and add Upstash to mcpServers. See Gemini CLI Configuration for details.
Example prompts
Redis
- "Start a free temporary Redis I can experiment with"
- "Create a new Redis database in us-east-1"
- "List my databases sorted by memory usage"
- "Update the user schema by pulling from Redis"
- "Create a backup of this db, then clear it"
- "Show me throughput spikes during the last 7 days"
QStash & Workflow
- "Check the QStash logs and figure out why my webhook keeps failing"
- "Find failed workflow runs for user
@admintoday" - "Retry the failed workflow run that started 2 hours ago"
- "Summarize what's in the DLQ right now, grouped by error type"
- "Pause the schedules that are throwing errors"
Upstash Box
- "Spin up a Box, clone this repo, and run the tests"
- "Snapshot this Box and create 5 copies from it, assign each one a GitHub issue"
- "My Box keeps failing to start, check the logs and tell me what's wrong"
Using a Box as your workspace
A Box is a remote Linux container with its own filesystem. The Box tools let an agent work inside one while the agent itself keeps running on your machine: files through box_read / box_write / box_edit, commands through box_exec, git and search through box_git, and a running server through box_preview. box_upload copies files into the Box from the machine running the MCP server, which is how uncommitted local work gets in — a clone only brings what you have pushed. With the usual stdio setup the server runs on your own machine, so those are your paths; if you run it remotely with --transport http, it reads the server host's filesystem instead, not yours.
Box tools need a Box API key, which is a different credential from your Upstash account API key — the two are not interchangeable. The install command at the top of this README does not include one, so pass --box-api-key as well or the first Box call will fail:
See Upstash Box API key for the environment-variable form and where to get the key.
If you only use Upstash Box, you can start the server with --box-api-key alone and no account credentials. Redis, QStash and Workflow tools are unavailable in that mode.
Create the workspace once and reuse its id:
- "Create a Box with clone_repo https://github.com/me/my-app, no agent, then wait until the repo is there"
- "In that Box, run the tests and fix whatever fails"
- "Commit on a new branch in the Box and open a PR"
A create returns while the container is still coming up, and clone_repo starts cloning only once the Box reports idle, so give it a moment before the first read.
The one thing to know: your agent's own Read, Write, Edit, Bash, Glob and Grep tools still act on your machine. Nothing stops it from reading a local file and writing the change into the Box, and neither side reports the mismatch. The server sends guidance at startup and every Box tool says which machine it touches, but if you want the boundary enforced rather than suggested, add a CLAUDE.md to the project you're driving from:
Upstash Box API key (optional)
For the MCP to interact with Upstash Box, the agent needs your Box API key. By default you have to paste it into the chat (or keep it in a .env) every time the agent runs a Box tool. To avoid this, you can wire the key into the MCP setup itself so the server picks it up automatically on startup.
You can pass it in two ways.
CLI flag
Environment variable
Debugging
If the server is misbehaving or a tool keeps failing, enable verbose logging with the --debug flag:
Every internal event is then written to stderr, which your MCP client surfaces in its own log viewer. Share the relevant snippet when reporting an issue on GitHub.
Telemetry
The server sends anonymous diagnostic info to Upstash with each request: the MCP server SDK version, your runtime version (Node, Bun, etc.), and basic platform info (OS and architecture). No account data, tool arguments, or results are collected. To opt out, add --disable-telemetry to the args.
Development
Clone the project and run:
This continuously builds the project and watches for changes.
To run the built server standalone (uses .env for credentials) and smoke-test it before publishing:
For testing, create a .env file in the project root:
To install the local MCP server into Claude Code:
To tail logs from the MCP server in real time:
來源:README.md,提交 8ed1cbe
工具
0版本歷史
2- v0.4.0最新Oct 23, 2026
- v0.2.7Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分