Skip to content
VS Code

Playwright for VS Code

io.github.microsoft/playwright-mcp

Playwright Tools for MCP

client:VS Code transport:stdio runtime:npm tools:8

Install Playwright in VS Code

.vscode/mcp.json

{
  "servers": {
    "playwright-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@playwright/mcp"
      ]
    }
  }
}

Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs

What VS Code can do once it is connected

Playwright in other clients