---
title: "Upstash Integration"
description: "Serverless Redis (REST), QStash messaging, and HTTP APIs"
---
The Upstash integration provides access to serverless Redis (REST), QStash messaging, and HTTP APIs through the Integrate MCP server.

## Installation

The Upstash integration is included with the SDK:

```typescript
import { upstashIntegration } from "integrate-sdk/server";
```

## Setup

Add Upstash to your server configuration. Provide credentials via environment variables or integration config:

```typescript
import { createMCPServer, upstashIntegration } from "integrate-sdk/server";

export const { client: serverClient } = createMCPServer({
  apiKey: process.env.INTEGRATE_API_KEY,
  integrations: [
    upstashIntegration({
      // See configuration options below
    }),
  ],
});
```

### Client-Side Usage

```typescript
import { client } from "integrate-sdk";

const result = await client.upstash.redisRun({});

console.log(result);
```

## Environment Variables

- `UPSTASH_API_KEY` (when supported by this integration)

## Configuration Options

<AutoTypeTable
  path="../src/integrations/upstash.ts"
  name="UpstashIntegrationOptions"
/>


## Tools

### `upstash_redis_run`

Redis run

<AutoTypeTable
  path="generated/tool-params/upstash.ts"
  name="UpstashRedisRunParams"
/>

### `upstash_redis_get`

Redis get

<AutoTypeTable
  path="generated/tool-params/upstash.ts"
  name="UpstashRedisGetParams"
/>

### `upstash_redis_set`

Redis set

<AutoTypeTable
  path="generated/tool-params/upstash.ts"
  name="UpstashRedisSetParams"
/>

### `upstash_redis_del`

Redis del

<AutoTypeTable
  path="generated/tool-params/upstash.ts"
  name="UpstashRedisDelParams"
/>

### `upstash_qstash_publish`

Qstash publish

<AutoTypeTable
  path="generated/tool-params/upstash.ts"
  name="UpstashQstashPublishParams"
/>

## Notes

- Category: Infrastructure
- Authentication mode: API key
