Skip to content

Commit a59c635

Browse files
committed
chore: add via CLI flag
1 parent 109bf43 commit a59c635

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/cli.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,11 @@ 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: 'Set by Chrome DevTools CLI if the MCP server is started via the CLI client (this arg exists for usage stats)',
253+
hidden: true,
254+
}
250255
} satisfies Record<string, YargsOptions>;
251256

252257
export type ParsedArguments = ReturnType<typeof parseArguments>;

0 commit comments

Comments
 (0)