Deploy MCP Server
Database & Messaging Bearer Token

Upstash REST API

Serverless data for Redis and Kafka with per-request pricing

Upstash provides serverless Redis and Kafka with a REST API, designed for edge computing and serverless applications. It offers per-request pricing, global replication, and low-latency access. Developers use Upstash to add caching, rate limiting, session management, and event streaming to serverless functions without managing infrastructure.

Base URL https://api.upstash.com

API Endpoints

MethodEndpointDescription
GET/v2/redis/databasesList all Redis databases in your account
POST/v2/redis/databaseCreate a new Redis database with specified region and configuration
GET/v2/redis/database/:idGet details of a specific Redis database by ID
DELETE/v2/redis/database/:idDelete a Redis database permanently
POST/v2/redis/database/:id/statsGet usage statistics for a Redis database including commands and storage
GET/v2/kafka/clustersList all Kafka clusters in your account
POST/v2/kafka/clusterCreate a new Kafka cluster with region and configuration
GET/v2/kafka/cluster/:idGet details of a specific Kafka cluster by ID
DELETE/v2/kafka/cluster/:idDelete a Kafka cluster permanently
GET/v2/kafka/topic/:clusterIdList all topics in a Kafka cluster
POST/v2/kafka/topic/:clusterIdCreate a new Kafka topic with partitions and retention settings
DELETE/v2/kafka/topic/:clusterId/:topicNameDelete a Kafka topic from a cluster
POST/v2/qstash/v2/publish/:destinationPublish a message to QStash for delayed or scheduled delivery
GET/v2/qstash/v2/messagesList messages in QStash queue with filtering options
POST/v2/redis/reset/:idReset Redis database credentials and regenerate access tokens

Code Examples

# List all Redis databases
curl https://api.upstash.com/v2/redis/databases \
  -H "Authorization: Bearer YOUR_API_KEY"

# Create a new Redis database
curl -X POST https://api.upstash.com/v2/redis/database \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "my-redis-db",
    "region": "us-east-1",
    "tls": true,
    "multizone": true
  }'

Connect Upstash to AI

Deploy a Upstash MCP server on IOX Cloud and connect it to Claude, ChatGPT, Cursor, or any AI client. Your AI assistant gets direct access to Upstash through these tools:

create_redis_database Create a new serverless Redis database in a specified region with automatic scaling and replication
query_redis_stats Retrieve usage statistics and performance metrics for Redis databases including request counts and storage usage
manage_kafka_topics Create, list, and delete Kafka topics with partition and retention configuration
publish_qstash_message Publish messages to QStash for scheduled or delayed delivery to HTTP endpoints with retry logic
monitor_database_health Check health status and availability of Redis and Kafka instances across regions

Deploy in 60 seconds

Describe what you need, AI generates the code, and IOX deploys it globally.

Deploy Upstash MCP Server →

Related APIs