What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Connect Chrome DevTools MCP to Codex with one command:
codex mcp add chrome-devtools -- npx chrome-devtools-mcp@latest
This registers a server named chrome-devtools and lets Codex discover Chrome browser and DevTools tools. You need the Codex CLI and Node.js’ npx command. The setup below covers the default fresh browser, connecting an existing Chrome session, security boundaries, configuration files and a smoke test.
What this connection does
Chrome DevTools for agents is a suite for AI coding workflows that includes a command-line interface, agent skills and an MCP server. MCP (Model Context Protocol) lets a client such as Codex discover tools and invoke them with structured input. The Chrome server can open pages, inspect live content, debug and modify the browser through DevTools capabilities. See the Chrome for Developers getting-started guide for the product overview and supported workflow.
By default, the server starts a new Chrome instance. That keeps your personal tabs and logged-in accounts separate. Connecting an existing session is possible, but it changes the security scope: the agent may be able to see that browser’s pages, cookies and account state.
#1 Best Overall
- Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
- Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
- Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
- Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
- 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
Prerequisites
- Codex CLI installed and available as
codexin your shell. - Node.js with
npxavailable on the same machine where Codex runs. - A desktop environment if you want to observe the browser window or approve Chrome’s connection prompt.
- Permission to install and run the
chrome-devtools-mcpnpm package.
No physical device or accessory is required. MCP is software configuration; the server and browser run in your development environment.
Install the Chrome MCP server in Codex
- Open a terminal in the environment where Codex is installed.
- Run the documented Codex command:
codex mcp add chrome-devtools -- npx chrome-devtools-mcp@latest - Start or restart Codex so it loads the newly registered server, if your current session does not refresh its MCP inventory automatically.
- Ask Codex to use Chrome DevTools. A useful first request is: “Check the performance of https://developers.chrome.com.”
The documented working check should open a browser window and record a performance trace. That is a smoke test for the connection, not a performance result for the site. The same URL and expected behavior are described in Chrome’s official setup documentation.
Choose how Codex connects to Chrome
There are three practical modes. The fresh-instance mode is the default; automatic and manual modes attach to an existing browser.
| Mode | Session sharing | Requirement | Best use |
|---|---|---|---|
| Fresh instance | None; a new Chrome is started | Basic installation only | General testing and safer isolation |
| Automatic connection | Existing Chrome session | Chrome 144 or newer, remote debugging enabled, permission approved | Working with the browser you already have open |
| Manual connection | Chrome launched with a debugging endpoint | Remote debugging, a dedicated profile and matching URL/port | Repeatable development or scripted environments |
Chrome documents both existing-session paths in its configuration guide. Version 144+ is specifically the requirement for automatic connection; it is not a general minimum version for the fresh-instance setup.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →Default: start a fresh browser
No additional flags are needed. The command registered in Codex is sufficient. Use this mode when the task does not require your personal tabs, saved cookies or corporate accounts. It is also the simplest way to troubleshoot an installation because fewer moving parts are involved.
Rank #2
- 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
- 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
- Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
- 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
- What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
Automatic connection to an existing Chrome (Chrome 144+)
- Open
chrome://inspect/#remote-debuggingin Chrome. - Enable remote debugging using the control shown there.
- Add the
--autoConnectargument to the MCP server configuration. - When Chrome displays its permission prompt, approve the connection only if you trust the Codex process and the task.
For a Codex TOML entry, the documented executable and arguments can be represented as:
[mcp_servers.chrome-devtools]
command = "npx"
args = ["-y", "chrome-devtools-mcp@latest", "--autoConnect"]
This is an adaptation of Chrome’s documented server arguments to Codex configuration. Check the current Codex configuration format if your installed release uses a different section name or syntax. Codex CLI and the Codex IDE extension share their configuration according to OpenAI’s configuration documentation.
Manual connection through a debugging URL
Manual mode gives you an explicit endpoint. Start Chrome with remote debugging enabled, a custom user-data directory and the port you intend to use. Chrome’s configuration guide provides launch examples for macOS, Windows and Linux; use its current platform-specific command rather than reusing a command for another operating system.
Then configure the server with the same endpoint:
[mcp_servers.chrome-devtools]
command = "npx"
args = ["-y", "chrome-devtools-mcp@latest", "--browser-url=http://127.0.0.1:9222"]
The port in --browser-url must match the port used when Chrome was launched. A custom profile is important: it prevents the debugging-enabled process from sharing your everyday profile’s data and makes it easy to close the entire test session when finished.
Where Codex stores the configuration
Codex can manage MCP servers through the CLI, as shown by the one-line install command, or through ~/.codex/config.toml. The CLI and IDE extension use that shared configuration. If you edit TOML manually, preserve the exact command and argument boundaries: npx is the executable, while -y, the package name and connection flag are separate arguments.
Rank #3
- Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
- Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
- Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
- Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
- What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
The ChromeDevTools project also publishes a client-configuration reference, including a Windows-specific note. Use it when your shell, path handling or client integration differs from the generic examples.
Verify the installation
- Run the install command and start Codex.
- Ask Codex:
Check the performance of https://developers.chrome.com. - Confirm that Chrome opens (or that the selected existing session is used).
- Confirm that a performance trace is recorded and returned to Codex.
If the browser opens but the request does not complete, ask Codex to list the available Chrome DevTools tools. An empty or missing tool list usually indicates that Codex did not load the server configuration; a browser that never launches points instead to Node, package or display-environment issues.
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteSecurity and session boundaries
Existing sessions are high-trust connections
Chrome warns that an agent connected to an authenticated browser can act on your behalf. The configuration guidance states that an existing session can expose logged-in accounts, cookies and other data. Treat the connection as access to the entire browser session, not merely to the public page you asked it to inspect.
- Prefer the fresh-instance mode for public-site checks.
- Use a separate Chrome profile for manual debugging.
- Close the debugging-enabled browser when the task ends.
- Do not approve an unexpected permission prompt.
- Avoid opening banking, administrative or production-control tabs in a connected profile.
Protect the manual debugging endpoint
Remote debugging creates an endpoint that applications on the machine can connect to while it is open. The project’s advanced-usage warning is why a dedicated profile, a local-only URL such as 127.0.0.1, and a short session are safer than exposing a debugging port broadly. Do not forward the port or bind it to an address reachable by untrusted machines.
Troubleshooting
codex: command not found
Codex CLI is not installed or is not on your PATH. Install or expose the CLI first, then rerun the MCP command in the same environment.
Rank #4
- Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
- Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
- Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
- Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
- Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
npx: command not found
Node.js is missing from the Codex environment, or its installation directory is not on PATH. Install Node.js, open a new shell, verify npx --version, and rerun the registration command.
Free tools Windows power users keep installed
One-click scans. No signup required.
Codex cannot see the server
Restart Codex after changing the server entry. If you edited TOML, check that the file is ~/.codex/config.toml, the section name matches your Codex version, and the package name is exactly chrome-devtools-mcp@latest. The CLI registration route avoids most TOML formatting errors.
Automatic connection never appears
Automatic connection requires Chrome 144 or newer. Verify the browser version, enable remote debugging at chrome://inspect/#remote-debugging, include --autoConnect, and approve the prompt. If any one of those steps is missing, use the fresh instance or manual mode.
Manual mode reports an unreachable browser
Check that Chrome is still running with remote debugging enabled, that the port is really 9222 (or change the URL to the port you chose), and that the address is http://127.0.0.1:9222. A stale process or a different profile can leave no usable endpoint; close it and relaunch with the documented platform command.
The browser launches, then the task fails
Some pages require a visible desktop, authentication, permissions or network access. Reproduce the task manually in the same profile, then retry with a simpler public URL. Do not solve a permissions problem by attaching Codex to your personal authenticated profile unless that exposure is intentional.
Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Fix the driver behind crashes, sound loss and screen glitches3Repair Windows errors before they cause bigger problemsBest Value
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
Operational guidance
Performance
Each request may involve browser startup, navigation, page scripts and DevTools tracing. Reusing a deliberately prepared manual session can avoid startup overhead, while the fresh instance offers cleaner isolation. For repeatable measurements, keep the browser version, profile state, network conditions and requested URL consistent.
Reliability
Use the documented smoke test after installation or configuration changes. Keep the MCP package invocation explicit, avoid leaving a debugging browser running indefinitely, and record whether a task used a fresh, automatic or manual session so later results are comparable.
Cost
The Chrome MCP setup itself is a local software configuration. The documentation reviewed does not state a separate Chrome DevTools MCP service fee or usage quota. Any infrastructure, browser or AI-service costs depend on your environment and account.
Or skip the browser setup
If your goal is simply a clean screenshot or PDF rather than interactive DevTools work, ScreenshotNeo provides a website screenshot API and MCP server. It removes cookie/consent banners, newsletter popups and chat widgets before capture; bot checks, blank pages, timeouts, failed loads and cache hits are not billed, and response headers identify the page verdict and billing result. Its MCP tools—take_screenshot, get_page_info and capture_pdf—work with Claude, Cursor and other MCP clients.
One-call example (see the ScreenshotNeo API documentation):
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
Python:
import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)
Node.js:
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
ScreenshotNeo supports PNG, JPEG, WebP and PDF output plus full-page and element capture, device presets, custom waits, CSS/JavaScript, headers, cookies, geolocation, blocking rules, caching, signed links, asynchronous webhooks, bulk capture and a usage API. Every feature is on every plan: 1,000 screenshots per month are free with no card; paid plans start at $5 for 3,000. Create a free ScreenshotNeo account.
Further documentation
- Chrome DevTools for agents: get started
- Chrome DevTools for agents: configuration
- OpenAI Docs MCP and shared Codex configuration
- OpenAI MCP server concepts
- ChromeDevTools client configurations
Frequently Asked Questions
Can I use Chrome MCP with Codex IDE as well as the CLI?
Yes. OpenAI’s documentation says the Codex CLI and IDE extension share the Codex configuration, so a server registered in the shared configuration can be available to both clients.
Does automatic connection work with every Chrome release?
No. The documented automatic existing-session flow requires Chrome 144 or newer. Older versions should use a fresh instance or the manual debugging-URL method.
Recommended Free Tools
Do I need to be logged in to Chrome?
No. Login is not required for a fresh browser or public pages. Logging in matters only when you intentionally connect an existing authenticated session, which exposes that session’s data and capabilities to the agent.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

