diff --git a/README.md b/README.md index 93a2519bb..4149e57f3 100644 --- a/README.md +++ b/README.md @@ -189,8 +189,8 @@ You can also run `npx chrome-devtools-mcp@latest --help` to see all available co `chrome-devtools-mcp` starts a Chrome's stable channel instance using the following user data directory: -- Linux / MacOS: `$HOME/.cache/chrome-devtools-mcp/mcp-profile-$CHANNEL` -- Window: `%HOMEPATH%/.cache/chrome-devtools-mcp/mcp-profile-$CHANNEL` +- Linux / MacOS: `$HOME/.cache/chrome-devtools-mcp/chrome-profile-$CHANNEL` +- Window: `%HOMEPATH%/.cache/chrome-devtools-mcp/chrome-profile-$CHANNEL` The user data directory is not cleared between runs and shared across all instances of `chrome-devtools-mcp`. Set the `isolated` option to `true` diff --git a/src/browser.ts b/src/browser.ts index f400fd767..09527fcac 100644 --- a/src/browser.ts +++ b/src/browser.ts @@ -66,7 +66,9 @@ type McpLaunchOptions = { export async function launch(options: McpLaunchOptions): Promise { const {channel, executablePath, customDevTools, headless, isolated} = options; const profileDirName = - channel && channel !== 'stable' ? `mcp-profile-${channel}` : 'mcp-profile'; + channel && channel !== 'stable' + ? `chrome-profile-${channel}` + : 'chrome-profile'; let userDataDir = options.userDataDir; if (!isolated && !userDataDir) {