The MCP servers for the CDP already exists, like: Puppeteer, Playwright. So i only implement page control and display.
- /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 --headless
- pnpm install
- copy url in step 2 to screenshot_service.js
- node screenshot_service.js
- node server.js
- cd vite-project
- pnpm install
- pnpm run dev