Upstash MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Upstash MCP or direct API to manage Redis data, publish QStash messages, run workflows, and query indexes through natural language.

Upstash MCP logoUpstash MCP
Dcr Oauth

Upstash MCP is a hosted Model Context Protocol server for Upstash data services. It provides one agent-ready connection to Redis, QStash, Workflows, Vector, Search, Boxes, and Blob Storage.

78 Tools

Try Upstash MCP now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Upstash MCP
Try asking
TOOLS

Supported Tools

Every Upstash MCP action and event your agent gets out of the box.

Blob bucket

Lists, gets, creates or deletes Upstash Blob buckets — object storage an agent can upload files to and link to afterwards.

Blob download url

Mints short-lived presigned GET URLs for objects in a Blob bucket, so their bytes are downloaded straight from storage — a `curl` inside a box, a browser — without passing through this server.

Blob object

Lists or deletes objects in an Upstash Blob bucket — their paths, sizes and links, never their bytes.

Blob upload url

Mints presigned PUT URLs for paths in a Blob bucket, so files are uploaded straight to storage from wherever they already are — a `curl` inside a box, a CI job — without their bytes passing through this server.

Box account

Account-wide views across every box.

Box apikey

Manages Box API keys for the authorized account scope, the credential the Box SDK, CLI and deployed apps use.

Box browser

Drives the headless Chromium in a box created with browser=true.

Box config

Changes a running box's configuration.

Box env

Account-level environment variables, merged into every box created afterwards; a box's own env_vars win for the same key, and a box that already exists is not changed.

Box exec

Runs a shell command inside a box, waits for it to finish, and returns its exit code and output.

Box git

Runs git inside a box.

Box logs

Reads a box's timestamped log entries — system, user and agent sources — which is how to find out what happened inside it.

Box manage

Manages Upstash Boxes — sandboxed cloud containers with a shell, a filesystem and an optional headless browser.

Box metrics

Resource and token usage for a box.

Box preview

Manages public preview URLs for ports inside a box, so a service running in it is reachable from the internet.

Box runs

Inspects a box's run history — agent prompts, shell executions and browser runs — with their status, output, token usage and cost.

Box schedules

Cron schedules that run a shell command or an agent prompt inside a box on a UTC cron expression.

Box snapshots

Manages box snapshots — full filesystem copies a new box can be built from.

Console redis keys

Console only: one SCAN page of a Redis database with each key's type and TTL.

Console redis value

Console only: one Redis key's type, TTL, size and a bounded read of its value.

Dlq list

Lists the dead-letter queue for QStash messages or Workflow runs (service picks which).

Dlq manage

Manages a dead-letter-queue entry: get or delete (QStash and Workflow), restart or resume (Workflow only).

Index create

Creates a Vector index or a Search database and returns it.

Index delete

PERMANENTLY deletes an entire Vector index or Search database, everything stored in it and its credentials.

Index delete documents

Deletes documents from a namespace, leaving the namespace and the index in place.

Index delete namespace

PERMANENTLY deletes a namespace and everything in it — for a Search database, one of its named indexes.

Index fetch

Fetches documents by ID.

Index get

Gets details of one Vector index or Search database (endpoint, models, limits, usage).

Index get stats

Gets usage statistics of one Vector index or Search database: queries and updates today and this month, storage, bandwidth and cost this month, queries and updates per day, throughput and latency (mean and p99) over the period, and document count and data size over time.

Index info

Gets runtime info: total and pending document counts, index size, and a per-namespace breakdown.

Index list

Lists the Upstash Vector indexes or Search databases in the authorized account scope.

Index list namespaces

Lists the namespaces of a Vector index — or, for a Search database, its named indexes, which are the same thing.

Index range

Iterates through the documents of a namespace, a page at a time.

Index rename namespace

Renames a namespace — for a Search database, one of its named indexes.

Index reset

PERMANENTLY deletes every document in a namespace, leaving the empty namespace behind.

Index reset credentials

Resets the REST token and read-only token of a Vector index or a Search database.

Index set plan

Moves a Vector index or a Search database to another plan: payg (billed per request) or fixed (a flat monthly price).

Index update

Updates one existing document in place, without re-sending the rest of it.

Logs list

Lists delivery/run logs for QStash messages or Workflow runs (service picks which), newest first.

Qstash flow control get

Gets flow-control state: rate/parallelism info for a flow-control key, or the account's global parallelism when key is omitted.

Qstash flow control manage

Manages a flow-control key: pause, resume, pin (payload = pin options JSON), unpin (payload = unpin options JSON) or reset_rate.

Qstash get stats

Gets usage statistics of a region's QStash user, which QStash and Workflow share.

Qstash list schedules

Lists QStash schedules in a region.

Qstash list users

Lists the QStash users in the authorized account scope, one per region.

Qstash manage schedule

Manages a QStash schedule: create (destinationUrl + cron required), get, delete, pause or resume (scheduleId required).

Qstash publish message

Publishes a message to a destination URL via QStash.

Qstash reset token

Replaces a region's QStash token and read-only token without downtime, in two calls.

Qstash set budget

Sets the monthly spending cap of a region's pay-as-you-go QStash user; fixed plans have none.

Qstash set plan

Moves a region's QStash user to another plan: pay-as-you-go (billed per message) or a fixed monthly tier.

Qstash set prod pack

Enables or disables Prod Pack on a region's QStash user, a monthly add-on for pay-as-you-go and fixed plans that adds an uptime SLA, encryption at rest, SOC-2 compliance and Prometheus/Datadog metrics.

Redis change plan

Moves an Upstash Redis database to another plan: pay-as-you-go (billed per command) or a fixed monthly tier.

Redis create backup

Creates a manual backup of an Upstash Redis database.

Redis create branch

Creates a branch of an Upstash Redis database: a point-in-time copy of its data with its own endpoint and password, for testing against real data.

Redis create database

Creates a new Upstash Redis database and returns it.

Redis delete database

PERMANENTLY deletes an Upstash Redis database or branch and all of its data.

Redis get database

Gets details of a single Upstash Redis database: endpoint, region, plan, limits and state.

Redis get insights

Gets the Redis Insights series of a database, as the Upstash console's Insights tab shows them: latency percentiles (overall, read, write, command, Lua, replication, wait), throughput, bandwidth, disk, expired entries and replication lag, for the whole database and per region (or one replica).

Redis get stats

Gets usage statistics of an Upstash Redis database: throughput, latency, hits and misses, keys, data size and connections over the period, requests per day, and this month's requests, bandwidth and cost.

Redis get traffic

Gets where a Redis database's traffic comes from and how it is served: the client networks the proxies sampled (masked prefixes, cloud provider and region, share), the SDKs, platforms and runtimes clients report with their retry rate, routes from entry region to serving region with requests, connections, bytes, errors and whether they cross regions, the entry regions by share, the cross-region share of bytes, and REST vs.

Redis list backups

Lists backups of an Upstash Redis database.

Redis list databases

Lists all Upstash Redis databases in the authorized account scope.

Redis rename database

Renames an Upstash Redis database or branch.

Redis reset credentials

Resets an Upstash Redis database's password and REST tokens (read-write and read-only).

Redis run command

Runs Redis commands directly on an Upstash Redis database over its REST API.

Redis set auto upgrade

Enables or disables automatic plan upgrade for an Upstash Redis database.

Redis set budget

Sets the monthly spending cap of a pay-as-you-go Upstash Redis database; fixed plans have none.

Redis set daily backup

Turns automatic daily backups of an Upstash Redis database on or off.

Redis set eviction

Enables or disables key eviction for an Upstash Redis database.

Redis set lua strict key locking

Turns Lua strict key locking on or off for an Upstash Redis database.

Redis set prod pack

Enables or disables Prod Pack on an Upstash Redis database: a per-database monthly add-on for pay-as-you-go and fixed plans that adds an uptime SLA, multi-zone high availability, encryption at rest, SOC-2 compliance and Prometheus/Grafana/Datadog metrics.

Redis update read regions

Replaces the read regions of a global Upstash Redis database with the given list: regions not in it are removed along with their replicas, new ones are added.

Search query

Runs a full-text and semantic search over one named index of a Search database.

Search upsert

Upserts documents into a named index of a Search database (server-side embedding), creating the named index if it does not exist.

Submit feedback to upstash team

Send feedback about this MCP server (a missing capability, a failing or confusing tool, or an improvement idea) to the Upstash team.

Upstash console

Opens the Upstash console: an interactive view of the user's Redis databases and keys, QStash and Workflow schedules, logs and DLQs, Vector and Search indexes, Boxes and Blob buckets.

Vector query

Queries a Vector index by vector similarity.

Vector upsert

Upserts vectors into a Vector index.

Workflow manage run

Operates on a Workflow run.

SETUP GUIDE

Connect Upstash MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["upstash_mcp"],
  mcp: true,
});
Create a session scoped to Upstash MCP and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "List the keys in my Upstash Redis database",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a Upstash MCP request
SETUP GUIDE

Connect Upstash MCP API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["upstash_mcp"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Upstash MCP
3

Run Upstash MCP tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "List the keys in my Upstash Redis database" }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the Upstash MCP tool calls through the session, and print the final answer

Why Use Composio?

AI Native Upstash MCP Integration

  • Supports both Upstash MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable Redis, QStash, Workflow, Vector, Search, Boxes, and Blob Storage tool execution
  • Rich coverage for reading, writing, scheduling, and querying your Upstash resources

Managed Auth

  • Supports the DCR OAuth connection flow for Upstash MCP
  • Central place to manage, scope, and revoke Upstash MCP access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Upstash MCP
  • Scoped, least privilege access to Upstash Redis, QStash, Workflow, Vector, Search, Boxes, and Blob Storage resources
  • Full audit trail of agent actions to support review and compliance
FRAMEWORKS

Use Upstash MCP with any AI Agent Framework

Choose a Framework you want to connect Upstash MCP with

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with Upstash MCP.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Upstash MCP tool your agent needs.Free to start.

Start building