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.1
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 →
2
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 →
3
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:
Our recommendation: Install all three. Skills and Agent Rules teach your AI how to write code. The MCP Server lets it do things in your project.
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:
Create the file that matches your AI tool (or multiple files if your team uses different tools) and paste the snippet below. This gives the AI essential Trigger.dev context without installing anything.
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
Next steps
MCP Server
Install and configure the MCP Server for live project interaction.
Skills
Portable instruction sets for any AI coding assistant.
Agent Rules
Comprehensive rule sets installed into your AI client.
Writing tasks
Learn the task patterns your AI assistant will follow.

