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. Works with Claude Code, Cursor, Windsurf, VS Code (Copilot), and any tool that supports the Agent Skills standard.Learn more →
Install Agent Rules
Comprehensive rule sets installed directly into your AI client’s config files. Works with Cursor, Claude Code, VS Code (Copilot), Windsurf, Gemini CLI, Cline, and more. Claude Code also gets a dedicated subagent for hands-on help.Learn more →
Skills vs Agent Rules vs MCP
Not sure which tool to use? Here’s how they compare:| Skills | Agent Rules | MCP Server | |
|---|---|---|---|
| What it does | Drops skill files into your project | Installs rule sets into client config | Runs a live server your AI connects to |
| Installs to | .claude/skills/, .cursor/skills/, etc. | .cursor/rules/, CLAUDE.md, AGENTS.md, etc. | mcp.json, ~/.claude.json, etc. |
| Updates | Re-run npx skills add | Re-run npx trigger.dev@latest install-rules or auto-prompted on trigger dev | Always latest (uses @latest) |
| Best for | Teaching patterns and best practices | Comprehensive code generation guidance | Live project interaction (deploy, trigger, monitor) |
| Works offline | Yes | 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 Agent Rules or 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?
All three if possible. If you can only pick one:
- Agent Rules if you want the broadest code generation improvement
- Skills if you use multiple AI tools and want a single install
- MCP Server if you need to trigger tasks, deploy, and search docs from your AI

