How to Use the Upstash MCP in Cursor
Write code that reads live Upstash data using Cursor.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Upstash MCP to Cursor
Create your Vinkius account to connect Upstash to Cursor and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Interacting with Lists and Sets in Cursor
You can manage ordered collections of items using Redis Lists. The `lpush` tool adds values to the left side, while `rpush` adds them to the right. Need all the contents? Use `lrange 0 -1`. For unique groupings, use Sets. To add an item, just run `sadd`. You can check membership quickly with `sismember`, which is a fast O(1) operation.
Retrieving and Modifying Hashes in Cursor
To get all the data points for an entity, call `hgetall` on its key. It brings back every field and value stored in that hash. If you need to update a single field or create a brand new record, use `hset`. Remember that if the field already exists, `hset` will overwrite it; otherwise, it'll build out the entire hash.
Performing Atomic and Batch Redis Operations in Cursor
When writing code that relies on multiple database steps, the `pipeline` tool is your friend. It sends a batch of commands as JSON arrays, letting you check values and then update them all at once. Keep an eye on atomicity here. While the pipeline executes the commands quickly, if you need absolute certainty that no other process intervenes, look into the dedicated multi-exec capability.
Set up Upstash MCP in Cursor
Prerequisites
- Cursor installed (macOS, Windows, or Linux)
- Active Vinkius subscription with a valid endpoint token
- 1
Open MCP Settings
Go to Cursor Settings → MCP or open the Command Palette (
Cmd+Shift+P/Ctrl+Shift+P) and search for "MCP: Add Server". - 2
Add the Upstash MCP
Cursor will create or open
.cursor/mcp.jsonin your project root. Paste the JSON snippet on the right. Replace[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. - 3
Enable Agent mode
Open Composer (
Cmd+I/Ctrl+I) and switch to Agent mode using the dropdown at the top. MCP tools are only available in Agent mode. - 4
Verify the connection
Ask Cursor something like "List my recent Upstash transactions." If the MCP tools are loaded correctly, Cursor will call the Upstash tools automatically. You can also check Settings → MCP for a green status indicator.
{
"mcpServers": {
"upstash-mcp": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
} Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Upstash. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Upstash MCP in Cursor
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Upstash MCP today
We host it, we monitor it, we maintain it. You just paste one token.