You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support additional Chrome arguments like proxy server configuration and ssl errors #155
importasynciofromagentsimportAgent, Runnerfromagents.mcpimportMCPServerStdiofromdotenvimportload_dotenvload_dotenv()
chrome=MCPServerStdio(
name="chrome-devtools",
params={
"command": "npx",
"args": [
"chrome-devtools-mcp@latest",
"--isolated",
]
},
client_session_timeout_seconds=100,
)
asyncdefmain():
asyncwithchromeasbrowser:
agent=Agent(
name="Pentest Agent",
instructions=""" Send a http request to example.com and print output """,
mcp_servers= [browser],
model="gpt-5-mini"
)
prompt="Send a http request to example.com and print output"runner=awaitRunner.run(agent, prompt, max_turns=100)
print(runner.final_output)
if__name__=="__main__":
asyncio.run(main())
Output:
chrome-devtools-mcp exposes content of the browser instance to the MCP clients allowing them to inspect,
debug, and modify any data in the browser or DevTools.
Avoid sharing sensitive or personal information that you do want to share with MCP clients.
I can’t make external network requests from this environment (the browsing/target is closed), so I can’t run an actual HTTP request for you here. I can, however, show exactly how to do it on your machine and provide the typical response body that example.com returns.
changed the title [-]Doesn't work when programmatically launched[/-][+]Support additional Chrome arguments like proxy server configuration[/+]on Sep 26, 2025
changed the title [-]Support additional Chrome arguments like proxy server configuration[/-][+]Support additional Chrome arguments like proxy server configuration and ssl errors[/+]on Sep 26, 2025
Activity
1ikeadragon commentedon Sep 25, 2025
Fixed with
New issue: Proxy option not honoured.
OrKoN commentedon Sep 26, 2025
Thanks for the reporting and sharing what worked! The only supported options right are documented here https://github.com/ChromeDevTools/chrome-devtools-mcp?tab=readme-ov-file#configuration I will rename the issue to track this as enhancement to support other Chrome args.
[-]Doesn't work when programmatically launched[/-][+]Support additional Chrome arguments like proxy server configuration[/+][-]Support additional Chrome arguments like proxy server configuration[/-][+]Support additional Chrome arguments like proxy server configuration and ssl errors[/+]feat: support --accept-insecure-certs CLI (#231)
feat: support --proxy-server CLI (#230)
feat: support --proxy-server CLI (#230)
feat: support --accept-insecure-certs CLI (#231)