Skip to content

Commit 79eb083

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 31ab23e commit 79eb083

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/webmcp-local-relay/reference.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ The embed also monkey-patches `navigator.modelContext.elicitInput` so that elici
173173

174174
The widget reconnects automatically using exponential backoff (1.5x multiplier) from `500ms` up to `3000ms`, stopping after 100 attempts.
175175

176-
**Port range discovery and browser discovery:** The server tries ports `9333–9348` instead of failing on a single port. The chosen port is persisted to `~/.webmcp/relay-port.json` for stable restarts. The widget probes the port range sequentially with a state machine (`connected → retry-same-endpoint → rediscover`) and caches discovered endpoints in `sessionStorage`.
176+
**Port range discovery and browser probing:** The server tries ports `9333–9348` instead of failing on a single port. The chosen port is persisted to `~/.webmcp/relay-port.json` for stable restarts. The widget probes the port range sequentially with a state machine (`connected → retry-same-endpoint → rediscover`) and caches discovered endpoints in `sessionStorage`.
177177

178178
**Subprotocol handshake:** WebSocket connections use `webmcp.v1` / `webmcp-discovery.v1` subprotocols. The server sends a `server-hello` message with relay identity (`instanceId`, `label`, `workspace`, `relayId`) on connect.
179179

0 commit comments

Comments
 (0)