QStash integration
Serverless message queue and task scheduling by Upstash. Reliable HTTP-based message delivery, scheduled jobs, and background task processing. Perfect for serverless and edge runtimes with built-in retries and dead letter queues.
Say what should happen.
The workflow builds itself.
Common QStash use cases
- Pause during maintenance
- Resume after maintenance
- View all queues
- Check queue status
- Stop recurring job
- View all schedules
- Increase throughput
- Remove unused queue
- Send background job
- Bulk message sending
What you can do with QStash
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Queue, 7 operations
delete_queueDelete queueDELETEDeletes a queue and all its pending messages.enqueue_messageEnqueue messagePOSTEnqueues a message for FIFO (first-in-first-out) ordered delivery.get_queueGet queueGETRetrieves configuration and status of a queue.list_queuesList queuesGETRetrieves all queues in the QStash account.pause_queuePause queuePOSTPauses a queue, temporarily halting all message deliveries.resume_queueResume queuePOSTResumes a paused queue to continue message deliveries.update_queueUpdate queuePOSTUpdates queue configuration including parallelism level.
Schedule, 6 operations
delete_scheduleDelete scheduleDELETEDeletes a scheduled message, stopping all future executions.get_scheduleGet scheduleGETRetrieves details of a specific scheduled message.list_schedulesList schedulesGETRetrieves all active scheduled messages.pause_schedulePause schedulePOSTPauses a schedule, temporarily stopping executions.resume_scheduleResume schedulePOSTResumes a paused schedule to continue executions.schedule_messageSchedule messagePOSTCreates a recurring scheduled message using cron syntax.
Message, 5 operations
batch_publishBatch publishPOSTPublishes multiple messages in a single API call.bulk_cancel_messagesBulk cancel messagesDELETECancels multiple pending messages in bulk, optionally filtered by queue or schedule.cancel_messageCancel messageDELETECancels a pending message before delivery.get_messageGet messageGETRetrieves details and status of a specific message.publish_messagePublish messagePOSTPublishes a message to be delivered to a destination URL with configurable retries.
Dlq, 3 operations
delete_dlq_messageDelete dlq messageDELETERemoves a message from the dead letter queue.get_dlq_messageGet dlq messageGETRetrieves details of a specific dead letter queue message.list_dlq_messagesList dlq messagesGETRetrieves messages that failed all delivery attempts.
Use QStash from Claude Code, Cursor or Codex
Connect QStash in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its QStash operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect QStash
- Create your workspace
Sign up free. Nothing to install.
- Connect QStash once
Add your QStash connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
QStash integration FAQ
What can you do with the QStash integration?
LiveContext exposes 21 operations on QStash, covering queue, schedule, message and dlq. Common uses include Pause during maintenance, Resume after maintenance and View all queues.
