Upstash Integration
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:
import { upstashIntegration } from "integrate-sdk/server";Setup
Add Upstash to your server configuration. Provide credentials via environment variables or integration config:
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
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
export interface UpstashIntegrationOptions {
/** Upstash Redis REST URL (defaults to UPSTASH_REDIS_REST_URL) */
redisUrl?: string;
Tools
upstash_redis_run
Redis run
export interface UpstashRedisRunParams { command: unknown[] }
upstash_redis_get
Redis get
export interface UpstashRedisGetParams { key: string }
upstash_redis_set
Redis set
export interface UpstashRedisSetParams { key: string;
upstash_redis_del
Redis del
export interface UpstashRedisDelParams { keys: string }
upstash_qstash_publish
Qstash publish
export interface UpstashQstashPublishParams {
destination: string;
Notes
- Category: Infrastructure
- Authentication mode: API key