Skip to content

Commit 87414ed

Browse files
committed
fix asking about installing the MCP server after already answering
1 parent 56ab67d commit 87414ed

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/cli-v3/src/commands/dev.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ export async function devCommand(options: DevCommandOptions) {
8686
initialValue: true,
8787
});
8888

89+
writeConfigHasSeenMCPInstallPrompt(true);
90+
8991
const skipInstall = isCancel(installChoice) || !installChoice;
9092

9193
if (!skipInstall) {

packages/cli-v3/src/commands/init.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ async function _initCommand(dir: string, options: InitCommandOptions) {
133133
],
134134
});
135135

136+
writeConfigHasSeenMCPInstallPrompt(true);
137+
136138
const continueWithCLI = isCancel(installChoice) || installChoice === "cli";
137139

138140
if (!continueWithCLI) {

0 commit comments

Comments
 (0)