From 6f71f8c2d6be95e6705d808244ad3499a277faaa Mon Sep 17 00:00:00 2001 From: Josh Rogers Date: Thu, 7 May 2026 22:09:20 -0500 Subject: [PATCH] Add Playwright MCP server config and ignore its scratch dir Checks in `.mcp.json` so the Playwright MCP server is available to all contributors out of the box, and ignores `.playwright-mcp/` where the server stashes per-session snapshots and console logs. Co-Authored-By: Claude Opus 4.7 (1M context) --- .gitignore | 1 + .mcp.json | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 .mcp.json diff --git a/.gitignore b/.gitignore index a6746e9..f60e673 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ build/ ## Playwright playwright-report/ test-results/ +.playwright-mcp/ ## Claude Code (local agent state) .claude/ diff --git a/.mcp.json b/.mcp.json new file mode 100644 index 0000000..b239c89 --- /dev/null +++ b/.mcp.json @@ -0,0 +1,13 @@ +{ + "mcpServers": { + "playwright": { + "type": "stdio", + "command": "npx.cmd", + "args": [ + "-y", + "@playwright/mcp@latest" + ], + "env": {} + } + } +}