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) <noreply@anthropic.com>
This commit is contained in:
Josh Rogers
2026-05-07 22:09:20 -05:00
parent 88c24b03ca
commit 6f71f8c2d6
2 changed files with 14 additions and 0 deletions
+1
View File
@@ -13,6 +13,7 @@ build/
## Playwright
playwright-report/
test-results/
.playwright-mcp/
## Claude Code (local agent state)
.claude/
+13
View File
@@ -0,0 +1,13 @@
{
"mcpServers": {
"playwright": {
"type": "stdio",
"command": "npx.cmd",
"args": [
"-y",
"@playwright/mcp@latest"
],
"env": {}
}
}
}