@@ -51,6 +51,10 @@ The `install-mcp` command supports the following options:
51
51
- ` -a, --api-url <value> ` - Configure a custom Trigger.dev API URL
52
52
- ` -l, --log-level <level> ` - Set CLI log level (debug, info, log, warn, error, none)
53
53
54
+ ## Authentication
55
+
56
+ You can use the MCP server without authentication with the ` search_docs ` tool, but for any other tool call you will need to authenticate the MCP server via the same method as the [ Trigger.dev CLI] ( /cli-login-commands ) .The first time you attempt to use a tool that requires authentication, you will be prompted to authenticate the MCP server via the MCP client.
57
+
54
58
### Examples
55
59
56
60
Install for all supported clients:
@@ -75,19 +79,19 @@ npx trigger.dev@latest install-mcp --dev-only --project-ref proj_abc123
75
79
76
80
The Trigger.dev MCP Server supports the following clients:
77
81
78
- | Client | Configuration File | Documentation |
79
- | -------------------- | --------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
80
- | ** Claude Code** | ` ~/.claude.json ` or ` ./.mcp.json ` | [ Claude Code MCP Docs] ( https://docs.anthropic.com/en/docs/claude-code/mcp ) |
81
- | ** Cursor** | ` ~/.cursor/mcp.json ` or ` ./.cursor/mcp.json ` | [ Cursor MCP Docs] ( https://docs.cursor.com/features/mcp ) |
82
- | ** VSCode** | ` ~/Library/Application Support/Code/User/mcp.json ` or ` ./.vscode/mcp.json ` | [ VSCode MCP Docs] ( https://code.visualstudio.com/docs/copilot/chat/mcp-servers ) |
83
- | ** Zed** | ` ~/.config/zed/settings.json ` | [ Zed Context Servers Docs] ( https://zed.dev/docs/context-servers ) |
84
- | ** Windsurf** | ` ~/.codeium/windsurf/mcp_config.json ` | [ Windsurf MCP Docs] ( https://docs.codeium.com/windsurf/mcp ) |
85
- | ** Gemini CLI** | ` ~/.gemini/settings.json ` or ` ./.gemini/settings.json ` | [ Gemini CLI MCP Tutorial] ( https://medium.com/@joe.njenga/gemini-cli-mcp-tutorial-setup-commands-practical-use-step-by-step-example-b57f55db5f4a ) |
86
- | ** Charm Crush** | ` ~/.config/crush/crush.json ` or ` ./crush.json ` | [ Charm MCP Docs] ( https://github.com/charmbracelet/mcp ) |
87
- | ** Cline** | ` ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json ` | [ Cline MCP Docs] ( https://github.com/saoudrizwan/claude-dev#mcp ) |
88
- | ** OpenAI Codex CLI** | ` ~/.codex/config.toml ` | See OpenAI Codex CLI documentation for MCP configuration |
89
- | ** Sourcegraph AMP** | ` ~/.config/amp/settings.json ` | [ Sourcegraph AMP MCP Docs] ( https://docs.sourcegraph.com/amp/mcp ) |
90
- | ** opencode** | ` ~/.config/opencode/opencode.json ` or ` ./opencode.json ` | [ opencode MCP Docs] ( https://opencode.ai/docs/mcp-servers/ ) |
82
+ | Client | Scope Options | Configuration File | Documentation |
83
+ | -------------------- | -------------------- | -------------------- ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
84
+ | ** Claude Code** | user, project, local | ` ~/.claude.json ` or ` ./.mcp.json ` (project/local scope) | [ Claude Code MCP Docs] ( https://docs.anthropic.com/en/docs/claude-code/mcp ) |
85
+ | ** Cursor** | user, project | ` ~/.cursor/mcp.json ` (user) or ` ./.cursor/mcp.json ` (project) | [ Cursor MCP Docs] ( https://docs.cursor.com/features/mcp ) |
86
+ | ** VSCode** | user, project | ` ~/Library/Application Support/Code/User/mcp.json ` (user) or ` ./.vscode/mcp.json ` (project) | [ VSCode MCP Docs] ( https://code.visualstudio.com/docs/copilot/chat/mcp-servers ) |
87
+ | ** Zed** | user | ` ~/.config/zed/settings.json ` | [ Zed Context Servers Docs] ( https://zed.dev/docs/context-servers ) |
88
+ | ** Windsurf** | user | ` ~/.codeium/windsurf/mcp_config.json ` | [ Windsurf MCP Docs] ( https://docs.codeium.com/windsurf/mcp ) |
89
+ | ** Gemini CLI** | user, project | ` ~/.gemini/settings.json ` (user) or ` ./.gemini/settings.json ` (project) | [ Gemini CLI MCP Tutorial] ( https://medium.com/@joe.njenga/gemini-cli-mcp-tutorial-setup-commands-practical-use-step-by-step-example-b57f55db5f4a ) |
90
+ | ** Charm Crush** | user, project, local | ` ~/.config/crush/crush.json ` (user), ` ./crush.json ` (project), or ` ./.crush.json ` (local) | [ Charm MCP Docs] ( https://github.com/charmbracelet/mcp ) |
91
+ | ** Cline** | user | ` ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json ` | [ Cline MCP Docs] ( https://github.com/saoudrizwan/claude-dev#mcp ) |
92
+ | ** OpenAI Codex CLI** | user | ` ~/.codex/config.toml ` | See OpenAI Codex CLI documentation for MCP configuration |
93
+ | ** Sourcegraph AMP** | user | ` ~/.config/amp/settings.json ` | [ Sourcegraph AMP MCP Docs] ( https://docs.sourcegraph.com/amp/mcp ) |
94
+ | ** opencode** | user, project | ` ~/.config/opencode/opencode.json ` (user) or ` ./opencode.json ` (project) | [ opencode MCP Docs] ( https://opencode.ai/docs/mcp-servers/ ) |
91
95
92
96
## Manual Configuration
93
97
@@ -169,12 +173,14 @@ After installation, restart your MCP client and look for a server named "trigger
169
173
170
174
Once installed, you can start using the MCP server by asking your AI assistant questions like:
171
175
172
- - "Add trigger.dev to my project"
173
- - "List my Trigger.dev projects"
174
- - "Show me all tasks in my project"
175
- - "Trigger the email-notification task"
176
- - "How do I create a scheduled task in Trigger.dev?"
177
- - "Search Trigger.dev docs for webhook examples"
176
+ - ` "Search the trigger docs for a ffmpeg example" `
177
+ - ` "Initialize trigger.dev in my project" `
178
+ - ` "Get all tasks in my project" `
179
+ - ` "Trigger my foobar task with a sample payload" `
180
+ - ` "Get the details of the latest run for my foobar task" `
181
+ - ` "List all runs for my foobar task" `
182
+ - ` "Deploy my project to staging" `
183
+ - ` "Deploy my project to production" `
178
184
179
185
## Next Steps
180
186
0 commit comments