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
Copy file name to clipboardExpand all lines: README.md
+54-3Lines changed: 54 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,9 @@ Chrome DevTools for reliable automation, in-depth debugging, and performance ana
11
11
12
12
## Key features
13
13
14
+
-**Multi-session support**: Run multiple isolated Chrome instances simultaneously,
15
+
each identified by a unique `sessionId`. Perfect for parallel testing, A/B
16
+
comparisons, and multi-account workflows.
14
17
-**Get performance insights**: Uses [Chrome
15
18
DevTools](https://github.com/ChromeDevTools/devtools-frontend) to record
16
19
traces and extract actionable performance insights.
@@ -344,15 +347,22 @@ Check the performance of https://developers.chrome.com
344
347
345
348
Your MCP client should open the browser and record a performance trace.
346
349
350
+
> [!IMPORTANT]
351
+
> All tools require a `sessionId` parameter. You must call `create_session` first to obtain one. The returned `sessionId` must be passed to every subsequent tool call.
352
+
347
353
> [!NOTE]
348
-
> The MCP server will start the browser automatically once the MCP client uses a tool that requires a running browser instance. Connecting to the Chrome DevTools MCP server on its own will not automatically start the browser.
354
+
> Each session launches an isolated Chrome instance. Multiple sessions can run simultaneously for parallel testing. Use `list_sessions`to see active sessions and `close_session` to clean up when done.
349
355
350
356
## Tools
351
357
352
358
If you run into any issues, checkout our [troubleshooting guide](./docs/troubleshooting.md).
@@ -527,10 +537,51 @@ You can also run `npx chrome-devtools-mcp@latest --help` to see all available co
527
537
528
538
## Concepts
529
539
540
+
### Multi-session support
541
+
542
+
The Chrome DevTools MCP server supports running multiple Chrome browser sessions simultaneously. Each session is an isolated Chrome instance with its own pages, cookies, and state.
543
+
544
+
#### Workflow
545
+
546
+
1.**Create a session** — call `create_session` to launch a new Chrome instance. You receive a unique `sessionId`.
547
+
2.**Use tools** — pass the `sessionId` to every tool call (`click`, `navigate_page`, `take_screenshot`, etc.).
548
+
3.**Close the session** — call `close_session` when done to shut down the Chrome instance and free resources.
0 commit comments