mirror of
https://github.com/ChromeDevTools/chrome-devtools-mcp.git
synced 2026-09-28 11:22:57 +08:00
docs: update page routing option name (#2748)
The concurrent sessions guide documented a removed option. Update it to the current page routing option, explain that routing is enabled by default, and document the selected-page-only opt-out. Tests: npm run check-format.
This commit is contained in:
@@ -3,21 +3,17 @@
|
||||
## Concurrent sessions
|
||||
|
||||
Most MCP clients start one Chrome DevTools MCP server per conversation. If your
|
||||
client shares a single server instance across concurrent agents or subagents,
|
||||
start the server with `--experimentalPageIdRouting`. This exposes `pageId` on
|
||||
page-scoped tools so each agent can route tool calls to the tab it is working
|
||||
with.
|
||||
client shares a single server instance across concurrent sessions, page ID
|
||||
routing is enabled by default. This exposes `pageId` on page-scoped tools so
|
||||
each session can route tool calls to the tab it is working with. Use
|
||||
`--no-page-id-routing` to restore selected-page-only routing.
|
||||
|
||||
```json
|
||||
{
|
||||
"mcpServers": {
|
||||
"chrome-devtools": {
|
||||
"command": "npx",
|
||||
"args": [
|
||||
"-y",
|
||||
"chrome-devtools-mcp@latest",
|
||||
"--experimentalPageIdRouting"
|
||||
]
|
||||
"args": ["-y", "chrome-devtools-mcp@latest"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user