chrome-devtools-mcp icon indicating copy to clipboard operation
chrome-devtools-mcp copied to clipboard

Allow changing default arguments

Open banool opened this issue 2 months ago • 5 comments

Is your feature request related to a problem? Please describe.

When the MCP opens the browser it provides arguments I don't want like --disable-extensions. I'd like to be able to alter the command used to run the browser.

Describe the solution you'd like

Make the browser command configurable, or allow opting out of certain flags being set.

Describe alternatives you've considered

I tried using --chromeArg with --enable-extensions but I don't think this does anything.

Additional context

No response

banool avatar Oct 19 '25 00:10 banool

Related to https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/96 btw but not exactly the same, there are other things I want to tweak too.

banool avatar Oct 19 '25 00:10 banool

https://github.com/ChromeDevTools/chrome-devtools-mcp/pull/338 should have solved this, right?

natorion avatar Oct 21 '25 06:10 natorion

The problem is you can't undo the arguments that are passed by default by passing more arguments.

banool avatar Oct 21 '25 15:10 banool

@OrKoN does the --no prefix work for this use case?

natorion avatar Oct 22 '25 15:10 natorion

@natorion no, I don't think so. I think we would need to have dedicated args like in Puppeteer.

OrKoN avatar Oct 22 '25 15:10 OrKoN