Skip to content

Commit ab59db8

Browse files
committed
Install mcp using the latest tag, not the specific version
1 parent a6b672a commit ab59db8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/cli-v3/src/commands/install-mcp.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import {
1515
} from "../utilities/fileSystem.js";
1616
import { printStandloneInitialBanner } from "../utilities/initialBanner.js";
1717
import { VERSION } from "../version.js";
18-
import { spinner } from "../utilities/windows.js";
1918

2019
const cliVersion = VERSION as string;
2120
const cliTag = cliVersion.includes("v4-beta") ? "v4-beta" : "latest";
@@ -113,7 +112,7 @@ type ResolvedClients = SupportedClients | "unsupported";
113112

114113
const InstallMcpCommandOptions = z.object({
115114
projectRef: z.string().optional(),
116-
tag: z.string().default(cliVersion),
115+
tag: z.string().default(cliTag),
117116
devOnly: z.boolean().optional(),
118117
yolo: z.boolean().default(false),
119118
scope: z.enum(scopes).optional(),

0 commit comments

Comments
 (0)