Skip to content

playwright spatial layout mcp for VS Code

io.github.vola-trebla/playwright-spatial-layout-mcp

MCP server that gives AI agents geometric spatial awareness of web page layouts using Playwright

client:VS Code transport:stdio runtime:npm

Install playwright spatial layout mcp in VS Code

.vscode/mcp.json

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

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

playwright spatial layout mcp in other clients