Zum Inhalt

Entwicklung

Einrichtung

npm install
npm run build
node dist/cli.js --help

Tägliche Befehle

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

Quelllayout

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

Die entfernte native Adapter-/Tool-Registry-Implementierung sollte nicht wieder eingeführt werden. Die Verantwortung für das Verhalten der Browser-Tools liegt beim Upstream-Playwright-MCP.

Docker lokal

npm run docker:build
npm run docker:smoke
docker run --rm -i -v "$PWD/artifacts:/data" cloakbrowser-mcp:dev

Dokumente

npm run docs:install
npm run docs:assets
npm run docs:metadata:check
npm run docs:serve
npm run docs:build