Quick setup
We provide multiple tools to help AI coding assistants write correct Trigger.dev code. Use one or all of them for the best developer experience.Install the MCP Server
Give your AI assistant direct access to Trigger.dev tools — search docs, trigger tasks, deploy projects, and monitor runs. Works with Claude Code, Cursor, Windsurf, VS Code (Copilot), and Zed.Learn more →
Install Skills
Portable instruction sets that teach any AI coding assistant Trigger.dev best practices: writing tasks, realtime frontends, and Learn more →
chat.agent AI agents. They ship with the CLI, version-matched to your SDK, and install into Claude Code, Cursor, VS Code (Copilot), and Codex / AGENTS.md.Skills and the MCP server
Skills and the MCP server do different jobs and work best together. Here’s how they compare:| Skills | MCP Server | |
|---|---|---|
| What it does | Drops skill files into your project that teach Trigger.dev patterns | Runs a live server your AI connects to |
| Installs to | .claude/skills/, .cursor/skills/, .github/skills/, .agents/skills/ | mcp.json, ~/.claude.json, etc. |
| Updates | Re-run npx trigger.dev@latest skills, or auto-prompted on trigger dev | Always latest (uses @latest) |
| Best for | Teaching patterns and best practices | Live project interaction (deploy, trigger, monitor) |
| Works offline | Yes | No (calls Trigger.dev API) |
Project-level context snippet
If you prefer a lightweight/passive approach, paste the snippet below into a context file at the root of your project. Different AI tools read different files:| File | Read by |
|---|---|
CLAUDE.md | Claude Code |
AGENTS.md | OpenAI Codex, Jules, OpenCode |
.cursor/rules/*.md | Cursor |
.github/copilot-instructions.md | GitHub Copilot |
CONVENTIONS.md | Windsurf, Cline, and others |
Copy the snippet
Copy the snippet
llms.txt
We also publish machine-readable documentation for LLM consumption:- trigger.dev/docs/llms.txt — concise overview
- trigger.dev/docs/llms-full.txt — full documentation
Troubleshooting
AI keeps generating old v2/v3 code
AI keeps generating old v2/v3 code
Install Skills; they override the outdated patterns in the AI’s training data. The context snippet above is a quick alternative.
MCP server won't connect
MCP server won't connect
- Make sure you’ve restarted your AI client after adding the config
- Run
npx trigger.dev@latest install-mcpagain — it will detect and fix common issues - Check that
npx trigger.dev@latest mcpruns without errors in your terminal - See the MCP introduction for client-specific config details
Which tool should I install?
Which tool should I install?
Both if possible:
- Skills to teach your AI how to write Trigger.dev code (tasks, realtime, chat.agent)
- MCP Server if you need to trigger tasks, deploy, and search docs from your AI
Next steps
MCP Server
Install and configure the MCP Server for live project interaction.
Skills
Install Trigger.dev agent skills into any AI coding assistant.
Writing tasks
Learn the task patterns your AI assistant will follow.

