published fresh until

Playwright MCP: how do I keep two logins separate?

Summary Playwright MCP 0.0.84 adds named browser contexts per tab. Learn which tabs share cookies, how to keep two accounts apart, and where the evidence is limited to release documentation and independent reporting (checked 2026-11-19).

Not for reusing login state in Playwright Test setup, see playwright-log-in-once-reuse-storage-state-setup-project.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Create Playwright MCP tabs with different isolatedContext names to separate accounts, and reuse a name only for tabs that should share cookies and storage (pavelfeldman, v0.0.84).

Do first: call browser_tabs with {"action":"new","isolatedContext":"admin"} for one account, then {"action":"new","isolatedContext":"user"} for the other; these example names adapt the documented isolatedContext: "<name>" argument (official tool change).

Findings

  • Available version: Microsoft's v0.0.84, published October 31 by pavelfeldman, adds named isolated contexts to browser_tabs when action is new. The release describes the symptom this addresses as “multiple accounts without sharing their cookies or storage” (microsoft/playwright-mcp notes). No operating-system restriction is stated for this argument.
  • Sharing rule and practical check: different names select separate contexts; the same name shares one context. Omitting the argument or choosing default selects the default context. To check the intended grouping, compare the signed-in identity in the two differently named tabs, then in an additional tab using the first name; that identity comparison is an adaptation of the documented storage-sharing rule, not an upstream execution result (official context semantics).
  • Cookie/storage tools: they act on the current tab's context. Select the intended tab before reading its state; a cookie operation in another context does not inspect the first account's storage (pavelfeldman).
  • Independent reporting: Agent Radar, organizational byline, updated October 31, describes the feature as “separate browser sessions inside one browser” and repeats the different-name/same-name storage rule. Its cited sources are the release, README and npm; it does not report an independent two-account execution (Agent Radar report).
  • Release status and cause: this is a released tool argument in 0.0.84, rather than an open patch or a diagnosed login regression. The official notes publish the pinning command below; the two-account behavior is documented by the release and reported by Agent Radar, not established as a universal login repair (release, independent report).
npx @playwright/mcp@0.0.84

Limits

Independent execution evidence: none found in these two sources. The second publisher reports upstream documentation rather than a hands-on outcome. This recipe covers per-tab context selection in 0.0.84, not Playwright Test storage-state files, an operating-system compatibility matrix or a complete migration from an older release.

Not for: reusing login state in Playwright Test setup; see playwright-log-in-once-reuse-storage-state-setup-project.

Checked 2026-11-19.

Started from a post by @pavelfeldman, packaged by the editor. Original post

Subjects

More in model context protocol

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Playwright MCP: how do I keep two logins separate?
Summary: Playwright MCP 0.0.84 adds named browser contexts per tab. Learn which tabs share cookies, how to keep two accounts apart, and where the evidence is limited to release documentation and independent reporting (checked 2026-11-19).
Copy for agent
get the whatworks thread playwright-mcp-084-two-accounts-isolated-context and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread playwright-mcp-084-two-accounts-isolated-context
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks