What the MCP Server can do
- Search the Trigger.dev documentation
- Initialize Trigger.dev in a new project
- List projects, organizations, and tasks
- Trigger task runs with custom payloads
- Deploy projects to dev, staging, or production
- Fetch run details and list runs with status filters
Installation
The fastest way to get started is the interactive installer, which detects your installed AI clients and configures them automatically:--yolo to install into all detected clients at once:
Client configuration
If you prefer to configure manually, copy the snippet for your client below.- Claude Code
- Cursor
- Windsurf
- VS Code
- Zed
- Cline
- Gemini CLI
- opencode
- Codex CLI
~/.claude.json (user) or .mcp.json (project):Authentication
Thesearch_docs tool works without any authentication. All other tools require you to be logged in via the Trigger.dev CLI:
Getting started prompts
Once the server is connected, try these prompts in your AI assistant:"Search the Trigger.dev docs for an ffmpeg example""Initialize Trigger.dev in my project""List all tasks in my project""Trigger my send-email task with a sample payload""Get the details of the latest run for my process-video task""Deploy my project to staging"
Advanced options
Theinstall-mcp command supports several options for fine-grained control:
Example: restrict to dev environment for a specific project:
args array:
Troubleshooting
- Run
npx trigger.dev@latest install-mcpagain — it detects and fixes common configuration issues. - Verify the server starts without errors by running
npx trigger.dev@latest mcpin your terminal. - Make sure you have restarted the AI client after editing its config file.
- Check that
nodeandnpxare on yourPATH(some clients use a restricted environment).
Next steps
Building with AI
Tools and patterns for writing Trigger.dev code with AI assistants.
Quickstart
Get started with Trigger.dev and run your first task in minutes.