4,000+ servers built on MCP Fusion
Vinkius
LlamaIndexFramework
LlamaIndex
Why use Upstash MCP Server with LlamaIndex?

Bring Redis
to LlamaIndex

Create your Vinkius account to connect Upstash to LlamaIndex and start using all 23 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.

MCP Inspector GDPR Free for Subscribers
DecrDelExistsExpireGetHgetHgetallHsetIncrKey TypeList KeysLlenLpushLrangePipelinePublishRpushSaddSetSismemberSmembersSremTtl
ChatGPT Claude Perplexity

Compatible with every major AI agent and IDE

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
Upstash

What is the Upstash MCP Server?

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

Built-in capabilities (23)

decr

If 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

del

Returns 1 if the key was deleted, 0 if it did not exist. WARNING: this operation is irreversible. Delete a key from Upstash Redis

exists

This is a lightweight way to check key presence without retrieving the value. Check if a key exists in Upstash Redis

expire

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

get

Returns null if the key does not exist. This is the primary read operation for string data. Get a value from Upstash Redis

hget

Returns null if the key or field does not exist. Get a field value from a Redis hash

hgetall

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

hset

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

incr

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

key_type

Get the data type of a key in Upstash Redis

list_keys

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

llen

Returns 0 if the key does not exist. Get the length of a Redis list

lpush

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

lrange

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

pipeline

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

publish

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

rpush

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

sadd

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

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

sismember

This is a fast O(1) membership check. Check if a member is in a Redis set

smembers

Returns an array of all unique members. Returns an empty array if the key does not exist. Get all members of a Redis set

srem

Non-existent members are ignored. Returns the number of members that were removed. Remove members from a Redis set

ttl

Returns -1 if the key has no expiry, -2 if the key does not exist. Get the TTL of a key in Upstash Redis

Why LlamaIndex?

LlamaIndex agents combine Upstash tool responses with indexed documents for comprehensive, grounded answers. Connect 23 tools through Vinkius and query live data alongside vector stores and SQL databases in a single turn. ideal for hybrid search, data enrichment, and analytical workflows.

  • Data-first architecture: LlamaIndex agents combine Upstash tool responses with indexed documents for comprehensive, grounded answers

  • Query pipeline framework lets you chain Upstash tool calls with transformations, filters, and re-rankers in a typed pipeline

  • Multi-source reasoning: agents can query Upstash, a vector store, and a SQL database in a single turn and synthesize results

  • Observability integrations show exactly what Upstash tools were called, what data was returned, and how it influenced the final answer

L
See it in action

Upstash in LlamaIndex

AI AgentVinkius
High Security·Kill Switch·Plug and Play
Enterprise Security

Why run Upstash with Vinkius?

The Upstash connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 23 tools are ready to work instantly without any complex setup.

You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

View full Upstash details →
Upstash
Fully ManagedNo server setup
Plug & PlayNo coding needed
SecurePrivacy protected
PrivateYour data is safe
Cost ControlBudget limits
Control1-click disconnect
Auto-UpdatesMaintenance free
High SpeedOptimized for AI
Reliable99.9% uptime
Your credentials and connection tokens are fully encrypted

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure

01 / Catalog

Over 4,000 integrations ready for AI agents

Explore a vast library of pre-built integrations, optimized and ready to deploy.

02 / Credentials

Connect securely in under 30 seconds

Generate tokens to authenticate and link external services in a single step.

03 / Guardian

Complete visibility into every agent action

Audit live requests, latency, success rates, and active security compliance policies.

04 / FinOps

Optimize spending and track token ROI

Analyze real-time token consumption and cost metrics detailed by connection.

Over 4,000 integrations ready for AI agents
Connect securely in under 30 seconds
Complete visibility into every agent action
Optimize spending and track token ROI

Explore our live AI Agents Analytics dashboard to see it all working

This dashboard is included when you connect Upstash using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.

Why Vinkius

Upstash and 4,000+ other AI tools. No hosting, no code, ready to use.

Professionals who connect Upstash to LlamaIndex through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.

4,000+MCP Integrations
<40msResponse time
100%Fully managed
Raw MCP
Vinkius
Ready-to-use MCPsFind and configure each manually4,000+ MCPs ready to use
Connection SetupManual coding & server setup1-click instant connection
Server HostingYou host it yourself (needs 24/7 uptime)100% hosted & managed by Vinkius
Security & PrivacyStored in plaintext config filesBank-grade encrypted vault
Activity VisibilityBlind execution (no logs or tracking)Live dashboard with real-time logs
Cost ControlRunaway AI token spend riskAutomatic budget limits
Revoking AccessMust delete files or code to stop1-click disconnect button
The Vinkius Advantage

How Vinkius secures Upstash for LlamaIndex

Every request between LlamaIndex and Upstash is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.

< 40msCold start
Ed25519Signed audit chain
60%Token savings
FAQ

Frequently asked questions

01

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.

02

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.

03

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.

04

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.

05

How does LlamaIndex connect to MCP servers?

Use the MCP client adapter to create a connection. LlamaIndex discovers all tools and wraps them as query engine tools compatible with any LlamaIndex agent.

06

Can I combine MCP tools with vector stores?

Yes. LlamaIndex agents can query Upstash tools and vector store indexes in the same turn, combining real-time and embedded data for grounded responses.

07

Does LlamaIndex support async MCP calls?

Yes. LlamaIndex's async agent framework supports concurrent MCP tool calls for high-throughput data processing pipelines.

08

BasicMCPClient not found

Install: pip install llama-index-tools-mcp

Explore More MCP Servers

View all →