Upstash MCP Server
Manage serverless Redis via Upstash REST API — execute commands, manage data structures and monitor your database from any AI agent.
Ask AI about this MCP Server
Vinkius supports streamable HTTP and SSE.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
What is the Upstash MCP Server?
The Upstash MCP Server gives AI agents like Claude, ChatGPT, and Cursor direct access to Upstash via 23 tools. Manage serverless Redis via Upstash REST API — execute commands, manage data structures and monitor your database from any AI agent. Powered by the Vinkius - no API keys, no infrastructure, connect in under 2 minutes.
Built-in capabilities (23)
Tools for your AI Agents to operate Upstash
Ask your AI agent "Check if my Upstash Redis database is responding." and get the answer without opening a single dashboard. With 23 tools connected to real Upstash data, your agents reason over live information, cross-reference it with other MCP servers, and deliver insights you would spend hours assembling manually.
Works with Claude, ChatGPT, Cursor, and any MCP-compatible client. Powered by the Vinkius - your credentials never touch the AI model, every request is auditable. Connect in under two minutes.
Why teams choose Vinkius
One subscription gives you access to thousands of MCP servers - and you can deploy your own to the Vinkius Edge. Your AI agents only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure and security, zero maintenance.
Build your own MCP Server with our secure development framework →Vinkius works with every AI agent you already use
…and any MCP-compatible client


















