MCP server
Upstash MCP Server
- Maintainer
- Official · Upstash
- Runs
- Local (stdio)
- GitHub
- ★ 61, last push 2026-10-23 (checked 2026-10-24)
- License
- MIT
- Registry
- io.github.upstash/mcp-server
- Connects to
- Redis, Upstash
- DevHunt
- Upstash on DevHunt
Install the Upstash MCP Server
Pick your client. Each tab starts the same local command. Config shapes checked against each client's docs on 2026-10-25.
Needs UPSTASH_EMAIL, UPSTASH_API_KEY (replace the ... with your value).
Run in a terminal. Everything after -- is the command that starts the server. docs
claude mcp add --transport stdio --env UPSTASH_EMAIL=... --env UPSTASH_API_KEY=... upstash -- npx -y @upstash/mcp-server
Claude Desktop only: Settings > Developer > Edit Config opens claude_desktop_config.json. Add this, save and restart the app. docs
{
"mcpServers": {
"upstash": {
"command": "npx",
"args": [
"-y",
"@upstash/mcp-server"
],
"env": {
"UPSTASH_EMAIL": "...",
"UPSTASH_API_KEY": "..."
}
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project), or use the install button. docs
{
"mcpServers": {
"upstash": {
"command": "npx",
"args": [
"-y",
"@upstash/mcp-server"
],
"env": {
"UPSTASH_EMAIL": "...",
"UPSTASH_API_KEY": "..."
}
}
}
}Add to .vscode/mcp.json (note the "servers" key and the type), or use the install button. Command Palette > "MCP: Open User Configuration" for all workspaces. docs
{
"servers": {
"upstash": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@upstash/mcp-server"
],
"env": {
"UPSTASH_EMAIL": "...",
"UPSTASH_API_KEY": "..."
}
}
}
}Run codex mcp add --env UPSTASH_EMAIL=... --env UPSTASH_API_KEY=... upstash -- npx -y @upstash/mcp-server, or add this to ~/.codex/config.toml. docs
[mcp_servers.upstash] command = "npx" args = ["-y", "@upstash/mcp-server"] [mcp_servers.upstash.env] UPSTASH_EMAIL = "..." UPSTASH_API_KEY = "..."
Run in a terminal (-s user adds it for all projects; the default is this project). docs
gemini mcp add -s user -e UPSTASH_EMAIL=... -e UPSTASH_API_KEY=... upstash npx -- -y @upstash/mcp-server
Run in a terminal; it writes ~/.copilot/mcp-config.json. docs
copilot mcp add --env UPSTASH_EMAIL=... --env UPSTASH_API_KEY=... upstash -- npx -y @upstash/mcp-server
Add to mcp_config.json: ~/.config/devin/mcp_config.json on macOS and Linux (older installs: ~/.codeium/windsurf/mcp_config.json), %APPDATA%\devin\ on Windows. docs
{
"mcpServers": {
"upstash": {
"command": "npx",
"args": [
"-y",
"@upstash/mcp-server"
],
"env": {
"UPSTASH_EMAIL": "...",
"UPSTASH_API_KEY": "..."
}
}
}
}Add to Zed's settings.json (or Settings > AI > MCP Servers > Add Server). Remote servers without an Authorization header sign in with OAuth. docs
{
"context_servers": {
"upstash": {
"command": "npx",
"args": [
"-y",
"@upstash/mcp-server"
],
"env": {
"UPSTASH_EMAIL": "...",
"UPSTASH_API_KEY": "..."
}
}
}
}Add to opencode.json in the project (or ~/.config/opencode/opencode.json). docs
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"upstash": {
"type": "local",
"command": [
"npx",
"-y",
"@upstash/mcp-server"
],
"enabled": true,
"environment": {
"UPSTASH_EMAIL": "...",
"UPSTASH_API_KEY": "..."
}
}
}
}Add to ~/.kiro/settings/mcp.json (all projects) or .kiro/settings/mcp.json (this project). docs
{
"mcpServers": {
"upstash": {
"command": "npx",
"args": [
"-y",
"@upstash/mcp-server"
],
"env": {
"UPSTASH_EMAIL": "...",
"UPSTASH_API_KEY": "..."
}
}
}
}MCP Servers > Configure > Configure MCP Servers opens cline_mcp_settings.json; add this entry. docs
{
"mcpServers": {
"upstash": {
"command": "npx",
"args": [
"-y",
"@upstash/mcp-server"
],
"env": {
"UPSTASH_EMAIL": "...",
"UPSTASH_API_KEY": "..."
}
}
}
}Security notes
- The local server runs with your user's permissions (npx downloads it from npm on first run).
- Needs UPSTASH_EMAIL and UPSTASH_API_KEY. Use a key or token with the narrowest scopes (read-only if there is one), and keep it out of config files you commit (.mcp.json, .vscode/mcp.json).
- Connect it to a development database or a read-only user first: the model can run writes and deletes if the credentials allow them.
Alternatives
- MCP Toolbox for Databasesofficial · ★ 17k
One server for Postgres, MySQL, SQL Server, BigQuery, AlloyDB, Spanner and more, with tools you define in YAML.
- Redisofficial · ★ 640
Read and write Redis keys, hashes, streams, JSON and vector indexes in plain language.
- Convexofficial · ★ 13k
Read tables, run functions and inspect logs of a Convex deployment.
- Firebaseofficial · ★ 4.5k
Firestore, Auth, Data Connect, Storage and Remote Config tools, built into the Firebase CLI.
- Supabaseofficial · ★ 3k
Query Postgres, manage tables, migrations, edge functions and branches in your Supabase projects.
- Qdrantofficial · ★ 1.6k
Store and search memories in a Qdrant vector collection.
- SQL MCP Server (Data API builder)official · ★ 1.5k
Self-hosted server that exposes chosen SQL tables, views and procedures as safe CRUD tools.
- MongoDBofficial · ★ 1.2k
Query and manage MongoDB databases and Atlas clusters.
FAQ
What does the Upstash MCP Server do?+
Create and manage Upstash Redis databases, backups and keys.
Is the Upstash MCP server official?+
Official: built and maintained by Upstash.
How do I add Upstash to Claude Code?+
Run: claude mcp add --env UPSTASH_EMAIL=... --env UPSTASH_API_KEY=... --transport stdio upstash -- npx -y @upstash/mcp-server. Add --scope project to share it with your team through .mcp.json.
How do I use the Upstash MCP server in Cursor or VS Code?+
Open the Cursor or VS Code tab above: it has the mcp.json entry and a one-click install link. Cursor uses the "mcpServers" key; VS Code uses "servers" and needs a type ("stdio").
Does Upstash work in ChatGPT and claude.ai?+
No: it runs locally over stdio, and ChatGPT and claude.ai only connect to remote servers. Use it in Claude Desktop, Claude Code, Cursor, VS Code or another client that can start a local process.
What are the alternatives to the Upstash MCP server?+
Other database MCP servers: MCP Toolbox for Databases, Redis, Convex, Firebase and Supabase.