Repository navigation
Commit 893ba7b
authored
fix(streamable-http): pin mount to /mcp/ + bump to 1.0.106 (#122)
The mcp SDK defaults streamable_http_path to /mcp (no trailing slash).
The upstream proxy at internal nginx :9009 forwards Next.js requests
to /mcp/ verbatim, which the SDK responds to with HTTP 307 to /mcp.
That redirect dance is the prime suspect for the 1.0.104 production
transport regression (PagerDuty incident 129); reverted to 1.0.103
on the same day, hotfixed as 1.0.105 without the mcp 1.23.0 bump.
This release retries the mcp 1.23.0 bump with the redirect removed:
explicitly setting streamable_http_path=/mcp/ makes the with-slash URL
canonical, so prod traffic hits a direct 200 instead of a 307. Pairs
with --host 127.0.0.1 in the systemd unit (separate repo) for
deterministic IPv4 binding.1 parent 1876915 commit 893ba7b
4 files changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
341 | 345 | | |
342 | 346 | | |
343 | 347 | | |
| |||
| 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