Skip to main content

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.

llms.txt

We also publish machine-readable documentation for LLM consumption: These follow the llms.txt standard and can be fed directly into any LLM context window.

Troubleshooting

Install Agent Rules or Skills — they override the outdated patterns in the AI’s training data. The context snippet above is a quick alternative.
  1. Make sure you’ve restarted your AI client after adding the config
  2. Run npx trigger.dev@latest install-mcp again — it will detect and fix common issues
  3. Check that npx trigger.dev@latest mcp runs without errors in your terminal
  4. See the MCP introduction for client-specific config details
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.