{"_id":"@aliex7664/puppeteer-debugger-mcp","_rev":"13-ec163c4e12d62890f4deb35f7d6e99de","name":"@aliex7664/puppeteer-debugger-mcp","dist-tags":{"latest":"2.3.0"},"versions":{"1.0.0":{"name":"@aliex7664/puppeteer-debugger-mcp","version":"1.0.0","keywords":["mcp","browser","debugging","cdp","puppeteer"],"author":{"url":"https://github.com/ALIEX7664/mcp/tree/main/debugger-mcp","name":"aliex7664"},"license":"MIT","_id":"@aliex7664/puppeteer-debugger-mcp@1.0.0","maintainers":[{"name":"aliex7664","email":"814574525@qq.com"}],"bin":{"puppeteer-debugger-mcp":"dist/index.js"},"dist":{"shasum":"f5801dc97775faff01fcd18b85651f458542aef5","tarball":"https://registry.npmjs.org/@aliex7664/puppeteer-debugger-mcp/-/puppeteer-debugger-mcp-1.0.0.tgz","fileCount":4,"integrity":"sha512-aRDf+dB75uJTwRI+uSgYTq9qZY/yQlwctjI3YyvZJDxB4sLTZossoML5PYfjqPTWNDwWM+Hge4GfFQz7tT5JQg==","signatures":[{"sig":"MEYCIQCbH83N3zYzCzWcmU8IK25VcRtjICdTB0eC1StPnA/BBAIhAOgypLA76+Kajes+grCaxb8LG+7+d5vWntZWba08EPT1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26666},"main":"dist/index.js","type":"module","_from":"file:aliex7664-puppeteer-debugger-mcp-1.0.0.tgz","private":false,"scripts":{"dev":"tsup --watch","build":"tsup","start":"node dist/index.js"},"_npmUser":{"name":"aliex7664","email":"814574525@qq.com"},"_resolved":"C:\\Users\\Aliex\\AppData\\Local\\Temp\\f12d7abc211274017111ed020aba0a36\\aliex7664-puppeteer-debugger-mcp-1.0.0.tgz","_integrity":"sha512-aRDf+dB75uJTwRI+uSgYTq9qZY/yQlwctjI3YyvZJDxB4sLTZossoML5PYfjqPTWNDwWM+Hge4GfFQz7tT5JQg==","_npmVersion":"10.9.4","description":"MCP Server for browser debugging via CDP","directories":{},"_nodeVersion":"22.21.0","dependencies":{"zod":"^3.22.0","puppeteer":"^21.0.0","@modelcontextprotocol/sdk":"^1.24.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/puppeteer-debugger-mcp_1.0.0_1765799744162_0.8248222833941663","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@aliex7664/puppeteer-debugger-mcp","version":"1.0.1","keywords":["mcp","browser","debugging","cdp","puppeteer"],"author":{"url":"https://github.com/ALIEX7664/mcp/tree/main/debugger-mcp","name":"aliex7664"},"license":"MIT","_id":"@aliex7664/puppeteer-debugger-mcp@1.0.1","maintainers":[{"name":"aliex7664","email":"814574525@qq.com"}],"bin":{"puppeteer-debugger-mcp":"dist/index.js"},"dist":{"shasum":"01072cafa24634274ce83dcea4ad9fc8065d4453","tarball":"https://registry.npmjs.org/@aliex7664/puppeteer-debugger-mcp/-/puppeteer-debugger-mcp-1.0.1.tgz","fileCount":4,"integrity":"sha512-W163nKUmMFCuqXt3gjiDgBa2etv7kLdNzaT6B5573+4zpjsUwI7ph0DJ9WyoeSSNmfjnmakVE7jSBR8ENeBhBQ==","signatures":[{"sig":"MEUCIQDMuZYi0iw/M9Isl+p0AfTk4fOmo6pP7HX3sfwzSksKKgIgb4OF2hLLfBZT/2G+kVH+CKj+UOjVIlaSSnINmBfZdjw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25318},"main":"dist/index.js","type":"module","_from":"file:aliex7664-puppeteer-debugger-mcp-1.0.1.tgz","private":false,"scripts":{"dev":"tsup --watch","build":"tsup","start":"node dist/index.js"},"_npmUser":{"name":"aliex7664","email":"814574525@qq.com"},"_resolved":"C:\\Users\\Aliex\\AppData\\Local\\Temp\\3feb40971f321774d37e7a72cf6be0e0\\aliex7664-puppeteer-debugger-mcp-1.0.1.tgz","_integrity":"sha512-W163nKUmMFCuqXt3gjiDgBa2etv7kLdNzaT6B5573+4zpjsUwI7ph0DJ9WyoeSSNmfjnmakVE7jSBR8ENeBhBQ==","_npmVersion":"10.9.4","description":"MCP Server for browser debugging via CDP","directories":{},"_nodeVersion":"22.21.0","dependencies":{"zod":"^3.22.0","puppeteer":"^21.0.0","@modelcontextprotocol/sdk":"^1.24.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/puppeteer-debugger-mcp_1.0.1_1765800130315_0.36519451470012565","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@aliex7664/puppeteer-debugger-mcp","version":"1.0.2","keywords":["mcp","browser","debugging","cdp","puppeteer"],"author":{"url":"https://github.com/ALIEX7664/mcp/tree/main/debugger-mcp","name":"aliex7664"},"license":"MIT","_id":"@aliex7664/puppeteer-debugger-mcp@1.0.2","maintainers":[{"name":"aliex7664","email":"814574525@qq.com"}],"bin":{"puppeteer-debugger-mcp":"dist/index.js"},"dist":{"shasum":"6ed08fb1283a636b1ad65e4723a1840d13586f4a","tarball":"https://registry.npmjs.org/@aliex7664/puppeteer-debugger-mcp/-/puppeteer-debugger-mcp-1.0.2.tgz","fileCount":4,"integrity":"sha512-SDztowUSMMjfCIgOEQEnUZUPTao/lRCrL9zb51fkQwMkv2rxxRGvzJVXFsUH/roK8/1sdNmWvgaRFCUaZyUfdQ==","signatures":[{"sig":"MEUCIQCjyFXkNoHo2mbbMIg4mCHf4qqQmw2EDmMpP4TWMMfcjgIgJ/yUHE32nmVtjCZ6GbZqdHdzw+C08cfVwaYwf+K1b9g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25314},"main":"dist/index.js","type":"module","_from":"file:aliex7664-puppeteer-debugger-mcp-1.0.2.tgz","private":false,"scripts":{"dev":"tsup --watch","build":"tsup","start":"node dist/index.js"},"_npmUser":{"name":"aliex7664","email":"814574525@qq.com"},"_resolved":"C:\\Users\\Aliex\\AppData\\Local\\Temp\\4421a9793c816d4667cd8ed475b0be33\\aliex7664-puppeteer-debugger-mcp-1.0.2.tgz","_integrity":"sha512-SDztowUSMMjfCIgOEQEnUZUPTao/lRCrL9zb51fkQwMkv2rxxRGvzJVXFsUH/roK8/1sdNmWvgaRFCUaZyUfdQ==","_npmVersion":"10.9.4","description":"MCP Server for browser debugging via CDP","directories":{},"_nodeVersion":"22.21.0","dependencies":{"zod":"^3.22.0","puppeteer":"^21.0.0","@modelcontextprotocol/sdk":"^1.24.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/puppeteer-debugger-mcp_1.0.2_1765801246306_0.6665470757167598","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@aliex7664/puppeteer-debugger-mcp","version":"1.0.3","keywords":["mcp","browser","debugging","cdp","puppeteer"],"author":{"url":"https://github.com/ALIEX7664/mcp","name":"aliex7664"},"license":"MIT","_id":"@aliex7664/puppeteer-debugger-mcp@1.0.3","maintainers":[{"name":"aliex7664","email":"814574525@qq.com"}],"homepage":"https://github.com/ALIEX7664/mcp#readme","bugs":{"url":"https://github.com/ALIEX7664/mcp/issues"},"bin":{"puppeteer-debugger-mcp":"dist/index.js"},"dist":{"shasum":"65e9de1650e14574f830e5bd49e8471f2a0170a3","tarball":"https://registry.npmjs.org/@aliex7664/puppeteer-debugger-mcp/-/puppeteer-debugger-mcp-1.0.3.tgz","fileCount":4,"integrity":"sha512-mE7ul2AIHnW+3ginqWRyKxWkRbB4+c2l0tVOMs+5Kwht++QKU+/vpCmzQJDOSPgHHV52Cf/RdVXmHu5ysHTFpQ==","signatures":[{"sig":"MEUCIBgdOJq34lzhFasbX+etilGdwylWrdFGzrz32iR2OM4lAiEApZFImpJ6xhOMhtJiDK67HJoDqMq+hTX0k8Jrncmp8tg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26728},"main":"dist/index.js","type":"module","gitHead":"08133d64c4624837160d18e6f998a82fa8f4b361","private":false,"release":{"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator",["@semantic-release/changelog",{"changelogFile":"CHANGELOG.md"}],["@semantic-release/npm",{"pkgRoot":".","npmPublish":true}],["@semantic-release/git",{"assets":["package.json","CHANGELOG.md"],"message":"chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"}],["@semantic-release/github",{"releasedLabels":false,"successComment":false}]],"branches":["main"]},"scripts":{"dev":"tsup --watch","build":"tsup","start":"node dist/index.js"},"_npmUser":{"name":"aliex7664","email":"814574525@qq.com"},"repository":{"url":"git+https://github.com/ALIEX7664/mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"MCP Server for browser debugging via CDP","directories":{},"_nodeVersion":"20.19.5","dependencies":{"zod":"^3.22.0","puppeteer":"^21.0.0","@modelcontextprotocol/sdk":"^1.24.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.22.0","devDependencies":{"tsup":"^8.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","semantic-release":"^25.0.2","@semantic-release/git":"^10.0.1","@semantic-release/changelog":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/puppeteer-debugger-mcp_1.0.3_1765813939420_0.14023537493474403","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@aliex7664/puppeteer-debugger-mcp","version":"1.0.4","keywords":["mcp","browser","debugging","cdp","puppeteer"],"author":{"url":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server","name":"aliex7664"},"license":"MIT","_id":"@aliex7664/puppeteer-debugger-mcp@1.0.4","maintainers":[{"name":"aliex7664","email":"814574525@qq.com"}],"homepage":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server#readme","bugs":{"url":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server/issues"},"bin":{"puppeteer-debugger-mcp":"dist/index.js"},"dist":{"shasum":"5edb6f371d6e6aa7a22a11acab99589dbcb5d991","tarball":"https://registry.npmjs.org/@aliex7664/puppeteer-debugger-mcp/-/puppeteer-debugger-mcp-1.0.4.tgz","fileCount":4,"integrity":"sha512-m+LYogTxI+WIghTRmQVb3tM0IHq4EYu28GFaSHNjJvahzRPR/TWQFu9GnW6YonfbJor7i4A7DDl1SIWGA++Hhg==","signatures":[{"sig":"MEYCIQChzZ2BFMsqC7qy2Rt4oIKcMN7YSKWxZxGyVoqyvaohvQIhANAxC16Dz+wK/iS8l/a/nUC9matM9kWFe0J7+X3MeBYc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33312},"main":"dist/index.js","type":"module","gitHead":"ab066cdd155772a005ee902f3e760e7d0a5b2d82","private":false,"release":{"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator",["@semantic-release/changelog",{"changelogFile":"CHANGELOG.md"}],["@semantic-release/npm",{"pkgRoot":".","npmPublish":true}],["@semantic-release/git",{"assets":["package.json","CHANGELOG.md"],"message":"chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"}],["@semantic-release/github",{"releasedLabels":false,"successComment":false}]],"branches":["main"]},"scripts":{"dev":"tsup --watch","build":"tsup","start":"node dist/index.js"},"_npmUser":{"name":"aliex7664","email":"814574525@qq.com"},"repository":{"url":"git+https://github.com/ALIEX7664/puppeteer-debugger-mcp-server.git","type":"git"},"_npmVersion":"10.8.2","description":"MCP Server for browser debugging via CDP","directories":{},"_nodeVersion":"20.19.5","dependencies":{"zod":"^3.22.0","lighthouse":"^12.0.0","puppeteer-core":"^21.0.0","@modelcontextprotocol/sdk":"^1.24.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.22.0","devDependencies":{"tsup":"^8.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","semantic-release":"^25.0.2","@semantic-release/git":"^10.0.1","@semantic-release/changelog":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/puppeteer-debugger-mcp_1.0.4_1765898539648_0.4299410232848435","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@aliex7664/puppeteer-debugger-mcp","version":"1.0.5","keywords":["mcp","browser","debugging","cdp","puppeteer"],"author":{"url":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server","name":"aliex7664"},"license":"MIT","_id":"@aliex7664/puppeteer-debugger-mcp@1.0.5","maintainers":[{"name":"aliex7664","email":"814574525@qq.com"}],"homepage":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server#readme","bugs":{"url":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server/issues"},"bin":{"puppeteer-debugger-mcp":"dist/index.js"},"dist":{"shasum":"9b779c5ac78c80839f33744fa76c6605cc4cee3f","tarball":"https://registry.npmjs.org/@aliex7664/puppeteer-debugger-mcp/-/puppeteer-debugger-mcp-1.0.5.tgz","fileCount":4,"integrity":"sha512-0FG0I7xY7IP1qhUibk7afMKNPUEwUj0IJgENiXnJMTVrTv2s7yCHxEi65MratVgTIwdOvB5Z+/rQ18JhsBBZWQ==","signatures":[{"sig":"MEUCIBzKyFXR9wB6JAVYLK2DjqxCjdENFW+LwNXTZlD5cRcDAiEA6Vh7wks8dh4o3gXkfA2ricMFAMFckkn+h4y4q5BTUbk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36026},"main":"dist/index.js","type":"module","gitHead":"03e0ee8199a2dc6540a18848696fd5af1afac3c5","private":false,"release":{"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator",["@semantic-release/changelog",{"changelogFile":"CHANGELOG.md"}],["@semantic-release/npm",{"pkgRoot":".","npmPublish":true}],["@semantic-release/git",{"assets":["package.json","CHANGELOG.md"],"message":"chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"}],["@semantic-release/github",{"releasedLabels":false,"successComment":false}]],"branches":["main"]},"scripts":{"dev":"tsup --watch","build":"tsup","start":"node dist/index.js"},"_npmUser":{"name":"aliex7664","email":"814574525@qq.com"},"repository":{"url":"git+https://github.com/ALIEX7664/puppeteer-debugger-mcp-server.git","type":"git"},"_npmVersion":"10.8.2","description":"MCP Server for browser debugging via CDP","directories":{},"_nodeVersion":"20.19.5","dependencies":{"zod":"^3.22.0","puppeteer-core":"^21.0.0","@modelcontextprotocol/sdk":"^1.24.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.22.0","devDependencies":{"tsup":"^8.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","semantic-release":"^25.0.2","@semantic-release/git":"^10.0.1","@semantic-release/changelog":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/puppeteer-debugger-mcp_1.0.5_1765900085058_0.891856392486186","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@aliex7664/puppeteer-debugger-mcp","version":"1.0.6","keywords":["mcp","browser","debugging","cdp","puppeteer"],"author":{"url":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server","name":"aliex7664"},"license":"MIT","_id":"@aliex7664/puppeteer-debugger-mcp@1.0.6","maintainers":[{"name":"aliex7664","email":"814574525@qq.com"}],"homepage":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server#readme","bugs":{"url":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server/issues"},"bin":{"puppeteer-debugger-mcp":"dist/index.js"},"dist":{"shasum":"5e4f3f7ea2f943d3b954c2b2793afe0fb9fac27d","tarball":"https://registry.npmjs.org/@aliex7664/puppeteer-debugger-mcp/-/puppeteer-debugger-mcp-1.0.6.tgz","fileCount":4,"integrity":"sha512-22kpb3KIktV6bYd6PgPBSra1bDVjNGjhEYyJnu0TH4ecaRrnwjqEvHaRh1Ennm57pUj+H4FOTdOs821X+v0fKw==","signatures":[{"sig":"MEQCICCSuEbpS6204FnKcx92We5l295LZSp0+c1h53uR+lDMAiBonecw0MsGWzatYnR9abuvZZqzVbFE6Pu9j644Vsv/mA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36026},"main":"dist/index.js","type":"module","gitHead":"87253aeec0a3041a526907c393e6657961b8d6bf","private":false,"release":{"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator",["@semantic-release/changelog",{"changelogFile":"CHANGELOG.md"}],["@semantic-release/npm",{"pkgRoot":".","npmPublish":true}],["@semantic-release/git",{"assets":["package.json","CHANGELOG.md"],"message":"chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"}],["@semantic-release/github",{"releasedLabels":false,"successComment":false}]],"branches":["main"]},"scripts":{"dev":"tsup --watch","build":"tsup","start":"node dist/index.js"},"_npmUser":{"name":"aliex7664","email":"814574525@qq.com"},"repository":{"url":"git+https://github.com/ALIEX7664/puppeteer-debugger-mcp-server.git","type":"git"},"_npmVersion":"10.8.2","description":"MCP Server for browser debugging via CDP","directories":{},"_nodeVersion":"20.19.5","dependencies":{"zod":"^3.22.0","puppeteer-core":"^21.0.0","@modelcontextprotocol/sdk":"^1.24.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.22.0","devDependencies":{"tsup":"^8.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","semantic-release":"^25.0.2","@semantic-release/git":"^10.0.1","@semantic-release/changelog":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/puppeteer-debugger-mcp_1.0.6_1765900409089_0.6015390075210523","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@aliex7664/puppeteer-debugger-mcp","version":"1.0.7","keywords":["mcp","browser","debugging","cdp","puppeteer"],"author":{"url":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server","name":"aliex7664"},"license":"MIT","_id":"@aliex7664/puppeteer-debugger-mcp@1.0.7","maintainers":[{"name":"aliex7664","email":"814574525@qq.com"}],"homepage":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server#readme","bugs":{"url":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server/issues"},"bin":{"puppeteer-debugger-mcp":"dist/index.js"},"dist":{"shasum":"d3b850165c267000b4026c065cd997f2983a9acf","tarball":"https://registry.npmjs.org/@aliex7664/puppeteer-debugger-mcp/-/puppeteer-debugger-mcp-1.0.7.tgz","fileCount":4,"integrity":"sha512-497emhlnK1eoey1K8EBaVYUQsgUbl3UfcJ0EFDKWB00gfGHKgmYeAdjQmO7GjBfesOOOhsBaNQ35wXk1aivCWA==","signatures":[{"sig":"MEQCICN2gqk/tE4a3zVD5L5KySEiJ1WA5vEtanjFxomU2zgHAiA5a+saKWaWf7yJrQTQnN7RdErqLvwnl0pQv69hI95L/Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35223},"main":"dist/index.js","type":"module","gitHead":"1e9b983ce9b54d68bf5a7b16680fbdde0b1a3a7a","private":false,"release":{"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator",["@semantic-release/changelog",{"changelogFile":"CHANGELOG.md"}],["@semantic-release/npm",{"pkgRoot":".","npmPublish":true}],["@semantic-release/git",{"assets":["package.json","CHANGELOG.md"],"message":"chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"}],["@semantic-release/github",{"releasedLabels":false,"successComment":false}]],"branches":["main"]},"scripts":{"dev":"tsup --watch","build":"tsup","start":"node dist/index.js"},"_npmUser":{"name":"aliex7664","email":"814574525@qq.com"},"repository":{"url":"git+https://github.com/ALIEX7664/puppeteer-debugger-mcp-server.git","type":"git"},"_npmVersion":"10.8.2","description":"MCP Server for browser debugging via CDP","directories":{},"_nodeVersion":"20.19.5","dependencies":{"zod":"^3.22.0","puppeteer":"^21.0.0","@modelcontextprotocol/sdk":"^1.24.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.22.0","devDependencies":{"tsup":"^8.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","semantic-release":"^25.0.2","@semantic-release/git":"^10.0.1","@semantic-release/changelog":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/puppeteer-debugger-mcp_1.0.7_1765901462704_0.8180062622015272","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@aliex7664/puppeteer-debugger-mcp","version":"2.0.0","keywords":["mcp","browser","debugging","cdp","puppeteer"],"author":{"url":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server","name":"aliex7664"},"license":"MIT","_id":"@aliex7664/puppeteer-debugger-mcp@2.0.0","maintainers":[{"name":"aliex7664","email":"814574525@qq.com"}],"homepage":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server#readme","bugs":{"url":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server/issues"},"bin":{"puppeteer-debugger-mcp":"dist/index.js"},"dist":{"shasum":"df2b7be10d7902e21501cbec295a2c248255a5d5","tarball":"https://registry.npmjs.org/@aliex7664/puppeteer-debugger-mcp/-/puppeteer-debugger-mcp-2.0.0.tgz","fileCount":4,"integrity":"sha512-2bH3bbA4Q+Tg7OnyJ4+4/PLBAGN10/ggFPvd0zoo6Dz9iiafDnsY/duA9sRlRBd+pNmeH0zcxgrBCFKDkboy9g==","signatures":[{"sig":"MEUCIGf78jbbM0Gt0X+JneMaC0E0bLcMqTRvXeOJs9UAX0LrAiEA+2cqj91myZEVo3rWhqAPOwaKYWPgUleLU88fIFL4rSE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35230},"main":"dist/index.js","type":"module","gitHead":"076abcd6ab3836261e5de4066e8b990fa83f85b7","private":false,"release":{"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator",["@semantic-release/changelog",{"changelogFile":"CHANGELOG.md"}],["@semantic-release/npm",{"pkgRoot":".","npmPublish":true}],["@semantic-release/git",{"assets":["package.json","CHANGELOG.md"],"message":"chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"}],["@semantic-release/github",{"releasedLabels":false,"successComment":false}]],"branches":["main"]},"scripts":{"dev":"tsup --watch","build":"tsup","start":"node dist/index.js"},"_npmUser":{"name":"aliex7664","email":"814574525@qq.com"},"repository":{"url":"git+https://github.com/ALIEX7664/puppeteer-debugger-mcp-server.git","type":"git"},"_npmVersion":"10.8.2","description":"MCP Server for browser debugging via CDP","directories":{},"_nodeVersion":"20.19.5","dependencies":{"zod":"^3.22.0","puppeteer":"^21.0.0","@modelcontextprotocol/sdk":"^1.24.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.22.0","devDependencies":{"tsup":"^8.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","semantic-release":"^25.0.2","@semantic-release/git":"^10.0.1","@semantic-release/changelog":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/puppeteer-debugger-mcp_2.0.0_1765902677578_0.08081146382287585","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@aliex7664/puppeteer-debugger-mcp","version":"2.1.0","keywords":["mcp","browser","debugging","cdp","puppeteer"],"author":{"url":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server","name":"aliex7664"},"license":"MIT","_id":"@aliex7664/puppeteer-debugger-mcp@2.1.0","maintainers":[{"name":"aliex7664","email":"814574525@qq.com"}],"homepage":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server#readme","bugs":{"url":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server/issues"},"bin":{"puppeteer-debugger-mcp":"dist/index.js"},"dist":{"shasum":"9619b2f5ff1dad41ee37971e8e9085f10f9985fa","tarball":"https://registry.npmjs.org/@aliex7664/puppeteer-debugger-mcp/-/puppeteer-debugger-mcp-2.1.0.tgz","fileCount":4,"integrity":"sha512-VW2z4oY8itNvZGomAyyihVkUJa+P6jH7ZqbYYDbIP1hEnKkOnw9hB/69ow2HBaGlB7rxq5814t0xxj7KKwfTEw==","signatures":[{"sig":"MEQCIG8c3xzeK3GdzwHZ8apeUb60XWFZ2GNIdIr9vNXVquV1AiAgfaNx434hn8JX1dsdkPlofPetkDFAqc5nL9yzkF5ZkA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42561},"main":"dist/index.js","type":"module","gitHead":"5f57e190c1cd35babe7b18466b600db05b41ff66","private":false,"release":{"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator",["@semantic-release/changelog",{"changelogFile":"CHANGELOG.md"}],["@semantic-release/npm",{"pkgRoot":".","npmPublish":true}],["@semantic-release/git",{"assets":["package.json","CHANGELOG.md"],"message":"chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"}],["@semantic-release/github",{"releasedLabels":false,"successComment":false}]],"branches":["main"]},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","start":"node dist/index.js","test:ui":"vitest --ui","inspector":"pnpm run build && pnpm dlx  @modelcontextprotocol/inspector node dist/index.js","test:unit":"vitest run tests/unit","test:local":"tsx scripts/test-local.ts","test:coverage":"vitest run --coverage","inspector:debug":"pnpm run build && pnpm dlx  @modelcontextprotocol/inspector node --inspect-brk=9229 dist/index.js","test:integration":"vitest run tests/integration"},"_npmUser":{"name":"aliex7664","email":"814574525@qq.com"},"repository":{"url":"git+https://github.com/ALIEX7664/puppeteer-debugger-mcp-server.git","type":"git"},"_npmVersion":"10.8.2","description":"MCP Server for browser debugging via CDP","directories":{},"_nodeVersion":"20.19.5","dependencies":{"zod":"^3.22.0","puppeteer":"^21.0.0","@modelcontextprotocol/sdk":"^1.24.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.22.0","devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","vitest":"^4.0.16","@vitest/ui":"^4.0.16","typescript":"^5.0.0","@types/node":"^20.0.0","semantic-release":"^25.0.2","@vitest/coverage-v8":"^4.0.16","@semantic-release/git":"^10.0.1","@semantic-release/changelog":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/puppeteer-debugger-mcp_2.1.0_1766053975554_0.33677319557930385","host":"s3://npm-registry-packages-npm-production"}},"2.1.1":{"name":"@aliex7664/puppeteer-debugger-mcp","version":"2.1.1","keywords":["mcp","browser","debugging","cdp","puppeteer"],"author":{"url":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server","name":"aliex7664"},"license":"MIT","_id":"@aliex7664/puppeteer-debugger-mcp@2.1.1","maintainers":[{"name":"aliex7664","email":"814574525@qq.com"}],"homepage":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server#readme","bugs":{"url":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server/issues"},"bin":{"puppeteer-debugger-mcp":"dist/index.js"},"dist":{"shasum":"228a9fb999c76c42b34a76d671eeea3729f61b54","tarball":"https://registry.npmjs.org/@aliex7664/puppeteer-debugger-mcp/-/puppeteer-debugger-mcp-2.1.1.tgz","fileCount":4,"integrity":"sha512-/NEZ942/5KtrRgw0IhSGCVPLIYTzMChNyQ0vXICegEuo33snBfFike3gE+doQhYjZ2i+Ogq/DctVav4rbhKLCw==","signatures":[{"sig":"MEUCIQCIZc4Oaj+E8ECWwpLh2zhAv5z6nHmGrUm/b/vm6TnLbAIgIgP/NiRNJq+L8NLQAPiUu/PDadsSlDBZ3IszggXo2N8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43894},"main":"dist/index.js","type":"module","gitHead":"dbba5093d93363725c20f0680192f0ecd914b1e5","private":false,"release":{"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator",["@semantic-release/changelog",{"changelogFile":"CHANGELOG.md"}],["@semantic-release/npm",{"pkgRoot":".","npmPublish":true}],["@semantic-release/git",{"assets":["package.json","CHANGELOG.md"],"message":"chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"}],["@semantic-release/github",{"releasedLabels":false,"successComment":false}]],"branches":["main"]},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","start":"node dist/index.js","test:ui":"vitest --ui","inspector":"pnpm run build && pnpm dlx  @modelcontextprotocol/inspector node dist/index.js","test:unit":"vitest run tests/unit","test:local":"tsx scripts/test-local.ts","test:coverage":"vitest run --coverage","inspector:debug":"pnpm run build && pnpm dlx  @modelcontextprotocol/inspector node --inspect-brk=9229 dist/index.js","test:integration":"vitest run tests/integration"},"_npmUser":{"name":"aliex7664","email":"814574525@qq.com"},"repository":{"url":"git+https://github.com/ALIEX7664/puppeteer-debugger-mcp-server.git","type":"git"},"_npmVersion":"10.8.2","description":"MCP Server for browser debugging via CDP","directories":{},"_nodeVersion":"20.19.5","dependencies":{"zod":"^3.22.0","puppeteer":"^21.0.0","@modelcontextprotocol/sdk":"^1.24.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.22.0","devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","vitest":"^4.0.16","@vitest/ui":"^4.0.16","typescript":"^5.0.0","@types/node":"^20.0.0","semantic-release":"^25.0.2","@vitest/coverage-v8":"^4.0.16","@semantic-release/git":"^10.0.1","@semantic-release/changelog":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/puppeteer-debugger-mcp_2.1.1_1766057190198_0.09764002690613194","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"@aliex7664/puppeteer-debugger-mcp","version":"2.2.0","keywords":["mcp","browser","debugging","cdp","puppeteer"],"author":{"url":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server","name":"aliex7664"},"license":"MIT","_id":"@aliex7664/puppeteer-debugger-mcp@2.2.0","maintainers":[{"name":"aliex7664","email":"814574525@qq.com"}],"homepage":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server#readme","bugs":{"url":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server/issues"},"bin":{"puppeteer-debugger-mcp":"dist/index.js"},"dist":{"shasum":"57dbfc4dd831c8baf3711fb41fff94eaad18708e","tarball":"https://registry.npmjs.org/@aliex7664/puppeteer-debugger-mcp/-/puppeteer-debugger-mcp-2.2.0.tgz","fileCount":4,"integrity":"sha512-jrc7yl5PkPry7nFOJePA3JOBuflGJs84CQedNG4KGfRu/8bJPVzQZyQupuyZ3pCTsWu9p/EMKbDiAOodKIDesw==","signatures":[{"sig":"MEUCIQCUL/HuMa3u6HXXCRCZjQgVNj1wEqm0hCgx6UnloBi9OAIgDOh9ee23SjERoht007mlLFRuoWg5FC61qbtI/MskpyE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51223},"main":"dist/index.js","type":"module","gitHead":"fef2a00951c59d045048621743729df4052ab934","private":false,"release":{"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator",["@semantic-release/changelog",{"changelogFile":"CHANGELOG.md"}],["@semantic-release/npm",{"pkgRoot":".","npmPublish":true}],["@semantic-release/git",{"assets":["package.json","CHANGELOG.md"],"message":"chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"}],["@semantic-release/github",{"releasedLabels":false,"successComment":false}]],"branches":["main"]},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","start":"node dist/index.js","test:ui":"vitest --ui","inspector":"pnpm run build && pnpm dlx  @modelcontextprotocol/inspector node dist/index.js","test:unit":"vitest run tests/unit","test:local":"tsx scripts/test-local.ts","test:coverage":"vitest run --coverage","inspector:debug":"pnpm run build && pnpm dlx  @modelcontextprotocol/inspector node --inspect-brk=9229 dist/index.js","test:integration":"vitest run tests/integration"},"_npmUser":{"name":"aliex7664","email":"814574525@qq.com"},"repository":{"url":"git+https://github.com/ALIEX7664/puppeteer-debugger-mcp-server.git","type":"git"},"_npmVersion":"10.8.2","description":"MCP Server for browser debugging via CDP","directories":{},"_nodeVersion":"20.19.5","dependencies":{"zod":"^3.22.0","puppeteer":"^21.0.0","@modelcontextprotocol/sdk":"^1.24.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.22.0","devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.0","vitest":"^4.0.16","@vitest/ui":"^4.0.16","typescript":"^5.0.0","@types/node":"^20.0.0","semantic-release":"^25.0.2","@vitest/coverage-v8":"^4.0.16","@semantic-release/git":"^10.0.1","@semantic-release/changelog":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/puppeteer-debugger-mcp_2.2.0_1766060708592_0.3743022367659741","host":"s3://npm-registry-packages-npm-production"}},"2.3.0":{"name":"@aliex7664/puppeteer-debugger-mcp","version":"2.3.0","private":false,"description":"MCP Server for browser debugging via CDP","main":"dist/index.js","type":"module","packageManager":"pnpm@10.22.0","bin":{"puppeteer-debugger-mcp":"dist/index.js"},"scripts":{"build":"tsup","start":"node dist/index.js","dev":"tsup --watch","inspector":"pnpm run build && pnpm dlx  @modelcontextprotocol/inspector node dist/index.js","inspector:debug":"pnpm run build && pnpm dlx  @modelcontextprotocol/inspector node --inspect-brk=9229 dist/index.js","test":"vitest run","test:unit":"vitest run tests/unit","test:integration":"vitest run tests/integration","test:coverage":"vitest run --coverage","test:ui":"vitest --ui","test:local":"tsx scripts/test-local.ts"},"keywords":["mcp","browser","debugging","cdp","puppeteer"],"author":{"name":"aliex7664","url":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server"},"repository":{"type":"git","url":"git+https://github.com/ALIEX7664/puppeteer-debugger-mcp-server.git"},"bugs":{"url":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server/issues"},"homepage":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server#readme","publishConfig":{"access":"public"},"license":"MIT","dependencies":{"@modelcontextprotocol/sdk":"^1.24.3","puppeteer":"^21.0.0","zod":"^3.22.0"},"devDependencies":{"@semantic-release/changelog":"^6.0.3","@semantic-release/git":"^10.0.1","@types/node":"^20.0.0","@vitest/coverage-v8":"^4.0.16","@vitest/ui":"^4.0.16","semantic-release":"^25.0.2","tsup":"^8.0.0","tsx":"^4.21.0","typescript":"^5.0.0","vitest":"^4.0.16"},"release":{"branches":["main"],"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator",["@semantic-release/changelog",{"changelogFile":"CHANGELOG.md"}],["@semantic-release/npm",{"npmPublish":true,"pkgRoot":"."}],["@semantic-release/git",{"assets":["package.json","CHANGELOG.md"],"message":"chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"}],["@semantic-release/github",{"successComment":false,"releasedLabels":false}]]},"_id":"@aliex7664/puppeteer-debugger-mcp@2.3.0","gitHead":"e0fa46e323419454655933d874fc369e767abd00","_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-jFos6/E2idzcDcLjQwu4/pukyOon1gbAVFFr9JPJXyeIQNthXoJbvxmaKpzM37CwicfwRvUdB8MiQ4QcVBnSUQ==","shasum":"53ae95fac54b6988a4ac99a315c2ed2b9fe47885","tarball":"https://registry.npmjs.org/@aliex7664/puppeteer-debugger-mcp/-/puppeteer-debugger-mcp-2.3.0.tgz","fileCount":4,"unpackedSize":66124,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIA397+yZUocyt9TA+U2XNUG0np4EXu0Og07DohnhxRLJAiBpfg0LjbLLQnacxW7tHi+5qa/UP/xEkXFhyAXdIxu08w=="}]},"_npmUser":{"name":"aliex7664","email":"814574525@qq.com"},"directories":{},"maintainers":[{"name":"aliex7664","email":"814574525@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/puppeteer-debugger-mcp_2.3.0_1766407600527_0.376498056815479"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-15T11:55:43.951Z","modified":"2025-12-22T12:46:40.871Z","1.0.0":"2025-12-15T11:55:44.435Z","1.0.1":"2025-12-15T12:02:10.452Z","1.0.2":"2025-12-15T12:20:46.455Z","1.0.3":"2025-12-15T15:52:19.577Z","1.0.4":"2025-12-16T15:22:19.797Z","1.0.5":"2025-12-16T15:48:05.192Z","1.0.6":"2025-12-16T15:53:29.228Z","1.0.7":"2025-12-16T16:11:02.848Z","2.0.0":"2025-12-16T16:31:17.716Z","2.1.0":"2025-12-18T10:32:55.700Z","2.1.1":"2025-12-18T11:26:30.332Z","2.2.0":"2025-12-18T12:25:08.722Z","2.3.0":"2025-12-22T12:46:40.663Z"},"bugs":{"url":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server/issues"},"author":{"name":"aliex7664","url":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server"},"license":"MIT","homepage":"https://github.com/ALIEX7664/puppeteer-debugger-mcp-server#readme","keywords":["mcp","browser","debugging","cdp","puppeteer"],"repository":{"type":"git","url":"git+https://github.com/ALIEX7664/puppeteer-debugger-mcp-server.git"},"description":"MCP Server for browser debugging via CDP","maintainers":[{"name":"aliex7664","email":"814574525@qq.com"}],"readme":"# 浏览器调试 MCP Server\n\n[![npm version](https://img.shields.io/npm/v/@aliex7664/puppeteer-debugger-mcp?style=flat-square)](https://www.npmjs.com/package/@aliex7664/puppeteer-debugger-mcp)\n[![CI](https://github.com/ALIEX7664/puppeteer-debugger-mcp-server/workflows/CI/badge.svg)](https://github.com/ALIEX7664/puppeteer-debugger-mcp-server/actions)\n\n一个基于 Puppeteer 和 Chrome DevTools Protocol (CDP) 的 MCP Server 插件，支持通过持久化浏览器连接进行网页调试、性能分析和内存检测。\n\n## 功能特性\n\n- **Console 异常检查**：监听和收集 Console 错误、警告和日志\n- **元素状态检查**：检查 DOM 元素的属性、样式、可见性和交互性\n- **缓存状态检查**：获取 LocalStorage、SessionStorage、Cookies 和 IndexedDB 状态\n- **性能数据获取**：收集 Performance Timeline 和页面加载指标\n- **内存堆栈分析**：获取堆快照、分析内存使用、跟踪对象分配、检测内存泄漏\n- **持久化连接**：浏览器实例在 Server 启动时创建，保持运行直到 Server 关闭，提高性能\n\n## 系统要求\n\n- Node.js 20 或更高版本\n- Chrome 或 Chromium 浏览器\n\n## 安装与配置\n\n在 MCP 客户端（如 Cursor、Claude Desktop 等）的配置文件中添加以下配置：\n\n```json\n{\n  \"mcpServers\": {\n    \"puppeteer-debugger-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@aliex7664/puppeteer-debugger-mcp@latest\"]\n    }\n  }\n}\n```\n\n配置完成后，重启 MCP 客户端即可使用。`npx` 会自动下载并运行最新版本的包，无需手动安装。\n\n## 可用工具\n\n### 1. navigate\n\n导航到指定 URL。\n\n**参数：**\n\n- `url` (string, 必需): 要导航到的 URL\n\n**示例：**\n\n```json\n{\n  \"name\": \"navigate\",\n  \"arguments\": {\n    \"url\": \"https://example.com\"\n  }\n}\n```\n\n### 2. get_console_errors\n\n获取 Console 异常和日志。\n\n**参数：**\n\n- `url` (string, 可选): 页面 URL，如果未提供则使用当前页面\n- `level` (string, 可选): 日志级别过滤 (`error` | `warning` | `all`)，默认为 `all`\n\n**示例：**\n\n```json\n{\n  \"name\": \"get_console_errors\",\n  \"arguments\": {\n    \"url\": \"https://example.com\",\n    \"level\": \"error\"\n  }\n}\n```\n\n### 3. check_element\n\n检查元素状态（属性、样式、可见性等）。\n\n**参数：**\n\n- `selector` (string, 必需): CSS 选择器\n- `url` (string, 可选): 页面 URL\n\n**示例：**\n\n```json\n{\n  \"name\": \"check_element\",\n  \"arguments\": {\n    \"selector\": \"#my-button\",\n    \"url\": \"https://example.com\"\n  }\n}\n```\n\n### 4. get_cache_status\n\n获取缓存状态（LocalStorage、SessionStorage、Cookies、IndexedDB）。\n\n**参数：**\n\n- `url` (string, 可选): 页面 URL\n\n**示例：**\n\n```json\n{\n  \"name\": \"get_cache_status\",\n  \"arguments\": {\n    \"url\": \"https://example.com\"\n  }\n}\n```\n\n### 5. get_performance\n\n获取性能数据（Performance Timeline、页面加载指标）。\n\n**参数：**\n\n- `url` (string, 可选): 页面 URL\n\n**示例：**\n\n```json\n{\n  \"name\": \"get_performance\",\n  \"arguments\": {\n    \"url\": \"https://example.com\"\n  }\n}\n```\n\n### 6. get_heap_snapshot\n\n获取堆快照。\n\n**参数：**\n\n- `url` (string, 可选): 页面 URL\n- `topN` (number, 可选): Top N（构造函数/节点）数量，默认 20\n- `collectGarbage` (boolean, 可选): 采集前是否触发 GC，默认 false\n- `maxSnapshotBytes` (number, 可选): raw snapshot 采集最大字节数，默认 200MB（超出将截断并跳过解析）\n- `maxParseBytes` (number, 可选): JSON.parse 解析最大字节数，默认 50MB（超出将跳过解析）\n- `export` (object, 可选): raw snapshot 导出选项\n  - `mode` ('none' | 'file' | 'inline' | 'both', 可选): 导出方式，默认 `none`\n  - `filePath` (string, 可选): file/both 模式输出路径；不填则默认写入当前目录下的 `./.heapsnapshot/`（服务端会自动创建目录）\n  - `maxInlineBytes` (number, 可选): inline/both 模式 inline 输出最大字节数（超出截断）\n\n**示例：**\n\n```json\n{\n  \"name\": \"get_heap_snapshot\",\n  \"arguments\": {\n    \"url\": \"https://example.com\",\n    \"topN\": 20,\n    \"export\": {\n      \"mode\": \"both\",\n      \"maxInlineBytes\": 65536\n    }\n  }\n}\n```\n\n**返回（new shape）：**\n\n- `timestamp`: 采集时间戳\n- `summary`: 解析摘要（`parsed` 为 true 时包含 `totalNodes/totalSizeBytes/topConstructors/topNodes`）\n- `export`: raw snapshot 导出结果（file/inline/both）\n- `limitations`（可选）: 截断/跳过解析等限制说明\n\n**兼容字段（deprecated，计划下个 major 移除）：**\n\n- `totalSize`：请迁移到 `summary.totalSizeBytes`\n- `totalNodes`：请迁移到 `summary.totalNodes`\n- `nodes`：为避免响应过大，可能仅返回 TopN 节点（截断）；请迁移到 `summary.topNodes`（或使用 `export.filePath` 导出原始快照后再做离线分析）\n\n### 7. analyze_memory\n\n分析内存使用情况。\n\n**参数：**\n\n- `url` (string, 可选): 页面 URL\n\n**示例：**\n\n```json\n{\n  \"name\": \"analyze_memory\",\n  \"arguments\": {\n    \"url\": \"https://example.com\"\n  }\n}\n```\n\n### 8. track_allocations\n\n跟踪对象分配。\n\n**参数：**\n\n- `url` (string, 可选): 页面 URL\n- `duration` (number, 可选): 跟踪时长（毫秒），默认 5000\n- `topN` (number, 可选): Top N（调用栈）数量，默认 20\n- `collectGarbage` (boolean, 可选): 采集前是否触发 GC，默认 false\n- `maxSnapshotBytes` (number, 可选): raw profile（带 trace 的 heap snapshot）采集最大字节数，默认 200MB\n- `maxParseBytes` (number, 可选): JSON.parse 解析最大字节数，默认 50MB\n- `export` (object, 可选): raw profile 导出选项（推荐 `file`，避免响应过大）\n  - `mode` (string, 可选): `none` | `file` | `inline` | `both`\n  - `filePath` (string, 可选): `file/both` 模式输出路径（推荐相对路径，如 `./.heapsnapshot/alloc.heapsnapshot`）\n  - `maxInlineBytes` (number, 可选): `inline/both` 模式 inline 最大字节数（超出截断）\n\n**示例：**\n\n```json\n{\n  \"name\": \"track_allocations\",\n  \"arguments\": {\n    \"url\": \"https://example.com\",\n    \"duration\": 10000,\n    \"topN\": 20,\n    \"export\": {\n      \"mode\": \"file\",\n      \"filePath\": \"./.heapsnapshot/alloc-example.heapsnapshot\"\n    }\n  }\n}\n```\n\n### 9. take_screenshot\n\n截图（辅助调试）。支持智能输出模式，自动根据图片大小选择返回 base64 或保存为文件，改进的全页截图功能可正确处理懒加载内容。\n\n**参数：**\n\n- `url` (string, 可选): 页面 URL（可选）\n- `fullPage` (boolean, 可选): 是否截取整页，默认 false\n- `outputMode` (string, 可选): 输出模式，默认 `auto`\n  - `auto`：根据图片大小自动选择（小图片返回 base64，大图片保存为文件）\n  - `file`：始终保存为文件，返回路径\n  - `inline`：始终返回 base64（仅用于小图片）\n- `filePath` (string, 可选): 文件保存路径（file/auto 模式使用，默认：`./screenshots/screenshot-{timestamp}-{random}.png`）\n- `maxBase64SizeKB` (number, 可选): auto 模式阈值（KB，base64 大小，默认 100KB base64 ≈ 75KB 原图）\n- `scrollDelay` (number, 可选): 滚动后等待时间（毫秒，用于触发懒加载，默认 1000）\n- `waitForSelector` (string, 可选): 等待特定选择器加载（可选）\n\n**示例：**\n\n**基本截图（视口）：**\n\n```json\n{\n  \"name\": \"take_screenshot\",\n  \"arguments\": {\n    \"url\": \"https://example.com\"\n  }\n}\n```\n\n**全页截图（自动输出模式）：**\n\n```json\n{\n  \"name\": \"take_screenshot\",\n  \"arguments\": {\n    \"url\": \"https://example.com\",\n    \"fullPage\": true,\n    \"outputMode\": \"auto\"\n  }\n}\n```\n\n**保存为文件：**\n\n```json\n{\n  \"name\": \"take_screenshot\",\n  \"arguments\": {\n    \"url\": \"https://example.com\",\n    \"fullPage\": true,\n    \"outputMode\": \"file\",\n    \"filePath\": \"./screenshots/example.png\"\n  }\n}\n```\n\n**返回 base64（小图片）：**\n\n```json\n{\n  \"name\": \"take_screenshot\",\n  \"arguments\": {\n    \"url\": \"https://example.com\",\n    \"outputMode\": \"inline\"\n  }\n}\n```\n\n**等待特定元素加载后截图：**\n\n```json\n{\n  \"name\": \"take_screenshot\",\n  \"arguments\": {\n    \"url\": \"https://example.com\",\n    \"fullPage\": true,\n    \"waitForSelector\": \".main-content\",\n    \"scrollDelay\": 2000\n  }\n}\n```\n\n### 10. get_lighthouse\n\n获取 Lighthouse 性能报告（包括性能、可访问性、最佳实践、SEO 等指标）。\n\n**参数：**\n\n- `url` (string, 可选): 页面 URL（可选）\n- `onlyCategories` (string[], 可选): 只分析的类别（可选，如：`performance`, `accessibility`, `best-practices`, `seo`）\n- `skipAudits` (string[], 可选): 跳过的审计项 ID（可选，如：`uses-optimized-images`, `render-blocking-resources`）\n\n**示例：**\n\n```json\n{\n  \"name\": \"get_lighthouse\",\n  \"arguments\": {\n    \"url\": \"https://example.com\",\n    \"onlyCategories\": [\"performance\", \"accessibility\"],\n    \"skipAudits\": [\"uses-optimized-images\"]\n  }\n}\n```\n\n**返回结构：**\n\n返回的报告中包含以下字段：\n\n- `url`: 页面 URL\n- `fetchTime`: 报告生成时间\n- `userAgent`: 用户代理字符串\n- `categories`: 类别评分（根据 `onlyCategories` 参数过滤）\n  - `performance`: 性能评分\n  - `accessibility`: 可访问性评分\n  - `best-practices`: 最佳实践评分\n  - `seo`: SEO 评分\n- `metrics`: 性能指标\n  - `firstContentfulPaint`: 首次内容绘制时间\n  - `largestContentfulPaint`: 最大内容绘制时间\n  - `totalBlockingTime`: 总阻塞时间\n  - `cumulativeLayoutShift`: 累积布局偏移\n  - `speedIndex`: 速度指数\n  - `timeToInteractive`: 可交互时间\n  - `firstInputDelay`: 首次输入延迟\n  - `timeToFirstByte`: 首字节时间\n- `opportunities`: 优化建议（根据 `skipAudits` 参数过滤）\n- `diagnostics`: 诊断信息（根据 `skipAudits` 参数过滤）\n- `implementation`: 固定为 `\"approximation\"`，表示这是基于 Web Vitals 和 CDP 的近似实现\n- `limitations`: 限制说明数组，包含以下内容：\n  - `\"accessibility/best-practices/seo 评分为近似值，非完整审计\"`\n  - `\"指标采集基于 Web Vitals 和 CDP，可能与真实 Lighthouse 结果有差异\"`\n  - `\"部分审计项可能缺失或不完整\"`\n\n**注意事项：**\n\n- `onlyCategories` 参数用于过滤返回的类别，如果未指定则返回所有类别\n- `skipAudits` 参数用于跳过特定的审计项，这些审计项不会出现在 `opportunities` 和 `diagnostics` 中\n- 返回的评分和指标是基于 Web Vitals 和 CDP 的近似值，可能与真实 Lighthouse 结果有差异\n- `accessibility`、`best-practices` 和 `seo` 的评分为占位值，仅供参考\n\n## 使用示例\n\n### 检查页面错误\n\n```json\n// 1. 导航到页面\n{\n  \"name\": \"navigate\",\n  \"arguments\": {\n    \"url\": \"https://example.com\"\n  }\n}\n\n// 2. 获取 Console 错误\n{\n  \"name\": \"get_console_errors\",\n  \"arguments\": {\n    \"level\": \"error\"\n  }\n}\n```\n\n### 分析页面性能\n\n```json\n{\n  \"name\": \"get_performance\",\n  \"arguments\": {\n    \"url\": \"https://example.com\"\n  }\n}\n```\n\n### 检查元素状态\n\n```json\n{\n  \"name\": \"check_element\",\n  \"arguments\": {\n    \"selector\": \"button.submit\",\n    \"url\": \"https://example.com\"\n  }\n}\n```\n\n### 内存泄漏检测\n\n```json\n// 获取初始堆快照\n{\n  \"name\": \"get_heap_snapshot\",\n  \"arguments\": {\n    \"url\": \"https://example.com\"\n  }\n}\n\n// 分析内存使用情况\n{\n  \"name\": \"analyze_memory\",\n  \"arguments\": {\n    \"url\": \"https://example.com\"\n  }\n}\n\n// 跟踪对象分配\n{\n  \"name\": \"track_allocations\",\n  \"arguments\": {\n    \"url\": \"https://example.com\",\n    \"duration\": 10000\n  }\n}\n```\n\n### Lighthouse 性能分析\n\n```json\n// 获取完整的 Lighthouse 报告\n{\n  \"name\": \"get_lighthouse\",\n  \"arguments\": {\n    \"url\": \"https://example.com\"\n  }\n}\n\n// 只分析性能类别\n{\n  \"name\": \"get_lighthouse\",\n  \"arguments\": {\n    \"url\": \"https://example.com\",\n    \"onlyCategories\": [\"performance\"]\n  }\n}\n\n// 跳过特定审计项\n{\n  \"name\": \"get_lighthouse\",\n  \"arguments\": {\n    \"url\": \"https://example.com\",\n    \"skipAudits\": [\"uses-optimized-images\", \"render-blocking-resources\"]\n  }\n}\n```\n\n## 注意事项\n\n- **持久化连接**：浏览器实例在 Server 启动时创建，保持运行直到 Server 关闭。\n- **动态 URL**：所有工具都支持通过参数传入 URL。如果页面不存在，系统会自动创建新页面并导航到指定 URL。\n- **Chrome 路径**：如果系统未安装 Chrome 或 Chromium，或安装路径不在默认位置，可以通过 `PUPPETEER_EXECUTABLE_PATH` 环境变量指定浏览器路径：\n  - Windows: `C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe`\n  - macOS: `/Applications/Google Chrome.app/Contents/MacOS/Google Chrome`\n  - Linux: `/usr/bin/google-chrome` 或 `/usr/bin/chromium-browser`\n\n## 许可证\n\nMIT\n","readmeFilename":"README.md"}