{"_id":"@2sslgetlool/dev-chrome-monitor","name":"@2sslgetlool/dev-chrome-monitor","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@2sslgetlool/dev-chrome-monitor","version":"0.1.0","description":"MCP server that uses Puppeteer to monitor and control a Chrome dev instance.","type":"module","exports":"./dist/devChromeServer.mjs","bin":{"dev-chrome-monitor":"dist/devChromeServer.mjs"},"scripts":{"build":"pwsh -Command \"New-Item -ItemType Directory -Path dist -Force | Out-Null; Copy-Item src/devChromeServer.mjs dist/devChromeServer.mjs -Force\""},"dependencies":{"@modelcontextprotocol/sdk":"^1.19.1","puppeteer":"^24.23.0"},"engines":{"node":"^20.19.0 || >=22.12.0"},"repository":{"type":"git","url":"git+https://github.com/2sslgetlool/-dev-chrome-monitor.git"},"author":{"name":"2sslgetlool"},"license":"MIT","_id":"@2sslgetlool/dev-chrome-monitor@0.1.0","gitHead":"7a06d5fb446a0e3eaec332ef6c0c185ea7b37d7b","bugs":{"url":"https://github.com/2sslgetlool/-dev-chrome-monitor/issues"},"homepage":"https://github.com/2sslgetlool/-dev-chrome-monitor#readme","_nodeVersion":"22.18.0","_npmVersion":"11.5.2","dist":{"integrity":"sha512-pVXzUGAt8L8dKTL/dwU7kk3FfcpXB56wlfohCsKIu8tQtOirMXHw87gM48qIei+wVR67Jyh8VxaHoSFi13nmjA==","shasum":"f667116a464275b60493d449f719482ecf5a5d25","tarball":"https://registry.npmjs.org/@2sslgetlool/dev-chrome-monitor/-/dev-chrome-monitor-0.1.0.tgz","fileCount":4,"unpackedSize":36622,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIA1LK56SBTF0tZ06aFRdN74Iq/ygyHGxHQ3eQ7yjysgYAiEAgfT+D8Wjph9Kc3OSv2RROkWqCBOEmQ/PF/LT1L8ueD8="}]},"_npmUser":{"name":"xx2726139598","email":"2726139598@qq.com"},"directories":{},"maintainers":[{"name":"xx2726139598","email":"2726139598@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dev-chrome-monitor_0.1.0_1759977377435_0.06938712061230023"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-09T02:36:17.333Z","0.1.0":"2025-10-09T02:36:17.677Z","modified":"2025-10-09T02:36:18.011Z"},"maintainers":[{"name":"xx2726139598","email":"2726139598@qq.com"}],"description":"MCP server that uses Puppeteer to monitor and control a Chrome dev instance.","homepage":"https://github.com/2sslgetlool/-dev-chrome-monitor#readme","repository":{"type":"git","url":"git+https://github.com/2sslgetlool/-dev-chrome-monitor.git"},"author":{"name":"2sslgetlool"},"bugs":{"url":"https://github.com/2sslgetlool/-dev-chrome-monitor/issues"},"license":"MIT","readme":"# dev-chrome-monitor\n\nA Model Context Protocol (MCP) server that keeps a Chromium instance attached\nwith Puppeteer so tooling (Cursor, Trae, etc.) can inspect dev builds, capture\nscreenshots, and drive the UI. The server exposes a permission-gated tool set\nso you remain in control of navigation, evaluation, and DOM automation.\n\n## Installation\n\n```bash\nnpm install @2sslgetlool/dev-chrome-monitor\n```\n\n## Usage\n\nAdd the server to your project's `mcp.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"chrome\": {\n      \"command\": \"node\",\n      \"args\": [\n        \"node_modules/@2sslgetlool/dev-chrome-monitor/dist/devChromeServer.mjs\"\n      ],\n      \"env\": {\n        \"MCP_DEV_URL\": \"http://localhost:5173/\",\n        \"MCP_CHROME_PATH\": \"C:\\\\\\Program Files\\\\\\Google\\\\\\Chrome\\\\\\Application\\\\\\chrome.exe\",\n        \"MCP_NAV_TIMEOUT\": \"45000\",\n        \"MCP_WAIT_TIMEOUT\": \"45000\"\n      }\n    }\n  }\n}\n```\n\nReload MCP in your IDE, then use the built-in tools:\n\n- `dev_list_permissions` → inspect which capabilities are enabled.\n- `dev_grant_permissions` / `dev_revoke_permissions` → grant or revoke\n  permissions (accepts `permissions: [\"status\", \"navigate\", ...]` or\n  `[\"all\"]` plus `confirm: true`).\n- Other tools (`dev_status`, `dev_screenshot`, `dev_eval`, etc.) will only run\n  after the matching permission is granted.\n\n### Environment Variables\n\n- `MCP_DEV_URL` – default URL to open (the dev server you want to monitor).\n- `MCP_CHROME_PATH` – optional explicit Chrome/Chromium executable path.\n- `MCP_NAV_TIMEOUT`, `MCP_WAIT_TIMEOUT` – navigation/wait timeouts in\n  milliseconds.\n\n## Development\n\n```bash\nnpm install\nnpm run build\n```\n\n`npm run build` copies the latest source (`src/devChromeServer.mjs`) into\n`dist/` so the published package stays in sync.\n\n## License\n\nMIT\r\n","readmeFilename":"README.md","_rev":"1-167003cda0f2c4f09479063679675f8e"}