Trigger.dev v4.9.2

CLI commands accept environment API keys for CI use, `dev --branch` branch targeting fixes, MCP server improvements, and 11 server changes.

7 improvements and 11 server changes.

Improvements

  • CLI commands (dev, dev archive, env, runs, tasks trigger, webhooks secret, and report) now accept an environment API key in TRIGGER_ACCESS_TOKEN, so they can run without a personal login. Use a key with no restrictions from a Development environment for dev --branch and dev archive.
  • dev --branch now receives run notifications for the branch's runs and, if the CLI exits unexpectedly, cancels the branch's active runs. Previously both acted on the default dev environment instead of the branch.
  • MCP server: clearer project errors, a working --project-ref flag, and a hint when a tool argument is unknown.
  • MCP run tools now resolve a run's project and environment from its run ID.
  • MCP server: project data in tool output is marked as data, and very large outputs are truncated.
  • webhooks.constructEvent now accepts alert.raised webhooks (such as those sent by Limits alerts). Previously it threw a WebhookError for them.
  • The browser chat transport renews an expired token for Stop and for finding where a reply starts, so Stop still reaches the agent and the reply still streams.

Server changes

These changes are included in the v4.9.2 Docker image and are already live on Trigger.dev Cloud:

  • The Access page's tool confirmations are now a filterable list of switches.
  • Reduce database load while runs wait on and resume from waitpoints. Changes to the waitpoint and checkpoint store flags take effect 15 seconds after they are saved, controlled by RUN_ENGINE_STORE_FLAGS_GRACE_MS.
  • MCP analytics now counts refused tool calls as errors and reports their refusal kind. submit_feedback takes an optional type, and a missing_capability report is also sent as a missing-capability event.
  • The MCP list_tasks tool returns 50 tasks per page instead of 100.
  • The Personal Access Tokens page now has a Connection type column, and a warning icon next to a token's name explains where its MCP connection is blocked.
  • Webhook deliveries with large bodies settle faster: the delivery insert no longer reads the event back from the database.
  • Triggering a run does less database work.
  • Fix: the Concurrency limits page no longer shows the previous project's allocation after switching projects. Totals and inputs now update immediately without a page refresh.
  • A blocked MCP client stays blocked when it reconnects from another local port, and a client connecting under a different name or address counts as a new one. A blocked client is no longer removed by the unused-client cleanup.
  • MCP tools give shorter, more consistent, and more reliable answers. Deployment details, task lists, and project lists for large accounts now fit in one response, and list_projects can be narrowed by organization or search text. Run statuses are consistent across all tools, limits show their unit, and a mistyped period or cursor returns a hint instead of empty results. trigger_task refuses a task not in the current version, start_agent_chat refuses a non-existent agent, and an unusable project reference now explains how to find the right one. Run tags and long span details are handled more safely, and a run log download link re-checks access when used. The health report marks telemetry stale after 15 minutes of silence instead of 5.
  • Runs with proxy-only variables can now start even when the resolver's caller authentication is not configured on the service that starts attempts.

How to upgrade

Update the trigger.dev/* packages to v4.9.2 using your package manager:


npx trigger.dev@latest update # npm
pnpm dlx trigger.dev@latest update # pnpm
yarn dlx trigger.dev@latest update # yarn
bunx trigger.dev@latest update # bun

Self-hosted users: update your Docker image to ghcr.io/triggerdotdev/trigger.dev:v4.9.2.

Deploy your first agent today

Get set up in minutes, either on your own or with your coding assistant.

Start for free