Skip to content

Headed version on Linux #465

@nfedyashev

Description

@nfedyashev

I'm Linux/Debian user and currently trying to find a way to run playwright-mcp in headed mode. I can navigate URLs, make screenshots but never see the actual browser in real time.

What I've tried:

  1. searching through "headed" github issues

"mcpServers": {
    "playwright": {
      "command": "npx",
      "args": [
        "@playwright/mcp@latest",
        "--browser", "chrome",
        "--executable-path", "/usr/bin/google-chrome"
      ],
      "verbose": true
    }
}
  1. --config playwright_config.json with the following content
{                                                                       
  "browser": {
    "launchOptions": {
      "channel": "chrome",
      "headless": false
    }
  }
}
  1. I've tried closing all Chrome instances and starting Claude Desktop

all 4 show the same result.

Playwright logs contain:

Initializing server...
Server started and connected successfully
(no errors/warnings)

Any hints on how this can be fixed are greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions