Repository navigation
Commit 9cbd8aa
authored
feat(transport): drop streamable_http_path override + bump to 1.0.108 (#124)
The override pinned the mount to /mcp/ to match the (incorrect) assumption
that prod forwarded /mcp/. Verified via internal-nginx upstream access log
that prod META_MCP_BACKEND_URLS is /mcp (no trailing slash), so the SDK
default streamable_http_path = /mcp matches prod and the override is
unnecessary. Removing it avoids the 307 redirect under prod traffic that
detached the undici ArrayBuffer on the Next.js proxy retry path (1.0.106
regression).
Keeps transport_security.enable_dns_rebinding_protection = False (required
when internal nginx strips the port from the Host header, so the SDKs
loopback allowlist 127.0.0.1:* never matches). Keeps mcp[cli]==1.23.0 pin.1 parent ef45fe1 commit 9cbd8aa
3 files changed
Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | 340 | | |
345 | 341 | | |
346 | 342 | | |
| |||
385 | 381 | | |
386 | 382 | | |
387 | 383 | | |
388 | | - | |
| 384 | + | |
389 | 385 | | |
390 | 386 | | |
391 | 387 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments