# How to connect Upstash MCP to Claude

```json
{
  "title": "How to connect Upstash MCP to Claude",
  "toolkit": "Upstash MCP",
  "toolkit_slug": "upstash_mcp",
  "framework": "Claude Cowork",
  "framework_slug": "claude-cowork",
  "url": "https://composio.dev/toolkits/upstash_mcp/framework/claude-cowork",
  "markdown_url": "https://composio.dev/toolkits/upstash_mcp/framework/claude-cowork.md",
  "updated_at": "2026-12-04T05:34:42.679Z"
}
```

## Introduction

Claude is Anthropic's AI assistant, available on the web, in the desktop app, and on mobile. Cowork is its agent for knowledge work, and it runs on all of those surfaces too. Connected to your apps, Claude can work with your files and services to accomplish complex tasks on your behalf.
This guide walks you through the easiest and most secure way to connect your Upstash account to Claude via Composio Connect, enabling it to inspect keys in an Upstash Redis database, schedule a QStash message for tomorrow, search an Upstash Vector index, and more such actions on your behalf without compromising your account security.
Setup is the same on Claude Web, Desktop, and Cowork, and you only need to do it once. The connector is tied to your account, so it's available in all three.
For exact tool slugs and parameter tables, see the [tool catalog in the Composio docs](https://docs.composio.dev/toolkits/upstash_mcp).

## Also integrate Upstash MCP with

- [ChatGPT](https://composio.dev/toolkits/upstash_mcp/framework/chatgpt)

## Connect Upstash MCP to Claude Cowork

### Connecting Upstash to Claude Web, Desktop, and Cowork
Two ways to add the Composio connector. Pick whichever you prefer.
### 1. Add with one click
Click the button. Claude opens with the Composio connector filled in. Click Add, then go to step 2.
[Add to Claude](https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Composio&connectorUrl=https%3A%2F%2Fconnect.composio.dev%2Fmcp)
### Add manually
In Claude Desktop, click Customize in the left sidebar, then select Connectors and click the + icon at the top.
Click Add custom connector and paste in the Composio MCP server URL:

```bash
https://connect.composio.dev/mcp
```

## What is the Upstash MCP server, and what's possible with it?

The Upstash MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Upstash account. It provides structured and secure access to your Redis data, Vector and Search indexes, Boxes sandboxes, Blob storage, and QStash or Workflow delivery records, so your agent can inspect data, manage indexes and storage, run commands in sandboxes, and monitor failed or completed operations on your behalf.
- Redis data inspection: Have your agent scan Redis keys and inspect their values, types, sizes, and expiration times.
- Vector and Search index management: Let the agent list, create, inspect, update, reset, rename, or delete indexes and their documents, namespaces, and credentials.
- Sandbox development and operations: Direct your agent to create and manage Upstash Boxes, run shell commands, use Git, inspect logs and metrics, configure environments, schedule tasks, and manage browser sessions or public previews.
- Blob storage management: Instruct your agent to create, list, and delete storage buckets and objects, or generate temporary upload and download links for files.
- Delivery and workflow monitoring: Have your agent review QStash or Workflow logs and dead-letter entries, manage failed entries where supported, and inspect flow-control status.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `UPSTASH_MCP_BLOB_BUCKET` | Blob bucket | Lists, gets, creates or deletes Upstash Blob buckets — object storage an agent can upload files to and link to afterwards. Blob has no plans to choose: storage, operations and bandwidth are free up to a monthly allowance and pay-as-you-go above it (https://upstash.com/pricing/blob.md). Actions: list (every bucket in the authorized account scope), get (needs bucket_id; with include_credentials the result also carries the bucket's `token`, the value `@upstash/blob` reads as UPSTASH_BLOB_TOKEN), stats (needs bucket_id; storage, bandwidth, operations and cost per day and per month, collected hourly, so today's row is partial), create (needs name), delete (needs bucket_id; permanent, and refused while the bucket still holds objects — empty it with blob_object delete first), reset_token (needs bucket_id; rotates the bucket token: the current token stops working at once, so apps need the new UPSTASH_BLOB_TOKEN from get with include_credentials; confirm with the user first). A public bucket serves its objects at a permanent URL under public_host, which is what you want for a link that has to keep working, such as an image embedded in a PR body; a private bucket has no public host and its objects are reachable only through short-lived signed URLs. The token is returned only by get with include_credentials on a read-write connection; on a read-only connection it is omitted regardless, and list, create, delete and reset_token never return it. |
| `UPSTASH_MCP_BLOB_DOWNLOAD_URL` | 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. This is the way to read a **private** bucket, whose objects have no public link; on a public bucket the permanent `public_url` works too and is returned alongside. The URLs only read, so they are available on read-only connections. A URL lives at most 10 minutes; set `download_as` to have storage serve the object as an attachment with that filename. A missing object is a 404 from storage when the URL is fetched, not an error here. |
| `UPSTASH_MCP_BLOB_OBJECT` | Blob object | Lists or deletes objects in an Upstash Blob bucket — their paths, sizes and links, never their bytes. Actions: list (needs bucket_id; optional prefix and cursor; up to 1000 objects per page, and a cursor in the result means more follow — pass it back to continue), delete (needs bucket_id and paths, up to 1000 exact keys; permanent, and a path that is already gone counts as deleted). To empty a bucket before blob_bucket delete, list a page, delete its paths, repeat until list comes back empty. Never returns bucket tokens. |
| `UPSTASH_MCP_BLOB_UPLOAD_URL` | 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. Send the returned `headers` verbatim with the PUT: they are part of the signature, so a changed, dropped or added header is a 403 from storage. A URL lives at most 10 minutes, so mint it immediately before uploading rather than up front. On a public bucket each file also comes back with `public_url`, the permanent link to use once the upload succeeds (in a PR body, say); a private bucket has none. The result's `curl_example` is the first file's real command line. |
| `UPSTASH_MCP_BOX_ACCOUNT` | Box account | Account-wide views across every box. Actions: summary (each active box with its cost; status deleted lists the deleted ones instead), billing (this month's token and compute totals), logs (log lines from all boxes; limit, offset, level, source, search, start_time and end_time filter them). |
| `UPSTASH_MCP_BOX_APIKEY` | Box apikey | Manages Box API keys for the authorized account scope, the credential the Box SDK, CLI and deployed apps use. Actions: list (metadata only: id, name, prefix, never the secret), create (optional name; read_only: true makes a key that can read boxes, logs and files and run exec as a restricted user, gets 403 on every write, cannot wake a paused box and sees secrets masked, which suits monitoring or a debugging agent; returns the secret once, so surface it to the user to store), delete (needs api_key_id; anything still using the key stops working immediately). A key is account-scoped and independent of this connection: it keeps working after the OAuth grant that created it is revoked, so tell the user to delete it, here or in the Upstash console, once it is no longer needed. Read-only OAuth grants get 403 on create and delete. |
| `UPSTASH_MCP_BOX_BROWSER` | Box browser | Drives the headless Chromium in a box created with browser=true. Actions: goto (navigate to url and return the page), content (read the current page as title/url/text/links), screenshot (PNG of the page — returned as an image unless path is given, in which case it is saved into the box at that path instead), tabs (list the open tabs), tab_new (open a tab, optionally at url), tab_close (needs tab), live_view (a view-only page a person can open to watch the tab live — frames flow out, no input goes in, so hand the URL to the user rather than trying to click in it). box_id is required for every action. |
| `UPSTASH_MCP_BOX_CONFIG` | Box config | Changes a running box's configuration. Actions: get (model, MCP servers and enabled skills; labels are on box_manage get); set_model (needs model); add_label and remove_label (need label); add_skill and remove_skill (need skill, as owner/repo/skill-name); add_mcp_server (needs mcp_server) and remove_mcp_server (needs name); set_network_policy (needs network_policy); set_git_identity (needs git_user_name and git_user_email); get_init_command, set_init_command (needs init_command) and delete_init_command, which apply to keep-alive boxes only. Size, browser and keep_alive are fixed at create time. Read-only OAuth connections are refused with 403 on the actions that write. |
| `UPSTASH_MCP_BOX_ENV` | 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. Actions: list (values come back masked), set (needs key and value), set_all (needs env_vars, and replaces the whole set), delete (needs key). Not a secrets store: a value set here is visible inside every future box. Read-only OAuth connections are refused with 403 on the actions that write. |
| `UPSTASH_MCP_BOX_EXEC` | Box exec | Runs a shell command inside a box, waits for it to finish, and returns its exit code and output. Use it for file operations, package installs, builds, tests — anything a shell does. For repository work (clone, commit, push, pull request) use box_git, which also puts the GitHub credentials into the box. The command is an argv array, e.g. ['bash', '-c', 'ls -la']; an inline program is one too: ['node', '-e', code], ['python3', '-c', code] or ['npx', 'tsx', '-e', code], and content written with ['sh', '-c', 'printf %s "$1" > "$2"', 'sh', content, path] needs no quoting. `folder` defaults to /workspace/home, the workspace root; a clone sits at /workspace/home/. To start something long-running (a dev server, say) without blocking, detach it inside the shell: ['sh', '-c', '( my-server > server.log 2>&1 & )']. A paused box is resumed first. Read-only OAuth connections cannot run commands: the box API refuses them with 403. |
| `UPSTASH_MCP_BOX_GIT` | Box git | Runs git inside a box. Authentication comes from the GitHub installation linked to the Upstash account — the tool takes no token, and a private repo works only if that installation can see it. Actions: clone (needs repo), status, diff, commit (needs message), checkout (needs branch), push, create_pr (needs title), create_issue (needs title). Anything else git does (add, log, rebase) is a box_exec command such as ['git', 'log', '-1']. Clone with this tool rather than with git in box_exec: clone is what puts the GitHub credentials into the box, and without them push and create_pr fail with a 500. A clone lands at /workspace/home/; pass that as `folder` on every other action, since the default is the workspace root, which is not a repository. create_pr opens the pull request for the branch as it exists on the remote and pushes nothing itself, so push first, and give push the branch name: without one the API pushes to a branch named after the box. Read-only OAuth connections are refused with 403 on the actions that write (clone, commit, checkout, push, create_pr, create_issue). |
| `UPSTASH_MCP_BOX_LOGS` | Box logs | Reads a box's timestamped log entries — system, user and agent sources — which is how to find out what happened inside it. Filterable by source, level, free-text search and a timestamp window. |
| `UPSTASH_MCP_BOX_MANAGE` | Box manage | Manages Upstash Boxes — sandboxed cloud containers with a shell, a filesystem and an optional headless browser. Actions: create (set browser=true to make box_browser usable), list (optionally filtered by label or status), get, status (cheaper than get, for polling), delete (permanent, takes the workspace with it; pass box_id for one box or box_ids for several in one call), pause, resume, fork (copies an idle or paused non-ephemeral box), reset (wipes the workspace back to a fresh box; the id survives). Every action except create and list needs box_id (delete accepts box_ids instead). There is no delete-everything: to clear an account, list first and pass the ids you mean. Ephemeral boxes need no paid plan and are cleaned up when their TTL expires; keep-alive boxes require one. size and keep_alive set what a box costs and cannot be changed after create; prices per size: https://upstash.com/pricing/box.md. Confirm with the user before creating a keep-alive box, which is billed for as long as it exists, used or not. |
| `UPSTASH_MCP_BOX_METRICS` | Box metrics | Resource and token usage for a box. Actions: current (CPU, memory and disk right now), history (a time series; range such as 1h or 24h, step such as 1m), tokens (token counts and cost over the last days), steps (the agent's commits, one per prompt, newest first), step_diff (needs sha; the diff one step made). |
| `UPSTASH_MCP_BOX_PREVIEW` | Box preview | Manages public preview URLs for ports inside a box, so a service running in it is reachable from the internet. Actions: create (needs port; basic_auth or bearer_token add a generated credential, which is returned once and only here), list, delete (needs port). box_id is required for every action. |
| `UPSTASH_MCP_BOX_RUNS` | Box runs | Inspects a box's run history — agent prompts, shell executions and browser runs — with their status, output, token usage and cost. Actions: list, get (needs run_id), cancel (needs run_id; only a run that is still running can be cancelled). box_id is required for every action. |
| `UPSTASH_MCP_BOX_SCHEDULES` | Box schedules | Cron schedules that run a shell command or an agent prompt inside a box on a UTC cron expression. Actions: create (needs cron and either command or prompt), list, get, update, pause, resume, delete (the last five need schedule_id). update changes only the fields given, so a new cron leaves the command alone. An agent prompt runs on the provider key saved on the account (or set on the box) and fails without one. timeout is milliseconds; 0 clears it on update. Read-only OAuth connections are refused with 403 on the actions that write. |
| `UPSTASH_MCP_BOX_SNAPSHOTS` | Box snapshots | Manages box snapshots — full filesystem copies a new box can be built from. Actions: create (needs box_id), list (one box's snapshots, needs box_id), list_all (every snapshot in the account), delete (needs box_id and snapshot_id), restore (needs snapshot_id; creates a NEW box from the snapshot and leaves the original alone, inheriting the snapshot's model and runtime unless they are overridden). |
| `UPSTASH_MCP_CONSOLE_REDIS_KEYS` | Console redis keys | Console only: one SCAN page of a Redis database with each key's type and TTL. |
| `UPSTASH_MCP_CONSOLE_REDIS_VALUE` | Console redis value | Console only: one Redis key's type, TTL, size and a bounded read of its value. |
| `UPSTASH_MCP_DLQ_LIST` | Dlq list | Lists the dead-letter queue for QStash messages or Workflow runs (service picks which). Paginated via cursor. |
| `UPSTASH_MCP_DLQ_MANAGE` | Dlq manage | Manages a dead-letter-queue entry: get or delete (QStash and Workflow), restart or resume (Workflow only). |
| `UPSTASH_MCP_INDEX_CREATE` | Index create | Creates a Vector index or a Search database and returns it. Its REST tokens are included only when include_credentials is true — set it when the user is going to configure an app with it; they can also be fetched later with index_get. Search takes only name, region and plan — its embedding, reranking and enrichment models are fixed by the service, and its named indexes are created implicitly by the first search_upsert. Vector takes the rest: dimensions come from the embedding model when one is given, so pass dimensionCount only for an index you will supply your own vectors to; a SPARSE index takes neither and is described by sparseEmbeddingModel alone; a HYBRID index takes both models or neither. Plans and prices (Search is billed as Vector): https://upstash.com/pricing/vector.md; when the user picks fixed, confirm its monthly price with them first. |
| `UPSTASH_MCP_INDEX_DELETE` | Index delete | PERMANENTLY deletes an entire Vector index or Search database, everything stored in it and its credentials. This cannot be undone. To empty one while keeping it, use index_reset; to remove a single namespace or named index, use index_delete_namespace. |
| `UPSTASH_MCP_INDEX_DELETE_DOCUMENTS` | Index delete documents | Deletes documents from a namespace, leaving the namespace and the index in place. Payload e.g. {"ids":["a","b"]}, {"prefix":"doc-"} or {"filter":"..."}. To empty a namespace entirely use index_reset; to delete the index itself use index_delete. |
| `UPSTASH_MCP_INDEX_DELETE_NAMESPACE` | Index delete namespace | PERMANENTLY deletes a namespace and everything in it — for a Search database, one of its named indexes. This cannot be undone. The default namespace cannot be deleted; empty it with index_reset instead. |
| `UPSTASH_MCP_INDEX_FETCH` | Index fetch | Fetches documents by ID. Payload e.g. {"ids":["a","b"],"includeMetadata":true}, or {"prefix":"doc-","includeMetadata":true} to match an ID prefix. |
| `UPSTASH_MCP_INDEX_GET` | Index get | Gets details of one Vector index or Search database (endpoint, models, limits, usage). Its REST tokens are included only when include_credentials is true and the connection is read-write; on a read-only connection they are omitted (get them from the Upstash console). |
| `UPSTASH_MCP_INDEX_GET_STATS` | 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. Search databases add rerank and input-enrichment figures. |
| `UPSTASH_MCP_INDEX_INFO` | Index info | Gets runtime info: total and pending document counts, index size, and a per-namespace breakdown. For Search those namespaces are its named indexes, with their document counts. |
| `UPSTASH_MCP_INDEX_LIST` | Index list | Lists the Upstash Vector indexes or Search databases in the authorized account scope. Never includes tokens — call index_get with include_credentials for one of them. |
| `UPSTASH_MCP_INDEX_LIST_NAMESPACES` | Index list namespaces | Lists the namespaces of a Vector index — or, for a Search database, its named indexes, which are the same thing. This is what search.listIndexes() calls. |
| `UPSTASH_MCP_INDEX_RANGE` | Index range | Iterates through the documents of a namespace, a page at a time. Payload e.g. {"cursor":"0","limit":100,"includeMetadata":true}; reuse the returned cursor for the next page, and stop to ask the user if the results get large. |
| `UPSTASH_MCP_INDEX_RENAME_NAMESPACE` | Index rename namespace | Renames a namespace — for a Search database, one of its named indexes. The new name must not already be in use, and the default namespace cannot be renamed. |
| `UPSTASH_MCP_INDEX_RESET` | Index reset | PERMANENTLY deletes every document in a namespace, leaving the empty namespace behind. Set allNamespaces to empty the whole index instead. This cannot be undone. |
| `UPSTASH_MCP_INDEX_RESET_CREDENTIALS` | Index reset credentials | Resets the REST token and read-only token of a Vector index or a Search database. Every client still using the old ones fails from that moment, so the user has to update their apps' environment variables. The new tokens are not in the result: fetch them with index_get and include_credentials: true. Confirm with the user before calling. |
| `UPSTASH_MCP_INDEX_SET_PLAN` | Index set plan | Moves a Vector index or a Search database to another plan: payg (billed per request) or fixed (a flat monthly price). Search is billed as Vector, so one pricing page covers both: https://upstash.com/pricing/vector.md — its "Pay as You Go" is payg and "Fixed" is fixed; Pro is sold by sales. The current plan is type in index_get. Only an index already on a paid plan can switch; the API refuses a free one. This changes what the account is billed: tell the user the price from the pricing page and get their confirmation before calling. |
| `UPSTASH_MCP_INDEX_UPDATE` | Index update | Updates one existing document in place, without re-sending the rest of it. Payload e.g. {"id":"a","metadata":{...},"metadataUpdateMode":"patch"} to merge into the existing metadata, or "overwrite" (the default) to replace it; may also carry vector, sparseVector or data to re-embed. Does nothing if the id does not exist — use vector_upsert or search_upsert to create. |
| `UPSTASH_MCP_LOGS_LIST` | Logs list | Lists delivery/run logs for QStash messages or Workflow runs (service picks which), newest first. Paginated via cursor. This is the way to inspect a Workflow run by ID, whether it has finished or is still running: pass service workflow and workflowRunId, and the entry holds the run's state, its steps and their error bodies, in one call. workflowRunId, workflowUrl, state, workflowCreatedAt and label filter Workflow runs and are refused for service qstash; count works for both. QStash and Workflow only: Upstash keeps no command or request log for Redis databases (only the Enterprise audit-log add-on records commands, and it is not exposed here), and SLOWLOG and ACL LOG are not available on them. For Redis activity use redis_get_stats, and redis_get_insights or redis_get_traffic when the database has Prod Pack or a Pro plan. |
| `UPSTASH_MCP_QSTASH_FLOW_CONTROL_GET` | 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. |
| `UPSTASH_MCP_QSTASH_FLOW_CONTROL_MANAGE` | Qstash flow control manage | Manages a flow-control key: pause, resume, pin (payload = pin options JSON), unpin (payload = unpin options JSON) or reset_rate. |
| `UPSTASH_MCP_QSTASH_GET_STATS` | Qstash get stats | Gets usage statistics of a region's QStash user, which QStash and Workflow share. daily_requests has one point per day of the current month (y: QStash messages, workflow_message: the Workflow share of them, workflow_run: Workflow runs), as do daily_billings (cost) and daily_bandwidths; days still to come in the month are zeros. daily_qstash_messages (delivered, failed, retry, error, canceled, total) and daily_workflow_messages (success, failed, canceled, total) are today's running counts by outcome, sampled across `period` and reset at 00:00 UTC, so their last point is today so far. Also global parallelism over the period and the DLQ size. `service` keeps only one side's outcome series. With refresh, the API recomputes the cached figures first. |
| `UPSTASH_MCP_QSTASH_LIST_SCHEDULES` | Qstash list schedules | Lists QStash schedules in a region. |
| `UPSTASH_MCP_QSTASH_LIST_USERS` | Qstash list users | Lists the QStash users in the authorized account scope, one per region. Each region's REST tokens, and with `region` ("eu" or "us") that region's request signing keys ({ current, next }, fetched live), are included only when include_credentials is true and the connection is read-write; on a read-only connection they are omitted. The REST base URL for a region is https://qstash-.upstash.io (e.g. qstash-us-east-1.upstash.io). |
| `UPSTASH_MCP_QSTASH_MANAGE_SCHEDULE` | Qstash manage schedule | Manages a QStash schedule: create (destinationUrl + cron required), get, delete, pause or resume (scheduleId required). |
| `UPSTASH_MCP_QSTASH_PUBLISH_MESSAGE` | Qstash publish message | Publishes a message to a destination URL via QStash. No tokens needed — the region's QStash token is resolved server-side. |
| `UPSTASH_MCP_QSTASH_RESET_TOKEN` | Qstash reset token | Replaces a region's QStash token and read-only token without downtime, in two calls. QStash and Workflow share one QStash user per region, so every app publishing with QSTASH_TOKEN, and every Workflow client, needs the new token; the request signing keys are not changed. 1) Call without roll_to: resets nothing and returns the next token pair, which QStash already accepts alongside the current token (the same pair comes back until the roll). For Vercel marketplace users this also writes the next token to their Vercel env as QSTASH_TOKEN. 2) Once the user's apps run with next_token, call with roll_to set to it: that token becomes the current one and the old token stops working within seconds. If the roll fails, do not retry it: an earlier roll that timed out may have gone through (check with qstash_list_users and include_credentials: true), otherwise start over from step 1. Confirm with the user before rolling. |
| `UPSTASH_MCP_QSTASH_SET_BUDGET` | Qstash set budget | Sets the monthly spending cap of a region's pay-as-you-go QStash user; fixed plans have none. Once the month's cost reaches the cap the bill stops growing and the user is rate limited. 0 removes the cap. Changing the budget, including to 0, lifts an active rate limit right away. A non-zero cap must be above what the user has already cost this month, and setting the value it already has fails with "budget already set". The current cap is budget in qstash_list_users. QStash and Upstash Workflow share one QStash user per region, so this covers both. Prices: https://upstash.com/pricing/qstash.md (Workflow: https://upstash.com/pricing/workflow.md). Confirm the amount with the user before calling. |
| `UPSTASH_MCP_QSTASH_SET_PLAN` | 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 and Upstash Workflow share one QStash user per region, so this covers both. Prices: https://upstash.com/pricing/qstash.md (Workflow: https://upstash.com/pricing/workflow.md). On the pricing page "Pay as You Go" is payg, "Fixed 1M" is fixed_1m and "Fixed 10M" is fixed_10m. The current plan is type and reserved_type in qstash_list_users. The plan can change at most once an hour. This changes what the account is billed: tell the user the price from the pricing page and get their confirmation before calling. |
| `UPSTASH_MCP_QSTASH_SET_PROD_PACK` | 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. QStash and Upstash Workflow share one QStash user per region, so this covers both. Prices: https://upstash.com/pricing/qstash.md (Workflow: https://upstash.com/pricing/workflow.md). Only accounts with a payment method can enable it, and asking for the state it is already in fails with "Prod Pack is already enabled/disabled". This changes what the account is billed: tell the user the price from the pricing page and get their confirmation before calling. |
| `UPSTASH_MCP_REDIS_CHANGE_PLAN` | Redis change plan | Moves an Upstash Redis database to another plan: pay-as-you-go (billed per command) or a fixed monthly tier. Prices and limits: https://upstash.com/pricing/redis.md — its "Pay as You Go" is payg and "Fixed 250MB" … "Fixed 500GB" are fixed_250mb … fixed_500gb. The current plan is the database's type and reserved_type in redis_get_database. A branch is always pay-as-you-go and refuses this. A database cannot be moved back to the free plan, and the plan can change at most once every 5 minutes. prod_pack and auto_upgrade can be set in the same call. This changes what the account is billed: tell the user the price from the pricing page and get their confirmation before calling. |
| `UPSTASH_MCP_REDIS_CREATE_BACKUP` | Redis create backup | Creates a manual backup of an Upstash Redis database. |
| `UPSTASH_MCP_REDIS_CREATE_BRANCH` | 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. Later changes on either side stay separate, and a branch cannot be merged back. It returns right away with state "creating": poll redis_get_database with the returned database_id until state is "active" before using it, which usually takes seconds. If that lookup starts returning 404, creation failed and the branch was removed. A branch has a single replica and no read regions, and is billed as pay-as-you-go for its requests, storage and bandwidth whatever the source's plan (https://upstash.com/pricing/redis.md), so tell the user before copying a large database. Needs an account with a payment method and a global source database on a pay-as-you-go, fixed or enterprise plan; free, legacy Pro, IP-allowlisted, HIPAA, ephemeral, suspended and busy databases are refused. A branch can itself be branched. Use redis_delete_database to delete a branch and redis_rename_database to rename one. |
| `UPSTASH_MCP_REDIS_CREATE_DATABASE` | Redis create database | Creates a new Upstash Redis database and returns it. Its credentials (password and REST tokens) are included only when include_credentials is true — set it when the user is going to configure an app with the new database; they can also be fetched later with redis_get_database. Without plan the database is free or pay-as-you-go, depending on whether the account has a payment method. Plans and prices: https://upstash.com/pricing/redis.md; when the user picks a fixed tier, confirm its monthly price with them first. If the user says the database is for production, or asks for an uptime SLA, high availability, encryption at rest or SOC-2, tell them about Prod Pack (same page: a per-database monthly add-on for paid plans) and set prod_pack once they confirm its price; do not set it otherwise. |
| `UPSTASH_MCP_REDIS_DELETE_DATABASE` | Redis delete database | PERMANENTLY deletes an Upstash Redis database or branch and all of its data. This cannot be undone. A database that still has branches is refused until they are deleted; deleting a branch leaves its database untouched. Confirm the database name with the user before calling. When the client supports it, the server asks the user to type the name itself; otherwise the call needs confirm_name, set to the name the user confirmed, and without it nothing is deleted. |
| `UPSTASH_MCP_REDIS_GET_DATABASE` | Redis get database | Gets details of a single Upstash Redis database: endpoint, region, plan, limits and state. Credentials (password and REST tokens) are included only when include_credentials is true and the connection is read-write; on a read-only connection they are omitted (get them from the Upstash console). A database with Protect Credentials enabled (is_password_protected) has none to return. A branch has root_database_id (the database it belongs to) and source_database_id (the database or branch it was copied from, which may since have been deleted), and can only be looked up by its ID. When the result has prod_pack_suggestion, Upstash itself suggests Prod Pack for this database (its name, plan, cost or traffic says production): pass the reason, what the add-on includes and its price on to the user. |
| `UPSTASH_MCP_REDIS_GET_INSIGHTS` | 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). Also counters over the period (throttled commands, auth failures, over-size requests, undeliverable messages, Lua executions, failures, timeouts and memory-limit hits, REST commands, connections opened), each metric's mean now against the window before, and anomalies the backend detected (start, peak, baseline and change, heaviest first). Start with anomalies and counters when asked why a database is slow or failing. `metrics` trims the per-metric series, which are most of the response. Needs Prod Pack (or a Pro or Enterprise plan): without it the API answers 404 "insights require Prod Pack"; redis_set_prod_pack turns it on. |
| `UPSTASH_MCP_REDIS_GET_STATS` | 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. With refresh, the API recomputes the cached figures first. Commands reach these figures about two minutes after they run, and refresh does not shorten that; it only brings dailyrequests and the monthly totals up to what has been collected. So for a database created or used in the last few minutes, a count of 0 means not counted yet, not no traffic: tell the user the numbers trail by a couple of minutes and offer to check again, rather than reporting 0. |
| `UPSTASH_MCP_REDIS_GET_TRAFFIC` | 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. Lua command counts. Use it to find clients far from the database, or traffic served cross-region. Needs Prod Pack (or a Pro or Enterprise plan): without it the API answers 404 "insights require Prod Pack"; redis_set_prod_pack turns it on. |
| `UPSTASH_MCP_REDIS_LIST_BACKUPS` | Redis list backups | Lists backups of an Upstash Redis database. |
| `UPSTASH_MCP_REDIS_LIST_DATABASES` | Redis list databases | Lists all Upstash Redis databases in the authorized account scope. Never includes credentials — call redis_get_database with include_credentials for one database's. Branches are listed too: root_database_id is set on a branch and names the database it belongs to, so filter on it to find a database's branches. |
| `UPSTASH_MCP_REDIS_RENAME_DATABASE` | Redis rename database | Renames an Upstash Redis database or branch. A branch's name can use letters, numbers, hyphens, underscores and dots, starting and ending with a letter or number, and must be unique among the branches of its database. |
| `UPSTASH_MCP_REDIS_RESET_CREDENTIALS` | Redis reset credentials | Resets an Upstash Redis database's password and REST tokens (read-write and read-only). Every client still using the old ones fails from that moment, so the user has to update their apps' environment variables. Refused for HIPAA-compliant databases and for databases whose credentials are managed as Vercel Marketplace environment variables. Also refused for a database with Protect Credentials enabled: its new password is shown only once, which this tool never does, so it would be lost; reset it in the Upstash console. The new credentials are not in the result: fetch them with redis_get_database and include_credentials: true. Confirm with the user before calling. |
| `UPSTASH_MCP_REDIS_RUN_COMMAND` | Redis run command | Runs Redis commands directly on an Upstash Redis database over its REST API. No tokens needed — credentials are resolved server-side and never exposed. Not available for a database with Protect Credentials enabled (is_password_protected in redis_get_database): Upstash keeps no password for it. Each command is an array of strings, e.g. [["SET","key","value"],["GET","key"]]. One command runs directly; several run as a pipeline. Note for SCAN: reuse the returned cursor, and stop to ask the user if results get large. |
| `UPSTASH_MCP_REDIS_SET_AUTO_UPGRADE` | Redis set auto upgrade | Enables or disables automatic plan upgrade for an Upstash Redis database. |
| `UPSTASH_MCP_REDIS_SET_BUDGET` | Redis set budget | Sets the monthly spending cap of a pay-as-you-go Upstash Redis database; fixed plans have none. The month's bill never exceeds the cap. Below $1000 the database is also rate limited once the cap is reached; at $1000 and above it keeps serving at full speed. Email warnings go out at 70% and 90%. 0 removes the cap. Changing the budget, including to 0, lifts an active rate limit right away. A non-zero cap must be above what the database has already cost this month, and setting the value it already has fails with "budget already set". The current cap is budget in redis_get_database. How budgets work: https://upstash.com/pricing/redis.md. Confirm the amount with the user before calling. |
| `UPSTASH_MCP_REDIS_SET_DAILY_BACKUP` | Redis set daily backup | Turns automatic daily backups of an Upstash Redis database on or off. The first backup runs about 24 hours after turning them on; redis_list_backups lists them and redis_get_database shows daily_backup_enabled and next_daily_backup_time. Free databases cannot use backups, nor can suspended ones, databases managed through Fly, Heroku or DigitalOcean, or databases where support has disabled backups; the Finance team role cannot change it. Prod Pack includes daily backups, so they cannot be turned off while Prod Pack is on; HIPAA databases cannot turn them off either. Nothing is sent when backups are already in the requested state. |
| `UPSTASH_MCP_REDIS_SET_EVICTION` | Redis set eviction | Enables or disables key eviction for an Upstash Redis database. |
| `UPSTASH_MCP_REDIS_SET_LUA_STRICT_KEY_LOCKING` | Redis set lua strict key locking | Turns Lua strict key locking on or off for an Upstash Redis database. When on, every Lua script (EVAL, EVALSHA) and Redis function (FCALL, FCALL_RO) locks only the keys it declares (KEYS, or the FCALL key list), as if it set the allow-key-locking flag, so calls on different keys run in parallel instead of taking the global lock; this includes scripts queued in MULTI/EXEC and functions registered without the flag. A script or function then fails with an error if it uses a key that is not declared and shares no hash tag with a declared key, or if it calls FLUSHDB or FLUSHALL, so check existing scripts and functions before turning it on. Off is the default: scripts and functions without the flag take the global lock. Only global databases have this setting; regional ones are refused, and the Finance team role cannot change it. redis_get_database shows lua_key_locking: "strict" while it is on (absent means off). Docs: https://upstash.com/docs/redis/features/key-locking#lua-strict-key-locking |
| `UPSTASH_MCP_REDIS_SET_PROD_PACK` | 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. Price and the full feature list: https://upstash.com/pricing/redis.md. Only accounts with a payment method can enable it. Not available on a branch. This changes what the account is billed: tell the user the price from the pricing page and get their confirmation before calling. |
| `UPSTASH_MCP_REDIS_UPDATE_READ_REGIONS` | 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. Pass the full list (redis_get_database shows the current read_regions and primary_region); an empty list removes every read region. The primary region can't be a read region, a free database can have at most one, and the regions can change at most once every 30 minutes. Regional, HIPAA and Enterprise databases and branches are refused. Adding read regions costs more: on a fixed plan each one adds the plan's per-region price, and on pay-as-you-go every write is replicated to each read region and billed as another command, with storage counted in every region (https://upstash.com/pricing/redis.md). Confirm the regions and the cost with the user before calling. |
| `UPSTASH_MCP_SEARCH_QUERY` | Search query | Runs a full-text and semantic search over one named index of a Search database. No tokens needed. Payload per the Search REST API, e.g. {"query":"space odyssey","limit":5,"reranking":true}. |
| `UPSTASH_MCP_SEARCH_UPSERT` | Search upsert | Upserts documents into a named index of a Search database (server-side embedding), creating the named index if it does not exist. Payload e.g. [{"id":"movie-1","content":{"title":"Star Wars"},"metadata":{...}}]. |
| `UPSTASH_MCP_SUBMIT_FEEDBACK_TO_UPSTASH_TEAM` | 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. Use it only when the user asks to send feedback. The feedback goes to the Upstash team, not to the user's account. Do not include secrets, credentials, database contents or personal data. |
| `UPSTASH_MCP_UPSTASH_CONSOLE` | 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. Call it when the user asks to see, browse or open their Upstash resources rather than for a specific answer. To show one resource, pass product and resource (and a tab): the console opens on it, and the user can still navigate from there. |
| `UPSTASH_MCP_VECTOR_QUERY` | Vector query | Queries a Vector index by vector similarity. No tokens needed. Payload per the Vector REST API, e.g. {"vector":[...],"topK":10,"includeMetadata":true} — or with useData=true, {"data":"text to embed","topK":10} for embedding-model indexes. For a Search database use search_query instead. |
| `UPSTASH_MCP_VECTOR_UPSERT` | Vector upsert | Upserts vectors into a Vector index. Payload e.g. [{"id":"a","vector":[...],"metadata":{...}}] — or with useData=true, [{"id":"a","data":"text to embed"}]. For a Search database use search_upsert instead. |
| `UPSTASH_MCP_WORKFLOW_MANAGE_RUN` | Workflow manage run | Operates on a Workflow run. To inspect a run by ID (its state, steps and errors, whether it has finished or not), use logs_list with service workflow and workflowRunId instead. get_steps is the narrower view: the live step state of a run that is still in progress. For a run that has finished or been cancelled, get_steps falls back to that run's log entry and says so. cancel asks QStash to stop the run and is asynchronous: the run moves to RUN_CANCELED in logs_list (service workflow) after a short delay, and the cancel call itself does not confirm that a run with this ID existed. Check logs_list, not get_steps, to verify a cancel. |

## Supported Triggers

None listed.

## Troubleshooting

### 1. Why does Claude not use the Composio connector for Upstash?

The connector can show as connected, but Claude must use it in each Upstash conversation.
- Click + at the lower left of the chat, or type /.
- Hover Connectors.
- Turn on Composio.
- Ask Claude to connect to Upstash again.

### 2. Why does Claude show an MCP server error before Upstash connects?

Claude can show Couldn't reach the MCP server or Authorization with the MCP server failed when you add the connector for Upstash.
- Check that the connector URL is https://connect.composio.dev/mcp.
- Connectors run from Anthropic's cloud, so your device network is usually not the problem.
- Add the connector again from Customize > Connectors, then ask Claude to connect Upstash.
- If it fails again, send the error and the ofid_ reference id to support@composio.dev.

### 3. Why does the Upstash authorization link not work?

The Composio connector is one server. Your Upstash account connects separately when Claude asks for it.
- If the browser does not open, or the link expires, ask Claude to retry the Upstash connection.
- Composio creates a fresh Upstash authorization link.
- Open that link in your browser and finish the Upstash sign-in.

### 4. Why do Upstash actions fail after they worked before?

The Upstash connection can expire or lose permission.
- Ask Claude to inspect the Upstash connection.
- If the connection is unhealthy, disconnect it when Claude prompts you.
- Reconnect the Upstash account and retry the action.
- If Claude shows a permission prompt, approve it before Claude changes data in Upstash.
- If the action still fails with a permission error, check that the connected account has that permission in Upstash itself.

### 5. How do I switch to a different Upstash account?

Claude can manage the Upstash connection for you.
- Ask Claude to disconnect or delete the current Upstash account.
- Ask Claude to connect Upstash again.
- Open the new Composio authorization link for Upstash.
- Sign in with the other Upstash account in the browser.
- After the account connects, ask Claude to retry the Upstash task.

### 6. Why is my Upstash connection missing in Claude Desktop or on a Team plan?

The connector belongs to your Claude account, so your Upstash connection works in Claude Web, Desktop, and Cowork.
- In Claude Desktop, open Customize > Connectors.
- Next to Composio, click ⋮ and click Clear cache.
- If Upstash tools still do not appear, click ⋮, disconnect, remove the connector, and add it again.
- On Team or Enterprise, an Owner or Primary Owner must enable the connector before you can connect Upstash.

## Creating MCP Server - Stand-alone vs Composio SDK

The Upstash MCP server connects Claude Web, Desktop, and Cowork to your Upstash account through Composio. Once connected, Claude can use the available Upstash tools and triggers to complete tasks on your behalf.

## Complete Code

None listed.

## How to build Upstash MCP Agent with another framework

- [ChatGPT](https://composio.dev/toolkits/upstash_mcp/framework/chatgpt)

## Related Toolkits

- [Supabase](https://composio.dev/toolkits/supabase) - Supabase is an open-source backend platform offering scalable Postgres databases, authentication, storage, and real-time APIs. It lets developers build modern apps without managing infrastructure.
- [GitHub](https://composio.dev/toolkits/github) - GitHub is a code hosting platform for version control and collaborative software development. It streamlines project management, code review, and team workflows in one place.
- [21st MCP](https://composio.dev/toolkits/21st_mcp) - 21st MCP is a hosted design resource service for React/shadcn components, themes, templates, and SVG logos. It gives teams a fast way to discover, organize, and reuse polished interface assets.
- [Agent37](https://composio.dev/toolkits/agent37) - Agent37 is a control API for managed agent sandboxes, templates, networking, and execution. It gives teams built-in scheduling, observability, budgets, and workspace administration.
- [Aikido Security](https://composio.dev/toolkits/aikido) - Aikido Security is a security platform for workspace, code, cloud, and application protection. It helps teams find vulnerabilities, manage compliance, and reduce security risk.
- [Alchemy](https://composio.dev/toolkits/alchemy) - Alchemy is a blockchain development platform offering APIs and tools for Ethereum apps. It simplifies building and scaling Web3 projects with robust infrastructure.
- [Algolia](https://composio.dev/toolkits/algolia) - Algolia is a hosted search API that powers lightning-fast, relevant search experiences for web and mobile apps. It helps developers deliver instant, typo-tolerant, and scalable search without complex infrastructure.
- [Alpic MCP](https://composio.dev/toolkits/alpic_mcp) - Alpic MCP is a hosted MCP server platform for inspecting projects, deployments, analytics, and feedback. It gives teams a structured way to monitor and manage MCP server activity.
- [Anakin](https://composio.dev/toolkits/anakin_io) - Anakin is a web automation platform offering scraping, crawling, search, and browser automation. Use it to extract structured data, automate site tasks, and monitor web changes reliably.
- [Anchor browser](https://composio.dev/toolkits/anchor_browser) - Anchor browser is a developer platform for AI-powered web automation. It transforms complex browser actions into easy API endpoints for streamlined web interaction.
- [Anchor Browser MCP](https://composio.dev/toolkits/anchor_browser_mcp) - Anchor Browser MCP is a hosted browser automation service for running cloud browser sessions and web tasks. It provides secure, reusable browser identities and managed authentication for reliable agent workflows.
- [AnyAPI](https://composio.dev/toolkits/anyapi) - AnyAPI is a marketplace of utility APIs for validation, currency conversion, holidays, documents, and web data. It brings common application workflows together through one practical API platform.
- [Apiflash](https://composio.dev/toolkits/apiflash) - Apiflash is a website screenshot API for programmatically capturing web pages. It delivers high-quality screenshots on demand for automation, monitoring, or reporting.
- [Apiverve](https://composio.dev/toolkits/apiverve) - Apiverve delivers a suite of powerful APIs that simplify integration for developers. It's designed for reliability and scalability so you can build faster, smarter applications without the integration headache.
- [APIVerve MCP](https://composio.dev/toolkits/apiverve_mcp) - APIVerve MCP is a hosted utility API server for lookups, validation, conversion, and data enrichment. It gives developers one MCP connection to access APIVerve's utility APIs.
- [Appcircle](https://composio.dev/toolkits/appcircle) - Appcircle is an enterprise-grade mobile CI/CD platform for building, testing, and publishing mobile apps. It streamlines mobile DevOps so teams ship faster and with more confidence.
- [Appdrag](https://composio.dev/toolkits/appdrag) - Appdrag is a cloud platform for building websites, APIs, and databases with drag-and-drop tools and code editing. It accelerates development and iteration by combining hosting, database management, and low-code features in one place.
- [Appveyor](https://composio.dev/toolkits/appveyor) - AppVeyor is a cloud-based continuous integration service for building, testing, and deploying applications. It helps developers automate and streamline their software delivery pipelines.
- [Appwrite MCP](https://composio.dev/toolkits/appwrite_mcp) - Appwrite MCP is Appwrite's hosted MCP server for managing projects and platform APIs. It gives AI agents a secure, natural-language way to work with Appwrite services.
- [Arcjet MCP](https://composio.dev/toolkits/arcjet_mcp) - Arcjet MCP is a hosted security management server for inspecting Arcjet teams, sites, requests, and rules. It centralizes application security data and controls for faster investigation.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Upstash MCP?

With a standalone Upstash MCP server, the agents and LLMs can only access a fixed set of Upstash tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Upstash and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with Claude Cowork?

Yes, you can. Claude Cowork fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Upstash tools.

### Can I manage the permissions and scopes for Upstash while using Tool Router?

Yes, absolutely. You can configure which Upstash scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Upstash data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
