Skip to content

Commit baa80f9

Browse files
authored
chore: add via CLI flag (#1086)
This is used for usage stats.
1 parent 109bf43 commit baa80f9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/cli.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,12 @@ export const cliOptions = {
247247
describe:
248248
'Exposes a "slim" set of 3 tools covering navigation, script execution and screenshots only. Useful for basic browser tasks.',
249249
},
250+
viaCli: {
251+
type: 'boolean',
252+
describe:
253+
'Set by Chrome DevTools CLI if the MCP server is started via the CLI client (this arg exists for usage stats)',
254+
hidden: true,
255+
},
250256
} satisfies Record<string, YargsOptions>;
251257

252258
export type ParsedArguments = ReturnType<typeof parseArguments>;

0 commit comments

Comments
 (0)