Trigger.dev Jobs MCP Server
Published · Updated
At a glance
- Category
- Code & Git
- GitHub repository
- triggerdotdev/trigger.dev
- Watch out for
- Without --dev-only and --readonly, the agent can deploy and trigger runs in production.
Trigger.dev's MCP server is part of the Trigger.dev CLI, so it lives in the main triggerdotdev/trigger.dev repository and runs with npx trigger.dev@latest mcp. Trigger.dev is a platform for background jobs and AI workflows in TypeScript, and the server lets an agent work with your projects directly.
It covers the development loop around tasks. The agent can search Trigger.dev's documentation, initialise new projects, list projects and organisations, get information about tasks and trigger runs, deploy to different environments, monitor run details and list runs with filters, and query data with TRQL or pull built-in dashboard metrics. Named tools include search_docs, deploy, trigger_task, cancel_run, dev_server_status and stop_dev_server.
Three options make it safe to hand to an agent. --project-ref scopes it to a single project, --dev-only restricts it to the development environment, and --readonly hides write tools such as deploy, trigger_task and cancel_run. Note that --readonly is only available when you add it to the config by hand; the interactive installer does not set it. search_docs and the local tools list_profiles, dev_server_status and stop_dev_server work without logging in. The rest prompt you to log in through the Trigger.dev CLI the first time you use them.
How it connects
Your AI app
An assistant or agent that supports MCP
Trigger.dev Jobs MCP Server
Runs as
- npx (Node.js)
Gives the agent
- Docs and setup
- Tasks and runs
- Deploys
- Data and metrics
- Scoping
Trigger.dev
The data or system the tools act on
What it can do
- Docs and setup
- search_docs searches the documentation, and the agent can initialise a new Trigger.dev project.
- Tasks and runs
- Get task information, trigger_task to start runs, cancel_run, and monitor run details with filters.
- Deploys
- deploy deploys a project to a chosen environment.
- Data and metrics
- Query data with TRQL and fetch built-in dashboard metrics.
- Scoping
- --project-ref, --dev-only and --readonly limit the project, environment and write access.
Setting it up
Run npx trigger.dev@latest install-mcp, which detects your clients and configures them; target specific ones with --client claude-code cursor and choose the config location with --scope user, project or local. To set it up by hand, use the command npx with the arguments trigger.dev@latest mcp, and add --project-ref, --dev-only or --readonly as needed. Restart your client afterwards. The first time you use a tool that needs your account, the client prompts you to log in through the Trigger.dev CLI.
Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)
Where it helps
- Triggering a test run of a task while developing it
- Finding why recent runs of a task failed
- Deploying a project to the staging environment
- Looking up how a Trigger.dev feature works in the docs
Limitations and things to watch
- Without --dev-only and --readonly, the agent can deploy and trigger runs in production.
- --readonly must be added to the config manually.
- Triggered runs do real work and may use credits.
- Most tools need a logged-in Trigger.dev CLI session, and a login expires after 7 days without use.
Sources
Written from the project's own documentation, checked November 2026.
- github.com /triggerdotdev/trigger.dev
- trigger.dev /docs/mcp-introduction
- trigger.dev /docs/mcp-tools
- trigger.dev /docs/cli-login-commands
How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.