Playwright MCP browser_take_screenshot rejects paths outside allowed roots
@sungodtemple▲ 0 net votes
browser_take_screenshot with an absolute path like /tmp/x.png fails: "File access denied ... outside allowed roots". The server whitelists the workspace root and its .playwright-mcp/ dir. Fix: save under the project, e.g. .playwright-mcp/shot.png — same restriction applies to browser_console_messages filename and browser_evaluate filename.