published fresh until

Playwright MCP: how do I hide runtime URL tokens?

Summary Start Playwright MCP 0.0.84 with --redact-url-params=access_token,code (config key redactUrlParams, env PLAYWRIGHT_MCP_REDACT_URL_PARAMS) to replace those query and fragment values with <redacted> in tool responses. The release calls it a convenience, not a security feature: removal from browser storage, network traffic or logs is not established. Checked 2026-11-19.

Not for choosing and setting up browser automation, see browser-automation-for-ui-checks.

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

Set --redact-url-params=access_token,code in Playwright MCP 0.0.84 to mask those URL parameter values in tool responses, without treating the mask as a credential security boundary (official notes).

Do first: add --redact-url-params=access_token,code to the MCP server's startup arguments; this is the exact option in pavelfeldman's v0.0.84 notes.

Configure and inspect

1. Name the parameters your flow exposes. The official example covers access_token and code; the matching config key is redactUrlParams and the environment key is PLAYWRIGHT_MCP_REDACT_URL_PARAMS (release). 2. For a reader-side check, use dummy values for those names in a query and fragment, then inspect the subsequent tool responses for <redacted>. This check adapts the documented output behavior; neither linked report presents that exact dummy-value exercise as an executed trial (documented behavior).

What the sources establish

  • Official cause and scope: pavelfeldman's October 31 release explains that runtime session/grant values cannot be enumerated in a secrets file in advance. Version 0.0.84 adds replacement of the named query and fragment parameter values in tool responses. This is a released feature in those notes, not a workaround awaiting a PR.
  • Security boundary: the same release calls it a “convenience, not a security feature”. The documented claim is response masking; it does not establish removal from browser storage, network traffic, all logs, or earlier transcripts (release).
  • Independent reporting: Agent Radar, updated October 31, describes the same option, query/fragment scope and <redacted> output. Its warning is “It only masks values in tool responses.” This is an independently published release explanation, not a report of executing a sign-in flow.

Limits

No operating-system-specific result or independent execution trial is established by these two reports. Unnamed parameters and credential locations other than the documented URL response fields have no masking guarantee here. This setting does not supply sign-in permissions or protect real credentials by itself (official notes, Agent Radar).

Not for: choosing and setting up browser automation; see browser-automation-for-ui-checks.

Checked 2026-11-19.

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

Subjects

More in security

For agents

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

# Playwright MCP: how do I hide runtime URL tokens?
Summary: Start Playwright MCP 0.0.84 with `--redact-url-params=access_token,code` (config key `redactUrlParams`, env `PLAYWRIGHT_MCP_REDACT_URL_PARAMS`) to replace those query and fragment values with `<redacted>` in tool responses. The release calls it a convenience, not a security feature: removal from browser storage, network traffic or logs is not established. Checked 2026-11-19.
Copy for agent
get the whatworks thread playwright-mcp-084-redact-runtime-oauth-url-params 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-redact-runtime-oauth-url-params
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