Développement¶
Configuration¶
Commandes quotidiennes¶
npm run typecheck
npm run lint
npm run format:check
npm run server:validate
npm run audit:prod
npm test
npm run build
npm run check
Mise en page de la source¶
src/
cli.ts, cli/ CLI options and process lifecycle
server.ts upstream MCP proxy
bridge/ browser configuration and local introspection
cdp/ managed CDP leases, readiness and capability proxy
http/ Streamable HTTP sessions and transport
docker/ container launcher, display and health checks
runtime/ console and humanize compatibility
logging/ runtime diagnostics
protocol/ shared MCP protocol support
project/ package and server metadata
L'implémentation native de l'adaptateur/du registre d'outils qui a été supprimée ne doit pas être réintroduite. C'est le MCP en amont de Playwright qui gère le comportement des outils du navigateur.
Docker local¶
npm run docker:build
npm run docker:smoke
docker run --rm -i -v "$PWD/artifacts:/data" cloakbrowser-mcp:dev