Upstash MCP Server
OfficialThis server allows you to manage and interact with your Upstash Redis databases using natural language via the Model Context Protocol (MCP).
You can:
Create and manage databases: Create new databases, delete databases, list existing ones, and update database regions
Retrieve information: Get detailed database information and usage statistics (command count, bandwidth, latency, keyspace, throughput, disk usage)
Manage backups: Create, delete, restore, and list backups, plus enable/disable daily backups
Execute commands: Run single or multiple Redis commands directly on a database
Utility functions: Convert timestamps to human-readable dates
Allows interaction with Redis databases, including creating new databases, running Redis commands, listing databases, managing backups, and viewing usage statistics.
Integrates with Upstash Developer API to manage Upstash resources through natural language commands, such as creating databases, listing resources, running commands, and viewing metrics.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Upstash MCP Serverlist my Redis databases"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Upstash MCP
The Upstash MCP gives your agent the ability to interact with your Upstash account, such as:
Redis
"Create a new Redis in us-east-1"
"List my databases that have high memory usage"
"Give me the schema of how users are stored in redis"
"Create a backup and clear db"
"Give me the spikes in throughput during the last 7 days"
QStash & Workflow
"Check the logs and figure out what is wrong"
"Find me failed workflows of user @ysfk_0x"
"Restart the failed workflow run started in last 2 hours"
"Check DLQ and give me a summary"
Usage
Quick Setup
First, get your Upstash credentials:
Email: Your Upstash account email
API Key: Get it from Upstash Console → Account → API Keys
Add this to your MCP client configuration:
{
"mcpServers": {
"upstash": {
"command": "npx",
"args": [
"-y",
"@upstash/mcp-server@latest",
"--email",
"YOUR_EMAIL",
"--api-key",
"YOUR_API_KEY"
]
}
}
}Claude Code
claude mcp add --transport stdio upstash -- npx -y @upstash/mcp-server@latest --email YOUR_EMAIL --api-key YOUR_API_KEYStreamable HTTP Transport (for web applications)
Start your MCP server with the http transport:
npx @upstash/mcp-server@latest --transport http --port 3000 --email YOUR_EMAIL --api-key YOUR_API_KEYAnd configure your MCP client to use the HTTP transport:
{
"mcpServers": {
"upstash": {
"url": "http://localhost:3000/mcp"
}
}
}Related MCP server: Memex
Telemetry
The server sends anonymous runtime/platform info to Upstash with each request. To opt out, add --disable-telemetry to your args.
Troubleshooting
See the troubleshooting guide in the official MCP documentation. You can also reach out to us at Discord for support.
Development
Clone the project and run:
bun i
bun run watchThis will continuously build the project and watch for changes.
For testing, you can create a .env file in the same directory as the project with the following content:
UPSTASH_EMAIL=<UPSTASH_EMAIL>
UPSTASH_API_KEY=<UPSTASH_API_KEY>To install the local MCP Server to Claude Code, run:
claude mcp add --transport stdio upstash -- bun --watch dist/index.js --debugTo view the logs from the MCP Server in real time, run:
bun run logsResources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/upstash/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server