Skip to content

Standalone build, stability fixes, and dependency updates (v0.2.0)#181

Open
ClapFy wants to merge 2 commits into
BrowserMCP:mainfrom
ClapFy:fix/standalone-build-stability
Open

Standalone build, stability fixes, and dependency updates (v0.2.0)#181
ClapFy wants to merge 2 commits into
BrowserMCP:mainfrom
ClapFy:fix/standalone-build-stability

Conversation

@ClapFy

@ClapFy ClapFy commented May 31, 2026

Copy link
Copy Markdown

Summary

  • Standalone build: Vendors former monorepo packages (@repo/*, @r2r/messaging) into src/ so the repo builds with npm install / npm run build without a private monorepo.
  • Bug fix: Fixes server.close() infinite recursion on shutdown by preserving the original MCP SDK close before overriding.
  • Stability: Port wait timeout (5s), quieter killProcessOnPort, WebSocket reconnect/cleanup, typed message map.
  • Dependencies: Bumps @modelcontextprotocol/sdk, commander, zod, TypeScript, and related tooling to current releases (v0.2.0).
  • Tests: Adds 15 smoke tests (npm run verify) covering schemas, port helpers, WebSocket messaging, context errors, and server lifecycle.

Test plan

  • npm run typecheck
  • npm run test (15/15 passing)
  • npm audit (0 vulnerabilities)
  • node dist/index.js --versionVersion 0.2.0
  • Connect Browser MCP Chrome extension and run npm run inspector for end-to-end tool calls

Made with Cursor

ClapFy added 2 commits May 31, 2026 15:03
Vendor former monorepo packages locally, fix server.close recursion, improve WebSocket and port handling, upgrade dependencies to current releases, and add smoke tests (v0.2.0).
Persistent WebSocket bridge survives MCP restarts via a token-authenticated control channel; adds browsermcp pair, input validation, and safer port handling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant