Skip to content
Trigger.Dev logo

Trigger.Dev

Verified

Build and deploy durable AI agents and workflows in TypeScript.

MCP ServerCloud & DevOpsLocal (stdio) 15.3k
View on GitHub
Updated 2026-06-15

What is the Trigger.Dev MCP server?

Trigger.dev enables developers to build background tasks and AI agents using a familiar JavaScript/TypeScript SDK. It handles scheduling, batch triggering, concurrency controls, and automatic checkpointing for reliability across DEV, PREVIEW, STAGING, and PROD environments.

The platform supports custom build extensions for running browsers, Python, or FFmpeg, plus React hooks for frontend integration and structured schemas for validated inputs and outputs.

Install & connect

Set up this server, then add it to your MCP client.

Full setup instructions are in the GitHub repository.

Example prompts

Once connected, try asking your AI client:

Create a new Trigger.dev task that processes uploaded files with FFmpeg
Show me how to add a human approval waitpoint to my agent workflow
Trigger a batch of runs for my data enrichment task with custom payloads
Set up realtime streaming of LLM responses from a Trigger.dev run to my frontend

Security & permissions

Runs via stdio on the local machine and requires an API key from Trigger.dev for authentication. It can access local system packages and environment variables during task execution.

What you can do with Trigger.Dev

Long-running AI agents

Deploy agents that execute without timeouts, using retries, queues, and full tracing for complex multi-step LLM workflows.

Human-in-the-loop approvals

Pause tasks at waitpoints until a human reviews, approves, or provides feedback before resuming execution.

Scheduled data pipelines

Attach durable cron schedules up to a year long to recurring tasks with automatic retries and environment isolation.

How to use Trigger.Dev

  1. 1Install the @trigger.dev/sdk package via npm in your project.
  2. 2Define tasks using the SDK with schemas, schedules, or batch triggers.
  3. 3Run the Trigger.dev dev CLI to connect your local tasks to the platform.
  4. 4Deploy tasks to Trigger.dev cloud or self-hosted infrastructure.
  5. 5Monitor runs, set alerts, and integrate React hooks in your frontend.

Trigger.Dev: pros & cons

Pros

  • +True long-running execution without serverless timeouts
  • +Built-in durability, retries, and observability for AI workloads
  • +Flexible extensions for custom runtimes like browsers or Python
  • +Preview branches and multiple environments for safe testing

Cons

  • Requires learning the Trigger.dev task model and CLI
  • Self-hosting adds operational overhead for on-premise use
  • Primarily TypeScript-focused with limited native support for other languages
Did you find this helpful?

Frequently asked questions

Yes, tasks execute with no timeouts and use checkpointing for durability.

User reviews

Verified reviews from the community shape this listing's rating.

Loading reviews…

Sign in to review

Promote Trigger.Dev

Add this badge to your website, or share the tool.

DFeatured on DhanasviTrigger.Dev 1