{"_id":"playwright-report-mcp","_rev":"19-325431d19c30aee46ab68df01adbad9f","name":"playwright-report-mcp","dist-tags":{"latest":"3.4.0"},"versions":{"1.0.0":{"name":"playwright-report-mcp","version":"1.0.0","keywords":["playwright","mcp","model-context-protocol","testing","test-results","ai","llm"],"license":"MIT","_id":"playwright-report-mcp@1.0.0","maintainers":[{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"}],"homepage":"https://github.com/hubertgajewski/playwright-report-mcp#readme","bugs":{"url":"https://github.com/hubertgajewski/playwright-report-mcp/issues"},"dist":{"shasum":"ece393ac71b400c0aa3c110da6256356d31cde1f","tarball":"https://registry.npmjs.org/playwright-report-mcp/-/playwright-report-mcp-1.0.0.tgz","fileCount":4,"integrity":"sha512-/WxbLEUbmW9s2IEoMmwsm25JuZHR+FE+3bzz0JXU5xkEQs6Ws02F/HoHZ3lQ3x9sHpaO31eT99/FsTgIfpgzsw==","signatures":[{"sig":"MEYCIQDv+Uo33QM55y8PuByB5bop044I5TZyIXfdMAGLSx6/ggIhAMjP7ZePrgumpIUtW1HrT4o3gaB6JE6z1+6jb25/oGJ2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21761},"main":"dist/index.js","type":"module","engines":{"node":">=18"},"gitHead":"c572c6ed24d7f38ecf90da0038026457e089b116","scripts":{"test":"vitest run","build":"tsc","start":"node dist/index.js","test:watch":"vitest"},"_npmUser":{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"},"repository":{"url":"git+https://github.com/hubertgajewski/playwright-report-mcp.git","type":"git"},"_npmVersion":"11.10.1","description":"MCP server for running Playwright tests and reading structured results — designed for AI agents doing test failure analysis","directories":{},"_nodeVersion":"25.7.0","dependencies":{"zod":"^4.0.0","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.1","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/playwright-report-mcp_1.0.0_1774436278958_0.5241816949503264","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"playwright-report-mcp","version":"1.0.1","keywords":["playwright","mcp","model-context-protocol","testing","test-results","ai","llm"],"license":"MIT","_id":"playwright-report-mcp@1.0.1","maintainers":[{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"}],"homepage":"https://github.com/hubertgajewski/playwright-report-mcp#readme","bugs":{"url":"https://github.com/hubertgajewski/playwright-report-mcp/issues"},"bin":{"playwright-report-mcp":"dist/index.js"},"dist":{"shasum":"603529d092050258c9bdceda85234b368686b6d6","tarball":"https://registry.npmjs.org/playwright-report-mcp/-/playwright-report-mcp-1.0.1.tgz","fileCount":4,"integrity":"sha512-RX5iNz3uS/C7B+/XkHA2tXhCtnUbQfvdakJLGV4i9UfgtERS7nrj7gpohsXGLilSjS4NK1AH0y0nbAIqqxp81w==","signatures":[{"sig":"MEQCIGyxvnT2r1mkb5qEnBwUOkdzXvoHtX59rlqTu94AevPHAiAO6yLnwMmlHG54zGFnhuim1ZEYyM42pQTqYu39yEBT3g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21807},"main":"dist/index.js","type":"module","engines":{"node":">=18"},"gitHead":"b2147dc2ad20430556e347924143dc769cfdeaf0","scripts":{"test":"vitest run","build":"tsc","start":"node dist/index.js","test:watch":"vitest"},"_npmUser":{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"},"repository":{"url":"git+https://github.com/hubertgajewski/playwright-report-mcp.git","type":"git"},"_npmVersion":"11.10.1","description":"MCP server for running Playwright tests and reading structured results — designed for AI agents doing test failure analysis","directories":{},"_nodeVersion":"25.7.0","dependencies":{"zod":"^4.0.0","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.1","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/playwright-report-mcp_1.0.1_1774437174324_0.34236328541519945","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"playwright-report-mcp","version":"1.0.2","keywords":["playwright","mcp","model-context-protocol","testing","test-results","ai","llm"],"license":"MIT","_id":"playwright-report-mcp@1.0.2","maintainers":[{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"}],"homepage":"https://github.com/hubertgajewski/playwright-report-mcp#readme","bugs":{"url":"https://github.com/hubertgajewski/playwright-report-mcp/issues"},"bin":{"playwright-report-mcp":"dist/index.js"},"dist":{"shasum":"48e4f487d3e74f2c54cc211ae91f76f73379e579","tarball":"https://registry.npmjs.org/playwright-report-mcp/-/playwright-report-mcp-1.0.2.tgz","fileCount":4,"integrity":"sha512-WWzj3UaXWcmn0I60KA5ug1OkM1oLu/YOYd8U6Jh80FR5L8DJf4V8KppS3hC4pAxz8jFtHhy4B6lojG6Xq2hs+Q==","signatures":[{"sig":"MEQCIClJD4yTdlDRqksNcxmzVKRcnP371lBSvqp95mXPr/0ZAiBnx9+D4icKN0FYFpS38qEiBUM6xybnglm2KOkd/l+1Jw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21870},"main":"dist/index.js","type":"module","engines":{"node":">=18"},"gitHead":"53f9be0697041dbc1818ff3568976b16b6f20202","mcpName":"io.github.hubertgajewski/playwright-report-mcp","scripts":{"test":"vitest run","build":"tsc","start":"node dist/index.js","test:watch":"vitest"},"_npmUser":{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"},"repository":{"url":"git+https://github.com/hubertgajewski/playwright-report-mcp.git","type":"git"},"_npmVersion":"11.10.1","description":"MCP server for running Playwright tests and reading structured results — designed for AI agents doing test failure analysis","directories":{},"_nodeVersion":"25.7.0","dependencies":{"zod":"^4.0.0","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.1","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/playwright-report-mcp_1.0.2_1774439354537_0.9264804175121215","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"playwright-report-mcp","version":"1.0.3","keywords":["playwright","mcp","model-context-protocol","testing","test-results","ai","llm"],"license":"MIT","_id":"playwright-report-mcp@1.0.3","maintainers":[{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"}],"homepage":"https://github.com/hubertgajewski/playwright-report-mcp#readme","bugs":{"url":"https://github.com/hubertgajewski/playwright-report-mcp/issues"},"bin":{"playwright-report-mcp":"dist/index.js"},"dist":{"shasum":"393ecfbab6c711edb417d83637ee54d0eb0c79a5","tarball":"https://registry.npmjs.org/playwright-report-mcp/-/playwright-report-mcp-1.0.3.tgz","fileCount":4,"integrity":"sha512-liWZHBdYtlq/WERMEuI8Qi6llsTl3F2mohBpWFJKTFlXJT+mVUhCn0VUF0f3qP7eE7UrbA7z8ymG7R6kE4nFbA==","signatures":[{"sig":"MEUCIDopx6soUTBJN4bJMG5piv2IIkmGZ0D6UYhC9jXpAllRAiEAuZJd7yPbXd3LcLgyvNtx+y0gy0aO5dtVjILmaWguRXg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21898},"main":"dist/index.js","type":"module","engines":{"node":">=18"},"gitHead":"dc3e2e0674e4a6550dbb9f51d1196bb5f42b18ad","mcpName":"io.github.hubertgajewski/playwright-report-mcp","scripts":{"test":"vitest run","build":"tsc","start":"node dist/index.js","test:watch":"vitest"},"_npmUser":{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"},"repository":{"url":"git+https://github.com/hubertgajewski/playwright-report-mcp.git","type":"git"},"_npmVersion":"11.10.1","description":"MCP server for running Playwright tests and reading structured results — designed for AI agents doing test failure analysis","directories":{},"_nodeVersion":"25.7.0","dependencies":{"zod":"^4.0.0","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.1","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/playwright-report-mcp_1.0.3_1774451311434_0.3928403434575185","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"playwright-report-mcp","version":"1.0.4","keywords":["playwright","mcp","model-context-protocol","testing","test-results","ai","llm"],"license":"MIT","_id":"playwright-report-mcp@1.0.4","maintainers":[{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"}],"homepage":"https://github.com/hubertgajewski/playwright-report-mcp#readme","bugs":{"url":"https://github.com/hubertgajewski/playwright-report-mcp/issues"},"bin":{"playwright-report-mcp":"dist/index.js"},"dist":{"shasum":"0414c967ca5406e718e06d7f391a1672406201e5","tarball":"https://registry.npmjs.org/playwright-report-mcp/-/playwright-report-mcp-1.0.4.tgz","fileCount":4,"integrity":"sha512-QRBHG/2xYdqq+dsHXcvsK2LbC3AYgC7AhYs7NTpuQ2afk6FjcSwIBOAYnqMS40WlHkvJWiZ8s8cMSFMqw6d2lA==","signatures":[{"sig":"MEQCIFlEljrG/tC6eUrWfUTxRirJvU91D/dAS72fN8WjN7TPAiAJxXaO9w5YfkbPSI9UnolPVvWIty4CAyVGckjRLTdB1g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21898},"main":"dist/index.js","type":"module","engines":{"node":">=18"},"gitHead":"d3add7488ce3fbde7d9aff70f0a3e0a4a2e61d2e","mcpName":"io.github.hubertgajewski/playwright-report-mcp","scripts":{"test":"vitest run","build":"tsc","start":"node dist/index.js","test:watch":"vitest"},"_npmUser":{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"},"repository":{"url":"git+https://github.com/hubertgajewski/playwright-report-mcp.git","type":"git"},"_npmVersion":"11.10.1","description":"MCP server for running Playwright tests and reading structured results — designed for AI agents doing test failure analysis","directories":{},"_nodeVersion":"25.7.0","dependencies":{"zod":"^4.0.0","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.1","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/playwright-report-mcp_1.0.4_1774459682786_0.5485852924354249","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"playwright-report-mcp","version":"2.0.0","keywords":["playwright","mcp","model-context-protocol","testing","test-results","ai","llm"],"license":"MIT","_id":"playwright-report-mcp@2.0.0","maintainers":[{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"}],"homepage":"https://github.com/hubertgajewski/playwright-report-mcp#readme","bugs":{"url":"https://github.com/hubertgajewski/playwright-report-mcp/issues"},"bin":{"playwright-report-mcp":"dist/index.js"},"dist":{"shasum":"35bfc2adebbb20db353b508ff687e98d3acb8498","tarball":"https://registry.npmjs.org/playwright-report-mcp/-/playwright-report-mcp-2.0.0.tgz","fileCount":4,"integrity":"sha512-bEecf7LV3Qvb+gi979eg3yPvmZJHHXV1Iw6kRg3+9yp8M9soTgAHGrIUEj6zLaN4Y07kq5IInJxujMeEa+YI+A==","signatures":[{"sig":"MEYCIQDMQLURTlqnbU3vZIQL3cF7fhoZzTnzxadgM+IWKxD1qgIhAPXyfhud0+tap7Ny7vXAL6lRIg4XPM0Bt+FNkh47n/2k","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/playwright-report-mcp@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":30575},"main":"dist/index.js","type":"module","engines":{"node":">=22"},"gitHead":"c309d0fb5d0916b8a6a17a4a6a136b5fe7f41290","mcpName":"io.github.hubertgajewski/playwright-report-mcp","scripts":{"test":"vitest run","build":"tsc","start":"node dist/index.js","format":"prettier --write \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore","test:e2e":"npm ci --prefix test/fixtures/pw-project && vitest run --config vitest.e2e.config.ts","test:watch":"vitest","format:check":"prettier --check \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore"},"_npmUser":{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"},"repository":{"url":"git+https://github.com/hubertgajewski/playwright-report-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"MCP server for running Playwright tests and reading structured results — designed for AI agents doing test failure analysis","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^4.0.0","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.1","prettier":"^3","typescript":"^6.0.2","@types/node":"^22","@vitest/coverage-v8":"^4.1.4"},"_npmOperationalInternal":{"tmp":"tmp/playwright-report-mcp_2.0.0_1776496936088_0.45389756617899035","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"playwright-report-mcp","version":"2.0.1","keywords":["playwright","mcp","model-context-protocol","testing","test-results","ai","llm"],"license":"MIT","_id":"playwright-report-mcp@2.0.1","maintainers":[{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"}],"homepage":"https://github.com/hubertgajewski/playwright-report-mcp#readme","bugs":{"url":"https://github.com/hubertgajewski/playwright-report-mcp/issues"},"bin":{"playwright-report-mcp":"dist/index.js"},"dist":{"shasum":"2112b0371463db348a662d1375ba58c15df6fc16","tarball":"https://registry.npmjs.org/playwright-report-mcp/-/playwright-report-mcp-2.0.1.tgz","fileCount":4,"integrity":"sha512-59IlgXCTNjyYWffCUoSO6IJg7LMILRrNaZstZoai1/lSDEQxmB8srydJlCE5w8DgUJoNhl3gH0sBuFad1NBl+g==","signatures":[{"sig":"MEUCIQCRQCSNWCF5e4COtQpGKErgUO0qoDugCedFup4yanH3eAIgdMD/P+ndKlkOQMI7+iDOYQTssyjkOjd42ftz2Iezyog=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/playwright-report-mcp@2.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":31239},"main":"dist/index.js","type":"module","engines":{"node":">=22"},"gitHead":"4d08fcb65b43f9554b10b7e018f9887c36f1d683","mcpName":"io.github.hubertgajewski/playwright-report-mcp","scripts":{"test":"vitest run","build":"tsc","start":"node dist/index.js","format":"prettier --write \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore","test:e2e":"npm ci --prefix test/fixtures/pw-project && vitest run --config vitest.e2e.config.ts","test:watch":"vitest","format:check":"prettier --check \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f07b9b41-1333-4259-9e31-0281f1fd3a2e"}},"repository":{"url":"git+https://github.com/hubertgajewski/playwright-report-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"MCP server for running Playwright tests and reading structured results — designed for AI agents doing test failure analysis","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^4.0.0","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.1","prettier":"^3","typescript":"^6.0.2","@types/node":"^22","@vitest/coverage-v8":"^4.1.4"},"_npmOperationalInternal":{"tmp":"tmp/playwright-report-mcp_2.0.1_1776501036915_0.839852339790514","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"playwright-report-mcp","version":"2.0.2","keywords":["playwright","mcp","model-context-protocol","testing","test-results","ai","llm"],"license":"MIT","_id":"playwright-report-mcp@2.0.2","maintainers":[{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"}],"homepage":"https://github.com/hubertgajewski/playwright-report-mcp#readme","bugs":{"url":"https://github.com/hubertgajewski/playwright-report-mcp/issues"},"bin":{"playwright-report-mcp":"dist/index.js"},"dist":{"shasum":"5896bccc4e85adb5f4ef5dcb5f0bec65283417e5","tarball":"https://registry.npmjs.org/playwright-report-mcp/-/playwright-report-mcp-2.0.2.tgz","fileCount":4,"integrity":"sha512-jiPQGawQHpZv/jt6Dfc7LPBLcnjkgetMa1sTC0h7ynnNFmIKXrFwlHhHRyPrJhLR6/wuSSDauhP98ELX/0M+1w==","signatures":[{"sig":"MEUCIEiB3a9JdvSTEDuJ4RlTvVNRWIIHMc3u7YMp8bysfqfjAiEAz12l5zuLxz1XK9lQ+NAEnEJd2JG1cFOtKnjfGPY2RNc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/playwright-report-mcp@2.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":32252},"main":"dist/index.js","type":"module","engines":{"node":">=22"},"gitHead":"98d80bc60864f514dcc18c3d83d2c2a83f8c3ce0","mcpName":"io.github.hubertgajewski/playwright-report-mcp","scripts":{"test":"vitest run","build":"tsc","start":"node dist/index.js","format":"prettier --write \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore","test:e2e":"npm ci --prefix test/fixtures/pw-project && vitest run --config vitest.e2e.config.ts","test:watch":"vitest","format:check":"prettier --check \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f07b9b41-1333-4259-9e31-0281f1fd3a2e"}},"repository":{"url":"git+https://github.com/hubertgajewski/playwright-report-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"MCP server for running Playwright tests and reading structured results — designed for AI agents doing test failure analysis","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^4.0.0","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.1","prettier":"^3","typescript":"^6.0.2","@types/node":"^22","@vitest/coverage-v8":"^4.1.4"},"_npmOperationalInternal":{"tmp":"tmp/playwright-report-mcp_2.0.2_1776515348226_0.6685825106149723","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"playwright-report-mcp","version":"3.0.0","keywords":["playwright","mcp","model-context-protocol","testing","test-results","ai","llm"],"license":"MIT","_id":"playwright-report-mcp@3.0.0","maintainers":[{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"}],"homepage":"https://github.com/hubertgajewski/playwright-report-mcp#readme","bugs":{"url":"https://github.com/hubertgajewski/playwright-report-mcp/issues"},"bin":{"playwright-report-mcp":"dist/index.js"},"dist":{"shasum":"eaeadaacfb89881b383635ad204f6743d71be47b","tarball":"https://registry.npmjs.org/playwright-report-mcp/-/playwright-report-mcp-3.0.0.tgz","fileCount":4,"integrity":"sha512-tJibw+HMYqxRbjL3i419m9gA+e23uhoHg81IqSErRG7Qae2afk44fbh8yN5XUKnBfOm/YpEI4fjEyTcn+owKYA==","signatures":[{"sig":"MEUCIQCBSEqmPi9tyZznHHZ4hVIbSQpD8ION0VzeEnNl01S6qAIgSxLCCmAByh+RA6QIw24ZhDdCZHHVV7bA+YQfNnNSQ+c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/playwright-report-mcp@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":42898},"main":"dist/index.js","type":"module","engines":{"node":">=22"},"gitHead":"bf928e8407925e580ae257ad4b040589c24681d9","mcpName":"io.github.hubertgajewski/playwright-report-mcp","scripts":{"test":"vitest run","build":"tsc","start":"node dist/index.js","format":"prettier --write \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore","test:e2e":"npm ci --prefix test/fixtures/pw-project && vitest run --config vitest.e2e.config.ts","test:watch":"vitest","format:check":"prettier --check \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f07b9b41-1333-4259-9e31-0281f1fd3a2e"}},"repository":{"url":"git+https://github.com/hubertgajewski/playwright-report-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"MCP server for running Playwright tests and reading structured results — designed for AI agents doing test failure analysis","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^4.0.0","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.1","prettier":"^3","typescript":"^6.0.2","@types/node":"^22","@vitest/coverage-v8":"^4.1.4"},"_npmOperationalInternal":{"tmp":"tmp/playwright-report-mcp_3.0.0_1776698140029_0.37616949723092974","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"playwright-report-mcp","version":"3.1.0","keywords":["playwright","mcp","model-context-protocol","testing","test-results","ai","llm"],"license":"MIT","_id":"playwright-report-mcp@3.1.0","maintainers":[{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"}],"homepage":"https://github.com/hubertgajewski/playwright-report-mcp#readme","bugs":{"url":"https://github.com/hubertgajewski/playwright-report-mcp/issues"},"bin":{"playwright-report-mcp":"dist/index.js"},"dist":{"shasum":"f6da5bc88482beb99536bfe866a252948e0a4732","tarball":"https://registry.npmjs.org/playwright-report-mcp/-/playwright-report-mcp-3.1.0.tgz","fileCount":4,"integrity":"sha512-Rlr4DjiT5NTMqi7+rO24v+3wshIVeorCgXazdmBPcwgd+hulHpVBCZM5WqBx67Tk887R4zYnIXYxVJ1YY3Q6eA==","signatures":[{"sig":"MEUCIQCEztAqNYaZjgbaMoI9syPP41y0mrV/Imr57qrO9zyKpwIgHaaFg8oJb9UCZ2Zyosh6q/I/CLYAJZiTgnzoA3GYt/Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/playwright-report-mcp@3.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":46655},"main":"dist/index.js","type":"module","engines":{"node":">=22"},"gitHead":"c8a81a17f2919ccc1243780217b34ca2ad9c25b1","mcpName":"io.github.hubertgajewski/playwright-report-mcp","scripts":{"test":"vitest run","build":"tsc","start":"node dist/index.js","format":"prettier --write \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore","test:e2e":"npm ci --prefix test/fixtures/pw-project && vitest run --config vitest.e2e.config.ts","test:watch":"vitest","format:check":"prettier --check \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f07b9b41-1333-4259-9e31-0281f1fd3a2e"}},"repository":{"url":"git+https://github.com/hubertgajewski/playwright-report-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"MCP server for running Playwright tests and reading structured results — designed for AI agents doing test failure analysis","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^4.0.0","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.1","prettier":"^3","typescript":"^6.0.2","@types/node":"^22","@vitest/coverage-v8":"^4.1.4"},"_npmOperationalInternal":{"tmp":"tmp/playwright-report-mcp_3.1.0_1777035578964_0.8564916659996304","host":"s3://npm-registry-packages-npm-production"}},"3.1.1":{"name":"playwright-report-mcp","version":"3.1.1","keywords":["playwright","mcp","model-context-protocol","testing","test-results","ai","llm"],"license":"MIT","_id":"playwright-report-mcp@3.1.1","maintainers":[{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"}],"homepage":"https://github.com/hubertgajewski/playwright-report-mcp#readme","bugs":{"url":"https://github.com/hubertgajewski/playwright-report-mcp/issues"},"bin":{"playwright-report-mcp":"dist/index.js"},"dist":{"shasum":"dee1aac308b05286405e20db16c64c2dfe8c8b5a","tarball":"https://registry.npmjs.org/playwright-report-mcp/-/playwright-report-mcp-3.1.1.tgz","fileCount":4,"integrity":"sha512-zNIx1u6JChha3HYR9QHNUc0CfayySMrjDvWcaZwyQAf/Fux/ENrcJeGkU8PMb6fXmKrPDMKgfdu7JqRr39najA==","signatures":[{"sig":"MEUCIEuNyHuDm5l8cnPf8LjL8PpiANkJ5OkOmOTiD9iLXhopAiEAk9uNa6nVulkqEscxuyGwheDe0kFl3HU/A1nhvW9LAKQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/playwright-report-mcp@3.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":46655},"main":"dist/index.js","type":"module","engines":{"node":">=22"},"gitHead":"50dae3df8d68b64405456da395482bea8e1f149c","mcpName":"io.github.hubertgajewski/playwright-report-mcp","scripts":{"test":"vitest run","build":"tsc","start":"node dist/index.js","format":"prettier --write \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore","test:e2e":"npm ci --prefix test/fixtures/pw-project && vitest run --config vitest.e2e.config.ts","test:watch":"vitest","format:check":"prettier --check \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f07b9b41-1333-4259-9e31-0281f1fd3a2e"}},"repository":{"url":"git+https://github.com/hubertgajewski/playwright-report-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"MCP server for running Playwright tests and reading structured results — designed for AI agents doing test failure analysis","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^4.0.0","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.1","prettier":"^3","typescript":"^6.0.2","@types/node":"^25","@vitest/coverage-v8":"^4.1.4"},"_npmOperationalInternal":{"tmp":"tmp/playwright-report-mcp_3.1.1_1778255014564_0.9323429194539006","host":"s3://npm-registry-packages-npm-production"}},"3.1.2":{"name":"playwright-report-mcp","version":"3.1.2","keywords":["playwright","mcp","model-context-protocol","testing","test-results","ai","llm"],"license":"MIT","_id":"playwright-report-mcp@3.1.2","maintainers":[{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"}],"homepage":"https://github.com/hubertgajewski/playwright-report-mcp#readme","bugs":{"url":"https://github.com/hubertgajewski/playwright-report-mcp/issues"},"bin":{"playwright-report-mcp":"dist/index.js"},"dist":{"shasum":"48f701a86dada79ab6c68f95e152575ab4256f32","tarball":"https://registry.npmjs.org/playwright-report-mcp/-/playwright-report-mcp-3.1.2.tgz","fileCount":4,"integrity":"sha512-INEfI/69PB382qvdutjYDwE6D2Wp9SBUQwPizoNxYU8dCtM/+tLeMifOeOaJUy9c9NSnurLwosm7WEdGVYtmLQ==","signatures":[{"sig":"MEUCIFX/7zmOl9cP7TJWebLqUCBvCKQjgr72aULw+/miJyUoAiEA+bVxDtkuzyZyPCFRlXCQ35UFOT+mPmUuo8itWmHFvzE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/playwright-report-mcp@3.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":46655},"main":"dist/index.js","type":"module","engines":{"node":">=22"},"gitHead":"090760444c965bbbdd0392ec92d08da7ed7f851c","mcpName":"io.github.hubertgajewski/playwright-report-mcp","scripts":{"test":"vitest run","build":"tsc","start":"node dist/index.js","format":"prettier --write \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore","test:e2e":"npm ci --prefix test/fixtures/pw-project && vitest run --config vitest.e2e.config.ts","test:watch":"vitest","format:check":"prettier --check \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f07b9b41-1333-4259-9e31-0281f1fd3a2e"}},"repository":{"url":"git+https://github.com/hubertgajewski/playwright-report-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"MCP server for running Playwright tests and reading structured results — designed for AI agents doing test failure analysis","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^4.0.0","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.1","prettier":"^3","typescript":"^6.0.2","@types/node":"^25","@vitest/coverage-v8":"^4.1.4"},"_npmOperationalInternal":{"tmp":"tmp/playwright-report-mcp_3.1.2_1778258706842_0.6073445750694069","host":"s3://npm-registry-packages-npm-production"}},"3.1.3":{"name":"playwright-report-mcp","version":"3.1.3","keywords":["playwright","mcp","model-context-protocol","testing","test-results","ai","llm"],"license":"MIT","_id":"playwright-report-mcp@3.1.3","maintainers":[{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"}],"homepage":"https://github.com/hubertgajewski/playwright-report-mcp#readme","bugs":{"url":"https://github.com/hubertgajewski/playwright-report-mcp/issues"},"bin":{"playwright-report-mcp":"dist/index.js"},"dist":{"shasum":"03c72c1960baf80b7c301d23ea61cc6e53618a2e","tarball":"https://registry.npmjs.org/playwright-report-mcp/-/playwright-report-mcp-3.1.3.tgz","fileCount":4,"integrity":"sha512-1NNuT6dUQwF9MXER9b0GXBe7fwlQ2ad0Pa4O3yU4Ii+R1rQAr7lDLfHKtqhmXzhhIVCZPxSGd23bPNCx5QX4Og==","signatures":[{"sig":"MEQCICWB9+TDY9rItwMjf+WM//JUz02gc2xxIM8t6C9veS3nAiBSEeAVGFuFHrDtFp2WwSeUDyM+krvQBcQQDpUt1AJRJA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/playwright-report-mcp@3.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":46655},"main":"dist/index.js","type":"module","engines":{"node":">=22"},"gitHead":"3b913b86af97b0c9285accd3cb3b830845cfd5a6","mcpName":"io.github.hubertgajewski/playwright-report-mcp","scripts":{"test":"vitest run","build":"tsc","start":"node dist/index.js","format":"prettier --write \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore","test:e2e":"npm ci --prefix test/fixtures/pw-project && vitest run --config vitest.e2e.config.ts","test:watch":"vitest","format:check":"prettier --check \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f07b9b41-1333-4259-9e31-0281f1fd3a2e"}},"repository":{"url":"git+https://github.com/hubertgajewski/playwright-report-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"MCP server for running Playwright tests and reading structured results — designed for AI agents doing test failure analysis","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^4.0.0","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.1","prettier":"^3","typescript":"^6.0.2","@types/node":"^25","@vitest/coverage-v8":"^4.1.4"},"_npmOperationalInternal":{"tmp":"tmp/playwright-report-mcp_3.1.3_1778320718073_0.6742314459215475","host":"s3://npm-registry-packages-npm-production"}},"3.1.4":{"name":"playwright-report-mcp","version":"3.1.4","keywords":["playwright","mcp","model-context-protocol","testing","test-results","ai","llm"],"license":"MIT","_id":"playwright-report-mcp@3.1.4","maintainers":[{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"}],"homepage":"https://github.com/hubertgajewski/playwright-report-mcp#readme","bugs":{"url":"https://github.com/hubertgajewski/playwright-report-mcp/issues"},"bin":{"playwright-report-mcp":"dist/index.js"},"dist":{"shasum":"97bfd90ab42f924fa1ea63780c8922e782d09c77","tarball":"https://registry.npmjs.org/playwright-report-mcp/-/playwright-report-mcp-3.1.4.tgz","fileCount":4,"integrity":"sha512-OrbcMWKy0XTlrtvYaMNrSfF69HNRF+TH4jiSzfRinmCfVFmjEB4xceR0J3SesdPCGEiOipIFUWOWBYun1rFpdw==","signatures":[{"sig":"MEUCIC2vPF5wfi+T9RuxrmuwYj7J6dxMK8KdRufCnsO57qG7AiEAuvg7YHg2MuOySrH9HWe/ErlCtIf5WfMPteRo1ynhuSo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/playwright-report-mcp@3.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":46655},"main":"dist/index.js","type":"module","engines":{"node":">=22"},"gitHead":"12cb5c46eba9056a63edf2bbff99656caf45abaa","mcpName":"io.github.hubertgajewski/playwright-report-mcp","scripts":{"test":"vitest run","build":"tsc","start":"node dist/index.js","format":"prettier --write \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore","test:e2e":"npm ci --prefix test/fixtures/pw-project && vitest run --config vitest.e2e.config.ts","test:watch":"vitest","format:check":"prettier --check \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f07b9b41-1333-4259-9e31-0281f1fd3a2e"}},"repository":{"url":"git+https://github.com/hubertgajewski/playwright-report-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"MCP server for running Playwright tests and reading structured results — designed for AI agents doing test failure analysis","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^4.0.0","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.1","prettier":"^3","typescript":"^6.0.2","@types/node":"^25","@vitest/coverage-v8":"^4.1.4"},"_npmOperationalInternal":{"tmp":"tmp/playwright-report-mcp_3.1.4_1778333251876_0.664275372912694","host":"s3://npm-registry-packages-npm-production"}},"3.2.0":{"name":"playwright-report-mcp","version":"3.2.0","keywords":["playwright","mcp","model-context-protocol","testing","test-results","ai","llm"],"license":"MIT","_id":"playwright-report-mcp@3.2.0","maintainers":[{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"}],"homepage":"https://github.com/hubertgajewski/playwright-report-mcp#readme","bugs":{"url":"https://github.com/hubertgajewski/playwright-report-mcp/issues"},"bin":{"playwright-report-mcp":"dist/index.js"},"dist":{"shasum":"73e045b5de3719ab9fc6b7e506903a605902f3f5","tarball":"https://registry.npmjs.org/playwright-report-mcp/-/playwright-report-mcp-3.2.0.tgz","fileCount":4,"integrity":"sha512-8tpY5iHdAR7m3yYymLif5Q+sSiIQ0n+KySTr5kdOER8cDJRUsqpqhwp1dBJPgPYSiOqP3AJXhp7YEwH9wxur+A==","signatures":[{"sig":"MEYCIQDKU2OSzKps2PBNbZjYHaSLN9Z7/HaML/baL5xbmhULkwIhAMLe+feNDLo7q17wzZSloo6I1AcLac+se10xeSJrj05k","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/playwright-report-mcp@3.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":58740},"main":"dist/index.js","type":"module","engines":{"node":">=22"},"gitHead":"689241a5fc59ee9e4f447a4426c7876122041060","mcpName":"io.github.hubertgajewski/playwright-report-mcp","scripts":{"test":"vitest run","build":"tsc","start":"node dist/index.js","format":"prettier --write \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore","test:e2e":"npm ci --prefix test/fixtures/pw-project && vitest run --config vitest.e2e.config.ts","test:watch":"vitest","format:check":"prettier --check \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f07b9b41-1333-4259-9e31-0281f1fd3a2e"}},"repository":{"url":"git+https://github.com/hubertgajewski/playwright-report-mcp.git","type":"git"},"_npmVersion":"11.13.0","description":"MCP server for running Playwright tests and reading structured results — designed for AI agents doing test failure analysis","directories":{},"_nodeVersion":"24.16.0","dependencies":{"zod":"^4.0.0","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.1","prettier":"^3","typescript":"^6.0.2","@types/node":"^25","@vitest/coverage-v8":"^4.1.4"},"_npmOperationalInternal":{"tmp":"tmp/playwright-report-mcp_3.2.0_1780058044524_0.31360165487635716","host":"s3://npm-registry-packages-npm-production"}},"3.2.1":{"name":"playwright-report-mcp","version":"3.2.1","keywords":["playwright","mcp","model-context-protocol","testing","test-results","ai","llm"],"license":"MIT","_id":"playwright-report-mcp@3.2.1","maintainers":[{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"}],"homepage":"https://github.com/hubertgajewski/playwright-report-mcp#readme","bugs":{"url":"https://github.com/hubertgajewski/playwright-report-mcp/issues"},"bin":{"playwright-report-mcp":"dist/index.js"},"dist":{"shasum":"2358bca10c0705b66ff88d4b903a923d666bd8a8","tarball":"https://registry.npmjs.org/playwright-report-mcp/-/playwright-report-mcp-3.2.1.tgz","fileCount":4,"integrity":"sha512-yU5AtkcOfjV5KMDh/+VJLi9NIJq/mt+Ac/t1fmg7DctkyfBqju28YuNNj1GxJEuUrGcx2N511hIHAX3XLYXrsA==","signatures":[{"sig":"MEYCIQCiMOCQfxCofVFvUHsegEAuZ/9LFUTj9FDUajtl46yM5QIhAI8drPDfDAGo8BbxRj+7w8lw+qqK4EspWcDoENfDSEiz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/playwright-report-mcp@3.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":59439},"main":"dist/index.js","type":"module","engines":{"node":">=22"},"gitHead":"095b6d35cf4ffdc1e0d2f290ea1eef372b858f1e","mcpName":"io.github.hubertgajewski/playwright-report-mcp","scripts":{"test":"vitest run","build":"tsc","start":"node dist/index.js","format":"prettier --write \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore","test:e2e":"npm ci --prefix test/fixtures/pw-project && vitest run --config vitest.e2e.config.ts","test:watch":"vitest","format:check":"prettier --check \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f07b9b41-1333-4259-9e31-0281f1fd3a2e"}},"repository":{"url":"git+https://github.com/hubertgajewski/playwright-report-mcp.git","type":"git"},"_npmVersion":"11.13.0","description":"MCP server for running Playwright tests and reading structured results — designed for AI agents doing test failure analysis","directories":{},"_nodeVersion":"24.16.0","dependencies":{"zod":"^4.0.0","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.1","prettier":"^3","typescript":"^6.0.2","@types/node":"^25","@vitest/coverage-v8":"^4.1.4"},"_npmOperationalInternal":{"tmp":"tmp/playwright-report-mcp_3.2.1_1780075185418_0.5912261358703603","host":"s3://npm-registry-packages-npm-production"}},"3.2.2":{"name":"playwright-report-mcp","version":"3.2.2","keywords":["playwright","mcp","model-context-protocol","testing","test-results","ai","llm"],"license":"MIT","_id":"playwright-report-mcp@3.2.2","maintainers":[{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"}],"homepage":"https://github.com/hubertgajewski/playwright-report-mcp#readme","bugs":{"url":"https://github.com/hubertgajewski/playwright-report-mcp/issues"},"bin":{"playwright-report-mcp":"dist/index.js"},"dist":{"shasum":"721682431ceb07d5170da11cc35f57dc5d7b9f48","tarball":"https://registry.npmjs.org/playwright-report-mcp/-/playwright-report-mcp-3.2.2.tgz","fileCount":11,"integrity":"sha512-3BdjqKu/p2w6u9HVBJ/LmR9sd5x3IPx2Qp70+rLzGOJqfYEsQlE2XLvKSX7Y+qRjS3aiObCFfqS3CwdGpz90NA==","signatures":[{"sig":"MEUCIQDqqiWAp4kMpr1ZZmMd7Ta+eCHaG8HB9FjXVGUrVBdIJAIgGpv7TOLTFDBOA1Z1nSMnmKJshyFVoKTypZGAWhCDLfw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/playwright-report-mcp@3.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":70579},"main":"./dist/index.js","type":"module","engines":{"node":">=22"},"exports":{".":"./dist/index.js","./dist/index.js":"./dist/index.js"},"gitHead":"f18a5db8062dd0a1ac89be9c204eaf983ec59394","mcpName":"io.github.hubertgajewski/playwright-report-mcp","scripts":{"test":"vitest run","build":"npm run clean && tsc && npm run chmod-bin","clean":"node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"","start":"node dist/index.js","format":"prettier --write \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore","prepack":"npm run build","test:e2e":"npm ci --prefix test/fixtures/pw-project && vitest run --config vitest.e2e.config.ts","chmod-bin":"node -e \"require('node:fs').chmodSync('dist/index.js', 0o755)\"","test:watch":"vitest","format:check":"prettier --check \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f07b9b41-1333-4259-9e31-0281f1fd3a2e"}},"repository":{"url":"git+https://github.com/hubertgajewski/playwright-report-mcp.git","type":"git"},"_npmVersion":"11.13.0","description":"MCP server for running Playwright tests and reading structured results — designed for AI agents doing test failure analysis","directories":{},"_nodeVersion":"24.16.0","dependencies":{"zod":"^4.0.0","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.1","prettier":"^3","typescript":"^6.0.2","@types/node":"^25","@vitest/coverage-v8":"^4.1.4"},"_npmOperationalInternal":{"tmp":"tmp/playwright-report-mcp_3.2.2_1780579346779_0.989710109396071","host":"s3://npm-registry-packages-npm-production"}},"3.3.0":{"name":"playwright-report-mcp","version":"3.3.0","keywords":["playwright","mcp","model-context-protocol","testing","test-results","ai","llm"],"license":"MIT","_id":"playwright-report-mcp@3.3.0","maintainers":[{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"}],"homepage":"https://github.com/hubertgajewski/playwright-report-mcp#readme","bugs":{"url":"https://github.com/hubertgajewski/playwright-report-mcp/issues"},"bin":{"playwright-report-mcp":"dist/index.js"},"dist":{"shasum":"e9e95009debc27d391f529accd01181732b87760","tarball":"https://registry.npmjs.org/playwright-report-mcp/-/playwright-report-mcp-3.3.0.tgz","fileCount":11,"integrity":"sha512-X1xXXHBkpsGzhk4BXm3TofIULOMggPsSJBcUnoNkyM9e7xNI1/8FFFtMDW7PDOqGrmWDfayGIJfS66gR7xpyLQ==","signatures":[{"sig":"MEQCHzcn/ayGQTm4Z0xy0sdImXE5NttuyzZyu8df6kQ2w+8CIQDMLFbIF/MwXOE4BAwEmTNOKMEuMalf+FtVxjlVHDH47Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/playwright-report-mcp@3.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":71249},"main":"./dist/index.js","type":"module","engines":{"node":">=22"},"exports":{".":"./dist/index.js","./dist/index.js":"./dist/index.js"},"gitHead":"edc55363475eb5541f3dabf89d7aff07ee50c7aa","mcpName":"io.github.hubertgajewski/playwright-report-mcp","scripts":{"test":"vitest run","build":"npm run clean && tsc && npm run chmod-bin","clean":"node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"","start":"node dist/index.js","format":"prettier --write \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore","prepack":"npm run build","test:e2e":"npm ci --prefix test/fixtures/pw-project && vitest run --config vitest.e2e.config.ts","chmod-bin":"node -e \"require('node:fs').chmodSync('dist/index.js', 0o755)\"","test:watch":"vitest","format:check":"prettier --check \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f07b9b41-1333-4259-9e31-0281f1fd3a2e"}},"repository":{"url":"git+https://github.com/hubertgajewski/playwright-report-mcp.git","type":"git"},"_npmVersion":"11.17.0","description":"MCP server for running Playwright tests and reading structured results — designed for AI agents doing test failure analysis","directories":{},"_nodeVersion":"24.19.0","dependencies":{"zod":"^4.2.0","@modelcontextprotocol/server":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.1","prettier":"^3","typescript":"^7.0.2","@types/node":"^26","@vitest/coverage-v8":"^4.1.4","@modelcontextprotocol/client":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/playwright-report-mcp_3.3.0_1786522383125_0.800926202818903","host":"s3://npm-registry-packages-npm-production"}},"3.4.0":{"_id":"playwright-report-mcp@3.4.0","bin":{"playwright-report-mcp":"dist/index.js"},"bugs":{"url":"https://github.com/hubertgajewski/playwright-report-mcp/issues"},"dist":{"shasum":"7eaca41733d389633e5c41e7dd01540152821d96","tarball":"https://registry.npmjs.org/playwright-report-mcp/-/playwright-report-mcp-3.4.0.tgz","fileCount":12,"integrity":"sha512-AClJ4pLiIsSvcnSRnPOSl1soWcJ6KpnGwafhDtJmbIujYT/8mQLUgcK8WNzpu7/WKB2k+O26SxeE6m3WTIRX7Q==","signatures":[{"sig":"MEQCIB0Qavg8WzO1sUdrmHAnz8aEbVoZA3JE/mfURnKgUG4AAiBJhzRILNLHrFmNbZ542G704lr7wEKeh8/JYeY8w+GuSA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD9NjRE9UOCEKBcXQxJMGeRtIk03H0iY6PoqOPqWUvJtQIhAM6UCXA155aFlAfP3haQxQWNaYTkMYA7kLWrCVZOwhNs"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/playwright-report-mcp@3.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":79130},"main":"./dist/index.js","name":"playwright-report-mcp","type":"module","engines":{"node":">=22"},"exports":{".":"./dist/index.js","./dist/index.js":"./dist/index.js"},"gitHead":"1325f31fa710c2264ff80fe8ee4c5d19b44ed8f8","license":"MIT","mcpName":"io.github.hubertgajewski/playwright-report-mcp","scripts":{"test":"vitest run","build":"npm run clean && tsc && npm run chmod-bin","clean":"node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"","start":"node dist/index.js","format":"prettier --write \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore","prepack":"npm run build","test:e2e":"npm ci --prefix test/fixtures/pw-project && vitest run --config vitest.e2e.config.ts","chmod-bin":"node -e \"require('node:fs').chmodSync('dist/index.js', 0o755)\"","test:watch":"vitest","format:check":"prettier --check \"**/*.{ts,js,json,md,yml,yaml}\" --ignore-path .gitignore"},"version":"3.4.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f07b9b41-1333-4259-9e31-0281f1fd3a2e"}},"homepage":"https://github.com/hubertgajewski/playwright-report-mcp#readme","keywords":["playwright","mcp","model-context-protocol","testing","test-results","ai","llm"],"repository":{"url":"git+https://github.com/hubertgajewski/playwright-report-mcp.git","type":"git"},"_npmVersion":"11.19.0","description":"MCP server for running Playwright tests and reading structured results — designed for AI agents doing test failure analysis","directories":{},"maintainers":[{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"}],"_nodeVersion":"24.21.0","dependencies":{"zod":"^4.2.0","@modelcontextprotocol/server":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^5.0.0","prettier":"^3","typescript":"^7.0.2","@types/node":"^26","@vitest/coverage-v8":"^5.0.0","@modelcontextprotocol/client":"^2.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/playwright-report-mcp_3.4.0_1790336141828_0.0018285277203307082"}}},"time":{"created":"2026-03-25T10:57:58.958Z","modified":"2026-09-25T11:35:42.244Z","1.0.0":"2026-03-25T10:57:59.159Z","1.0.1":"2026-03-25T11:12:54.442Z","1.0.2":"2026-03-25T11:49:14.679Z","1.0.3":"2026-03-25T15:08:31.592Z","1.0.4":"2026-03-25T17:28:02.948Z","2.0.0":"2026-04-18T07:22:16.232Z","2.0.1":"2026-04-18T08:30:37.047Z","2.0.2":"2026-04-18T12:29:08.354Z","3.0.0":"2026-04-20T15:15:40.170Z","3.1.0":"2026-04-24T12:59:39.088Z","3.1.1":"2026-05-08T15:43:34.727Z","3.1.2":"2026-05-08T16:45:06.997Z","3.1.3":"2026-05-09T09:58:38.216Z","3.1.4":"2026-05-09T13:27:32.027Z","3.2.0":"2026-05-29T12:34:04.674Z","3.2.1":"2026-05-29T17:19:45.578Z","3.2.2":"2026-06-04T13:22:26.968Z","3.3.0":"2026-08-12T08:13:03.279Z","3.4.0":"2026-09-25T11:35:41.911Z"},"bugs":{"url":"https://github.com/hubertgajewski/playwright-report-mcp/issues"},"license":"MIT","homepage":"https://github.com/hubertgajewski/playwright-report-mcp#readme","keywords":["playwright","mcp","model-context-protocol","testing","test-results","ai","llm"],"repository":{"url":"git+https://github.com/hubertgajewski/playwright-report-mcp.git","type":"git"},"description":"MCP server for running Playwright tests and reading structured results — designed for AI agents doing test failure analysis","maintainers":[{"name":"hubertgajewski","email":"hubert+npmjs@hubertgajewski.com"}],"readme":"# Playwright Report MCP\n\nAn MCP (Model Context Protocol) server for running Playwright tests and reading structured results, failed test details, and attachment content — designed for AI agents doing test failure analysis.\n\n![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)\n![Node.js: 22+](https://img.shields.io/badge/node-%3E%3D22-brightgreen.svg)\n\n---\n\n## Table of contents\n\n- [What it is](#what-it-is)\n- [What it is NOT](#what-it-is-not)\n- [Why](#why)\n- [Quick start](#quick-start)\n- [Tools](#tools)\n- [Attachments](#attachments)\n- [Installation](#installation)\n- [Configuration](#configuration)\n- [Requirements](#requirements)\n- [Troubleshooting](#troubleshooting)\n- [Development](#development)\n- [Cutting a release](#cutting-a-release)\n- [Contributing](#contributing)\n- [Release](#release)\n- [License](#license)\n\n---\n\n## What it is\n\n**Playwright Report MCP** gives an AI agent structured, token-efficient access to Playwright test outcomes. It runs your test suite, reads the JSON reporter output, and surfaces exactly what the agent needs: which tests failed, what the errors were, and the content of relevant attachments.\n\n## What it is NOT\n\nThere are many Playwright MCP servers that control a browser — they navigate pages, click elements, fill forms, and take screenshots. Playwright Report MCP is not one of those.\n\n|                          | Browser automation MCPs                                        | Playwright Report MCP             |\n| ------------------------ | -------------------------------------------------------------- | --------------------------------- |\n| Examples                 | `microsoft/playwright-mcp`, `executeautomation/mcp-playwright` | this project                      |\n| Purpose                  | Let an AI agent drive a browser                                | Let an AI agent read test results |\n| Runs tests               | No                                                             | Yes                               |\n| Returns pass/fail        | No                                                             | Yes                               |\n| Surfaces error messages  | No                                                             | Yes                               |\n| Reads attachment content | No                                                             | Yes                               |\n\n---\n\n## Why\n\n### The problem with existing approaches\n\n**Default reporters (`list` / `dot`)** — Playwright's default reporters print human-readable output to stdout. Compact, but lossy: no attachment paths, no retry breakdown, no structured data.\n\n**HTML reporter** (`report.html`) — A self-contained SPA bundle (typically 2–50 MB). Not machine-readable as text and exceeds any LLM context window.\n\n**Reading `results.json` directly** — Works, but a full JSON report for even a small test suite is 10,000–20,000 tokens. For a failing test, most of that is passing test metadata you don't need.\n\n### What Playwright Report MCP does instead\n\n- Filters `results.json` to only failed tests\n- Returns structured, typed JSON the agent can act on immediately\n- Exposes individual attachments by name so the agent fetches only what it needs\n- Works on results produced by anyone — CI pipeline, a human, or the agent itself\n\n### Token cost comparison (one failed test in a 20-test suite)\n\n> Approximate input token counts based on **Claude tokenization** (~3–4 characters per token for mixed JSON/text content).\n\n| What you need                         | Without MCP — approach                            | Tokens (no MCP) | With MCP — tool calls                    | Tokens (MCP)   | Savings     |\n| ------------------------------------- | ------------------------------------------------- | --------------- | ---------------------------------------- | -------------- | ----------- |\n| Error message only — live run         | `npx playwright test`, read stdout (`list`/`dot`) | ~500–1,200      | `run_tests` + `get_failed_tests`         | ~300–500       | ~2×         |\n| Error message only — existing results | Read full `results.json`                          | ~12,500–23,000  | `get_failed_tests`                       | ~300–500       | **~25–45×** |\n| + page state at failure               | + read `error-context` file                       | ~15,000–26,000  | + `get_test_attachment('error-context')` | ~2,800–3,500   | **~4–7×**   |\n| + custom text attachments¹            | + read attachment files                           | ~16,200–28,500  | + `get_test_attachment` ×2               | ~3,300–5,500   | **~4–5×**   |\n| + full page HTML snapshot²            | + read snapshot file                              | ~41,000–103,000 | + `get_test_attachment`                  | ~33,300–85,500 | ~1.2×       |\n\n> ¹ **Custom text attachments** — e.g. AI diagnosis (~500–2,000 tokens) and console logs (~200–500 tokens) added via `testInfo.attach()` in your own fixtures.\n>\n> ² **Full page HTML snapshot** — a custom fixture that attaches the full rendered page HTML on failure. Large pages alone can reach 30,000–80,000 tokens and dominate cost regardless of whether MCP is used.\n\n**Key observations:**\n\n- For a live run, stdout (`list`/`dot`) is compact but gives the agent no path to attachment content — dead end for deeper analysis\n- Reading `results.json` directly costs ~12,500–23,000 tokens even when only one test failed — most of it is passing test metadata the agent doesn't need\n- The biggest MCP gains are in the middle rows: getting error messages + page state from existing results at **~4–45× lower token cost**\n- Full page HTML snapshot dominates cost either way; skipping it in favour of `error-context` is the single largest optimisation available\n\n### CI failure analysis\n\nThe primary use case: your CI pipeline runs the tests, the agent picks up the results after the fact and diagnoses failures. `get_failed_tests` reads `results.json` regardless of who triggered the run. No re-run needed.\n\n---\n\n## Quick start\n\n**1. Install via npx (recommended)**\n\nNo clone or build step needed — npx downloads and runs the server automatically:\n\n```json\n{\n  \"mcpServers\": {\n    \"playwright-report-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"playwright-report-mcp\"],\n      \"type\": \"stdio\"\n    }\n  }\n}\n```\n\nOr build from source:\n\n```bash\ngit clone https://github.com/hubertgajewski/playwright-report-mcp.git\ncd playwright-report-mcp\nnpm install && npm run build\n```\n\n**2. Add the JSON reporter to your Playwright project**\n\n```ts\n// playwright.config.ts\nreporter: [\n  ['json', { outputFile: 'test-results/results.json' }],\n  ['html'], // keep any existing reporters\n],\n```\n\n**3. Register in `.mcp.json`**\n\n```json\n{\n  \"mcpServers\": {\n    \"playwright-report-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"playwright-report-mcp\"],\n      \"type\": \"stdio\"\n    }\n  }\n}\n```\n\n**4. Ask your AI agent**\n\n> Run the Playwright tests and tell me what failed.\n\n---\n\n## Compatibility\n\nTested with **Claude Code (CLI)**. Should work with any MCP-compatible client that supports stdio transport, including Claude Desktop, Cursor, Cline, Windsurf, and Continue.dev — but these have not been verified.\n\nThe stdio server supports both MCP protocol eras from one entrypoint:\n\n- **Modern:** protocol revision `2026-07-28`, selected by clients using version negotiation (for example, `versionNegotiation: { mode: \"auto\" }`).\n- **Legacy:** supported 2025-era revisions, selected by clients that use the traditional `initialize` handshake. This remains the default behavior in the MCP client SDK.\n\nThe opening exchange pins one era for the connection lifetime. A client that pins an unsupported revision receives an explicit negotiation error; the server does not silently switch it to another era.\n\n---\n\n## Tools\n\nThe project-scoped tools accept an optional `workingDirectory` parameter — see [Multi-worktree support](#multi-worktree-support). `get_run_status` can use either a `runId` from `run_tests` with `wait: false`, or a `workingDirectory` lookup for the latest tracked run.\n\n### `run_tests`\n\nRuns the Playwright test suite and returns structured pass/fail results.\n\n| Input              | Type               | Description                                                                                                                                                                                                                                                     |\n| ------------------ | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `workingDirectory` | string (optional)  | Playwright project directory. Absolute or relative to the MCP server launch directory. Defaults to `\".\"`. Must be under `PW_ALLOWED_DIRS` — see [Multi-worktree support](#multi-worktree-support).                                                              |\n| `spec`             | string (optional)  | Spec file path relative to the project directory, e.g. `tests/login.spec.ts`. Must stay within the project directory.                                                                                                                                           |\n| `browser`          | enum (optional)    | `Chromium`, `Firefox`, `Webkit`, `Mobile Chrome`, `Mobile Safari`                                                                                                                                                                                               |\n| `tag`              | string (optional)  | Tag filter, e.g. `@smoke`                                                                                                                                                                                                                                       |\n| `timeout`          | integer (optional) | Timeout in milliseconds for the whole test run. Defaults to `300000` (5 min). Use a larger value for long suites or a smaller one to fail fast. When the run is killed by this timeout, the tool returns an explicit error rather than a generic non-zero exit. |\n| `wait`             | boolean (optional) | Wait for completion before returning. Defaults to `true`. Set to `false` to start a background run and poll it with `get_run_status`.                                                                                                                           |\n| `updateSnapshots`  | enum (optional)    | Update snapshot baselines. One of `all`, `changed`, `missing`, `none`. Playwright's default is `missing`; `changed` updates differing + missing. Omit to leave existing baselines alone.                                                                        |\n| `headed`           | boolean (optional) | Run with a visible browser window. Omitting or setting `false` leaves `playwright.config.ts` intact — Playwright has no `--no-headed` flag, so `false` does not force headless when the config sets headed.                                                     |\n| `workers`          | integer (optional) | Number of parallel workers. Positive integer only; the `\"50%\"` string form is not yet supported.                                                                                                                                                                |\n| `retries`          | integer (optional) | Maximum retry count for flaky tests. `0` explicitly disables retries; omit to use the project's config.                                                                                                                                                         |\n| `maxFailures`      | integer (optional) | Stop the run after this many failures. Positive integer.                                                                                                                                                                                                        |\n| `env`              | object (optional)  | String-to-string map merged onto the Playwright child environment. Each key must be listed in `PW_ALLOWED_ENV`. Dangerous and secret names are always rejected. See [Environment overrides](#environment-overrides).                                            |\n| `trace`            | enum (optional)    | Force Playwright tracing mode, overriding `playwright.config.ts`. One of `on`, `off`, `on-first-retry`, `on-all-retries`, `retain-on-failure`, `retain-on-first-failure`, `retain-on-failure-and-retries`.                                                      |\n\nReturns: exit code, run stats, and a summary of all tests with status, duration, and error per project.\n\nWhen `wait` is `false`, returns immediately with `runId`, process metadata, compact numeric progress, and current `results.json` status. Poll `get_run_status` with that `runId` until `state` is `completed`, `failed`, or `timedOut`. The server parses Playwright progress markers such as `[528/662]` from stdout and discards raw stdout/stderr text so repeated polling stays token-efficient. The server allows one active tracked run per working directory, caps active tracked runs globally, and keeps a bounded history of recent terminal runs, so very old `runId` values can expire.\n\n### `get_run_status`\n\nReturns the current status for a non-blocking run started by `run_tests` with `wait: false`.\n\n| Input              | Type              | Description                                                                                                                                                        |\n| ------------------ | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `runId`            | string (optional) | Run identifier returned by `run_tests wait=false`. When present, this selects a specific tracked run.                                                              |\n| `workingDirectory` | string (optional) | When `runId` is omitted, returns the latest tracked run for that directory, or `idle` if no match. When supplied with `runId`, it must match that run's directory. |\n\nIf both fields are omitted, `workingDirectory` defaults to `\".\"`. If no run is tracked for the resolved directory, the tool returns `state: \"idle\"` plus `results.json` metadata and last parsed stats when readable. It does not process-scan for external `npx playwright test` commands that were not started through this MCP server.\n\nReturns: run state, tracking flag, pid, timestamps, elapsed duration, timeout, command metadata (`executable`, `args`, `cwd`), optional `envKeys` (override names only — never values), `progress: { current, total }`, exit code, signal, spawn/timeout error when present, `results.json` path/existence/mtime/size/freshness, and parsed report stats when the report was updated after the run started. When progress has not appeared yet, `current` and `total` are `null`; when a terminal run has readable final stats, progress is set to the derived completed total.\n\n### `get_failed_tests`\n\nReturns failed tests from the last run with error messages and attachment paths. Does not re-run tests — reads the existing `results.json`.\n\n| Input              | Type              | Description                                                               |\n| ------------------ | ----------------- | ------------------------------------------------------------------------- |\n| `workingDirectory` | string (optional) | See [Multi-worktree support](#multi-worktree-support). Defaults to `\".\"`. |\n\nReturns: failed test count, titles, file paths, per-project status, error messages, and attachment paths.\n\n### `get_test_attachment`\n\nReads the content of a named text attachment for a specific test from the last run.\n\n| Input              | Type              | Description                                                               |\n| ------------------ | ----------------- | ------------------------------------------------------------------------- |\n| `workingDirectory` | string (optional) | See [Multi-worktree support](#multi-worktree-support). Defaults to `\".\"`. |\n| `testTitle`        | string            | Exact test title as shown in the report                                   |\n| `attachmentName`   | string            | Attachment name, e.g. `error-context`, `ai-diagnosis`, `page-html`        |\n\nReturns: the attachment content as text. Binary attachments and files over 1 MB are rejected with an error. Attachment paths recorded in `results.json` that escape `workingDirectory` (via `..` or absolute paths pointing elsewhere) are refused.\n\n### `list_tests`\n\nLists all tests with their spec file and tags without running them.\n\n| Input              | Type              | Description                                                                                                 |\n| ------------------ | ----------------- | ----------------------------------------------------------------------------------------------------------- |\n| `workingDirectory` | string (optional) | See [Multi-worktree support](#multi-worktree-support). Defaults to `\".\"`.                                   |\n| `tag`              | string (optional) | Filter by tag, e.g. `@smoke`                                                                                |\n| `env`              | object (optional) | Same allowlisted child-environment map as `run_tests`. See [Environment overrides](#environment-overrides). |\n\n---\n\n## Attachments\n\nPlaywright attaches files to failed tests automatically. `get_test_attachment` can read any text attachment by name.\n\n| Attachment name    | Source                                                                         | Present in every project |\n| ------------------ | ------------------------------------------------------------------------------ | ------------------------ |\n| `error-context`    | Playwright built-in — YAML accessibility tree snapshot at the point of failure | Yes                      |\n| `screenshot`       | Playwright built-in — PNG screenshot (binary, not readable)                    | Yes                      |\n| `video`            | Playwright built-in — WebM video (binary, not readable)                        | Yes                      |\n| Custom attachments | Added via `testInfo.attach()` in your fixtures                                 | Depends on project       |\n\nThe `error-context` attachment is the most useful for projects without custom fixtures — it gives a semantic, structured view of the page at the moment of failure with no setup required.\n\n---\n\n## Installation\n\n**Via npx (recommended)** — use the npx config shown in [Quick start](#quick-start). No local installation needed.\n\n**From source:**\n\n```bash\ngit clone https://github.com/hubertgajewski/playwright-report-mcp.git\ncd playwright-report-mcp\nnpm install\nnpm run build\n```\n\n---\n\n## Configuration\n\nAdd to your `.mcp.json` at the root of your project:\n\n```json\n{\n  \"mcpServers\": {\n    \"playwright-report-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"playwright-report-mcp\"],\n      \"type\": \"stdio\"\n    }\n  }\n}\n```\n\n### Environment variables\n\n| Variable          | Default                                        | Description                                                                                                                                                                                                      |\n| ----------------- | ---------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `PW_ALLOWED_DIRS` | `\".\"` (authorizes only the launch dir)         | `path.delimiter`-separated list of directories the `workingDirectory` parameter may point at. Entries may be absolute or relative (resolved once against launch cwd at startup).                                 |\n| `PW_ALLOWED_ENV`  | unset (the `env` tool argument is disabled)    | Comma-separated list of environment variable names `run_tests` and `list_tests` may override. Unset or empty rejects any `env` argument and does not spawn. See [Environment overrides](#environment-overrides). |\n| `PW_RESULTS_FILE` | `<workingDirectory>/test-results/results.json` | Absolute path to the JSON reporter output file. If set, overrides the per-call default for every call.                                                                                                           |\n\nSet `PW_RESULTS_FILE` if your `playwright.config.ts` writes the report to a non-default location. Leave it unset in multi-worktree setups so each `workingDirectory` gets its own `test-results/results.json`.\n\n### Multi-worktree support\n\n`run_tests`, `list_tests`, `get_failed_tests`, and `get_test_attachment` all accept an optional `workingDirectory` parameter — absolute, or relative to the MCP server's launch directory. `get_run_status` also accepts `workingDirectory` when `runId` is omitted; when `runId` is supplied, any supplied `workingDirectory` must resolve to that run's recorded directory. This lets a single long-lived MCP session drive tests across multiple git worktrees without restarting.\n\nBecause a Playwright config is a Node module that executes on `playwright test` startup, the server guards the parameter with an allowlist. Callers that point `workingDirectory` at a directory outside `PW_ALLOWED_DIRS` get a structured error and no child process is spawned.\n\n**Default (no worktrees).** Leave `PW_ALLOWED_DIRS` unset. The allowlist becomes `\".\"` — only the launch directory — and the default `workingDirectory` (also `\".\"`) resolves to the launch directory. Zero configuration.\n\n**Sibling worktrees.** Set `PW_ALLOWED_DIRS=\"..\"` in your `.mcp.json` to authorize every sibling of the launch directory. Relative entries resolve against the launch cwd at startup, so the same `.mcp.json` works for every contributor without baking in absolute paths:\n\n```json\n{\n  \"mcpServers\": {\n    \"playwright-report-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"playwright-report-mcp\"],\n      \"env\": { \"PW_ALLOWED_DIRS\": \"..\" },\n      \"type\": \"stdio\"\n    }\n  }\n}\n```\n\nThen point calls at any sibling worktree:\n\n```jsonc\n{\n  \"name\": \"run_tests\",\n  \"arguments\": { \"workingDirectory\": \"../my-app-feat-auth\" },\n}\n```\n\n**Multiple projects.** Either launch the MCP client from each project and use the default allowlist, or set `PW_ALLOWED_DIRS` to the shared parent and pass `workingDirectory` per call. The allowlist check runs at a path-segment boundary, so an entry authorizing `/src/my-app` will not authorize `/src/my-app-evil`.\n\n> **Breaking change (2.x → next):** the `PW_DIR` env var has been removed. Either launch the MCP client from inside the Playwright project directory (zero-config, default `workingDirectory: \".\"` works), or pass `workingDirectory` per call and set `PW_ALLOWED_DIRS` accordingly.\n\n### Environment overrides\n\n`run_tests` and `list_tests` accept an optional `env` map that is merged onto the MCP process environment before spawning Playwright. The child therefore sees operator-allowlisted overrides on top of launch env and the parent process. Playwright configs that load dotenv without overriding existing variables keep the tool-supplied value.\n\nThe `env` argument is off until the operator sets `PW_ALLOWED_ENV` in `.mcp.json`. That is the same containment model as `PW_ALLOWED_DIRS`: the human expands what the model may do; the model cannot widen it.\n\nA hard denylist always wins over the allowlist (comparison is case-insensitive):\n\n- prefixes `NODE_`, `LD_`, `DYLD_`, `NPM_CONFIG_` (the child is launched with `npx`, which reads npm config from the environment)\n- `PATH`, `HOME`, `DOTENV_CONFIG_PATH`\n- proxy variables `HTTP_PROXY`, `HTTPS_PROXY`, `ALL_PROXY`, `NO_PROXY`, `FTP_PROXY`\n- any name matching `PASSWORD`, `SECRET`, `TOKEN`, `API_KEY`, `ACCESS_KEY`, `CREDENTIAL`, `PRIVATE_KEY`, `AUTH_SOCK`, or `AUTH_CONFIG`\n\nKeys must be POSIX names (`^[A-Z_][A-Z0-9_]*$`). Values cannot contain a NUL and are capped at 256 characters, with at most 16 entries per call. The value of `ENV` is further restricted to `^[A-Za-z0-9._-]+$` so it cannot be used as a POSIX shell startup-file path (`ENV=/tmp/evil.sh` is rejected).\n\nSecrets (basic auth, passwords, API keys) stay in the project `.env` or in MCP **launch** env. They are never tool arguments. `get_run_status` may list override **names** as `envKeys` and never echoes override **values**. There is no `envFile` tool argument.\n\n**Target environment name** (`ENV=staging`):\n\n```json\n{\n  \"mcpServers\": {\n    \"playwright-report-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"playwright-report-mcp\"],\n      \"env\": {\n        \"PW_ALLOWED_DIRS\": \"..\",\n        \"PW_ALLOWED_ENV\": \"ENV\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}\n```\n\n```json\n{\n  \"workingDirectory\": \"playwright/typescript\",\n  \"env\": { \"ENV\": \"staging\" }\n}\n```\n\n**Other project switches** (`TEST_ENV` or `BASE_URL`):\n\n```json\n{\n  \"mcpServers\": {\n    \"playwright-report-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"playwright-report-mcp\"],\n      \"env\": { \"PW_ALLOWED_ENV\": \"TEST_ENV,BASE_URL\" },\n      \"type\": \"stdio\"\n    }\n  }\n}\n```\n\n```json\n{ \"env\": { \"TEST_ENV\": \"qa\" } }\n```\n\n```json\n{ \"env\": { \"BASE_URL\": \"https://stage.example.com\" } }\n```\n\n---\n\n## Requirements\n\n- Node.js 22+\n- `@playwright/test` 1.40 or later\n- JSON reporter configured in your Playwright project\n\nPlaywright's default reporters (`list` locally, `dot` on CI) write to stdout only — they produce no file that can be read after the run. Add the JSON reporter alongside whatever reporters you already use:\n\n```ts\n// playwright.config.ts\nreporter: [\n  ['json', { outputFile: 'test-results/results.json' }],\n  ['html'],  // keep any existing reporters\n  ['list'],\n],\n```\n\n---\n\n## Troubleshooting\n\n**`No results.json found — run tests first`**\n\nThe JSON reporter is not configured or is writing to a different path. Verify your `playwright.config.ts` has `['json', { outputFile: 'test-results/results.json' }]`.\n\n**`list_tests parsed 0 tests from non-empty output`**\n\nThe `--list` output format may have changed in your version of Playwright. Open an issue with your Playwright version and the raw stdout output.\n\n**`Attachment \"...\" is binary and cannot be returned as text`**\n\n`screenshot` and `video` attachments are binary files. Use `get_failed_tests` to get attachment paths and open them directly if needed.\n\n**`Attachment \"...\" is too large to return inline`**\n\nThe attachment exceeds 1 MB. Read the file directly from the path returned by `get_failed_tests`.\n\n---\n\n## Development\n\n```bash\nnpm test          # run tests once\nnpm run test:watch  # watch mode\n```\n\nRuntime code lives under `src/` and compiles to `dist/`. Tests use [Vitest](https://vitest.dev/) with focused unit coverage for helpers plus MCP tool integration coverage via `InMemoryTransport`. No build step or Playwright installation required to run the regular test suite.\n\n---\n\n## Cutting a release\n\nReleases are produced by pushing a `v*` tag. [`.github/workflows/release.yml`](.github/workflows/release.yml) picks up the tag, verifies the tag matches all three version fields, runs `npm ci` + `npm run build` + `npm test`, creates a GitHub Release with auto-generated notes categorized per `.github/release.yml` (Features / Bug fixes / Documentation / Dependencies / Other changes), and publishes to npm. [`.github/workflows/publish-mcp.yml`](.github/workflows/publish-mcp.yml) then chains off `Release` via `workflow_run` and publishes `server.json` to the MCP registry. Merging to `main` does not trigger a publish.\n\n**Version lives in three places and all three must match the tag before pushing it:**\n\n- `package.json` → `version`\n- `server.json` → top-level `version`\n- `server.json` → `packages[0].version`\n\nBump all three in one PR and merge to `main` before cutting the release. `release.yml` fails the run if the tag disagrees with any of these values.\n\n**Ritual:**\n\n```bash\n# After the version-bump PR has merged to main:\ngit checkout main && git pull\ngit tag v1.0.5\ngit push origin v1.0.5\n# → release.yml fires: verifies tag, builds, tests, creates GitHub Release, publishes to npm\n# → publish-mcp.yml chains off Release and publishes server.json to the MCP registry\n```\n\n**Flow:**\n\n1. Open a bump PR that updates all three version fields. Merge it to `main`.\n2. Tag the bump commit `v<version>` and push the tag.\n3. `release.yml` verifies tag/version alignment, runs `npm ci`, confirms the version is not already published on npm, runs `npm run build` + `npm test`, creates the GitHub Release, then publishes to npm with `npm publish --access public --provenance`.\n4. `publish-mcp.yml` (triggered by `workflow_run` on `Release`) re-verifies the version fields, confirms the version is not already on the MCP registry, and publishes `server.json` to [registry.modelcontextprotocol.io](https://registry.modelcontextprotocol.io).\n\n**No repository secrets required.** Both npm and the MCP registry authenticate via GitHub OIDC ([npm trusted publishers](https://docs.npmjs.com/trusted-publishers)). The trusted publisher for npm is configured on npmjs.com under the package's **Settings → Publishing access → Trusted Publisher** section — no `NPM_TOKEN` secret exists or is needed.\n\n**Recovery from a failed publish:** npm refuses to republish an existing version and restricts unpublishing after 72 hours. If a publish fails for any reason, bump to the next patch version in a new PR and cut a new release — do not try to re-run the failed release.\n\n---\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for bug reports, pull requests, development setup, and commit conventions.\n\n---\n\n## License\n\n[MIT](LICENSE) — Copyright (c) [Hubert Gajewski](https://hubertgajewski.com)\n","readmeFilename":"README.md"}