Upstash MCP Server capabilities
23 toolsIf the key does not exist, it is initialized to 0 before the operation. Returns the new value after decrementing. Decrement a numeric value in Upstash Redis
Returns 1 if the key was deleted, 0 if it did not exist. WARNING: this operation is irreversible. Delete a key from Upstash Redis
This is a lightweight way to check key presence without retrieving the value. Check if a key exists in Upstash Redis
The key will be automatically deleted when the TTL reaches zero. Returns 1 if the timeout was set, 0 if the key does not exist. Set a TTL on a key in Upstash Redis
Returns null if the key does not exist. This is the primary read operation for string data. Get a value from Upstash Redis
Returns null if the key or field does not exist. Get a field value from a Redis hash
Returns an object with all fields and their values. Returns an empty object if the key does not exist. Get all fields and values from a Redis hash
If the key does not exist, a new hash is created. If the field already exists, its value is overwritten. Returns the number of fields added (1 for new, 0 for updated). Set a field in a Redis hash
If the key does not exist, it is initialized to 0 before the operation. Returns the new value after incrementing. Increment a numeric value in Upstash Redis
Get the data type of a key in Upstash Redis
Use "*" for all keys, "prefix:*" for keys with a prefix, or "*:suffix" for suffix matching. WARNING: KEYS can be slow on large databases — use sparingly. List keys in Upstash Redis
Returns 0 if the key does not exist. Get the length of a Redis list
If the key does not exist, a new list is created. Returns the length of the list after the push. Push values to the left of a Redis list
Use 0 as start and -1 as stop to get all elements. Positive indices count from the head (0 = first), negative indices count from the tail (-1 = last). Get a range of elements from a Redis list
Commands are sent as a JSON array of arrays, e.g. [["SET","k1","v1"],["GET","k1"],["INCR","counter"]]. Returns an array of results in the same order. Note: the pipeline is NOT atomic (other commands may interleave) — use /multi-exec for atomicity. WARNING: this is a powerful tool — review commands carefully before execution. Execute multiple commands atomically via Upstash pipeline
Returns the number of subscribers that received the message. This is a fire-and-forget operation — subscribers must be actively listening. Publish a message to a Redis channel
If the key does not exist, a new list is created. Returns the length of the list after the push. Push values to the right of a Redis list
Duplicate members are ignored. If the key does not exist, a new set is created. Returns the number of members that were added. Add members to a Redis set
Optionally set an expiry time in seconds using the ex parameter. Overwrites any existing value at the key. Returns "OK" on success. This is the primary write operation for string data. Set a value in Upstash Redis
This is a fast O(1) membership check. Check if a member is in a Redis set
Returns an array of all unique members. Returns an empty array if the key does not exist. Get all members of a Redis set
Non-existent members are ignored. Returns the number of members that were removed. Remove members from a Redis set
Returns -1 if the key has no expiry, -2 if the key does not exist. Get the TTL of a key in Upstash Redis
What the Upstash MCP Server unlocks
Connect your Upstash Redis database to any AI agent and interact with your serverless data store through natural conversation — no Redis CLI needed.
What you can do
- Health Checks — Ping your database to verify connectivity and inspect server health
- String Operations — Get, set and delete key-value pairs with optional TTL management
- Hash Management — Store and retrieve structured data as field-value pairs within hash keys
- List Operations — Push, pop and range elements from Redis lists for queue and stack patterns
- Set Operations — Add, remove and query set membership for unique collections
- Key Discovery — List keys by pattern, check existence, inspect data types and view TTL values
- Numeric Operations — Increment and decrement counters atomically
- Pub/Sub Messaging — Publish messages to channels for event-driven architectures
- Pipeline Execution — Execute multiple commands in a single HTTP request for batch operations
How it works
1. Subscribe to this server
2. Enter your Upstash REST URL and Token
3. Start managing your Redis data from Claude, Cursor, or any MCP-compatible client
No more switching to another terminal to run Redis commands. Your AI acts as an in-memory data engineer.
Who is this for?
- Backend Developers — manage caching layers, feature flags, session storage and rate limit counters directly from chat
- DevOps Engineers — monitor database health, audit key patterns and manage TTL-based data lifecycle
- Full-Stack Teams — manipulate data structures (hashes, lists, sets) for application state without opening Redis CLI
Frequently asked questions about the Upstash MCP Server
Where do I find my Upstash REST URL and Token?
Log in to the Upstash Console, select your Redis database, and look for the REST API section. You'll find the HTTPS Endpoint (your REST URL, e.g. https://xxx-yyy-12345.upstash.io) and the Token value. Copy both and paste them here. There are two token types: Standard (full access) and Read-Only (read-only commands). Use Standard for full functionality.
What Redis commands are supported via the REST API?
The Upstash REST API supports most Redis commands including: Strings (GET, SET, DEL, EXISTS, EXPIRE, TTL, INCR, DECR), Hashes (HSET, HGET, HGETALL), Lists (LPUSH, RPUSH, LRANGE, LLEN), Sets (SADD, SMEMBERS, SISMEMBER, SREM), Keys (KEYS, TYPE, PING), and Pub/Sub (PUBLISH). The pipeline endpoint allows executing multiple commands in a single request. Blocking commands (BLPOP, BRPOP) and WATCH/UNWATCH are not supported.
Can I execute multiple commands atomically?
The pipeline tool sends multiple commands in a single HTTP request for efficiency, but it is NOT atomic — other commands may interleave between them. For atomic multi-command execution, Upstash supports the /multi-exec endpoint (same syntax as pipeline but guarantees atomicity). However, this MCP server currently exposes the standard pipeline tool for batch operations.
Is the Upstash REST API rate-limited?
Upstash does not enforce a fixed RPS limit. Instead, your plan defines a daily command limit. Each REST call counts as one command (or multiple commands if using pipeline). If you exceed your daily limit, commands will fail with a 400 error. Check your Upstash console for current usage. For high-throughput scenarios, consider using the pipeline endpoint to batch multiple commands into single HTTP requests.
More in this category
You might also like
Connect Upstash with your favorite client
Step-by-step setup guides for every MCP-compatible client and framework:
Anthropic's native desktop app for Claude with built-in MCP support.
AI-first code editor with integrated LLM-powered coding assistance.
GitHub Copilot in VS Code with Agent mode and MCP support.
Purpose-built IDE for agentic AI coding workflows.
Autonomous AI coding agent that runs inside VS Code.
Anthropic's agentic CLI for terminal-first development.
Python SDK for building production-grade OpenAI agent workflows.
Google's framework for building production AI agents.
Type-safe agent development for Python with first-class MCP support.
TypeScript toolkit for building AI-powered web applications.
TypeScript-native agent framework for modern web stacks.
Python framework for orchestrating collaborative AI agent crews.
Leading Python framework for composable LLM applications.
Data-aware AI agent framework for structured and unstructured sources.
Microsoft's framework for multi-agent collaborative conversations.
Give your AI agents the power of Upstash MCP Server
Production-grade Upstash MCP Server. Verified, monitored, and maintained by Vinkius. Ready for your AI agents — connect and start using immediately.






