Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/cli-v3/src/mcp/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ export class McpContext {
return options.projectRef;
}

if (this.options.projectRef) {
return this.options.projectRef;
}
Comment on lines +149 to +151

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Missing changeset for MCP fix

The getProjectRef fix changes published CLI behavior, but the PR contains no changeset. Release requirements require one for user-facing package fixes, leaving this fix outside the changeset release plan.

Learn more

The published trigger.dev package uses Changesets for package releases. This PR fixes MCP tools failing when a startup project reference is provided without a local config, which meets the user-facing fix criteria. No changeset is included in the diff.

Example: A user running trigger.dev mcp --project-ref proj_example outside a configured project can now use project tools, but no release entry communicates that fix.

Recommended fix: Add a changeset with "trigger.dev": patch and a user-facing sentence explaining that MCP tools now honor --project-ref without requiring a local project config.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.


const projectDir = await this.getProjectDir({ cwd: options.cwd });

if (!projectDir.ok) {
Expand Down