Commit Graph
3 Commits
Author SHA1 Message Date
Sampson 50cb919200 chore: remove dead code and fix HTTP port-conflict startup (#351)
* chore: remove dead code and fix HTTP port-conflict startup

- drop unused helpers, constants, schemas, and duplicated types
- exit non-zero when the HTTP port is already in use
- add stdio and port-conflict tests
- clean dist on build, add serve:http, fix inspector:http for Inspector v2

* test: harden port-conflict test; drop unreachable listen guard

- pin the child's host so BRAVE_MCP_HOST cannot bypass the conflict
- bound the exit wait and reject spawn errors
- remove the address() guard; 'listening' does not fire on a failed bind
2026-09-17 07:45:23 -07:00
Sampson 937e85a61f test: consolidate MCP client/fetch-stub setup into useTestClient helper (#333) 2026-08-11 15:13:10 -05:00
Sampson 38d703263d test: add in-memory MCP client/server test harness 2026-08-11 13:24:52 -05:00