Commit 6e408fd
fix: Move streamable HTTP transport from /mcp to root / (#529)
* Initial plan
* Move streamable transport from /mcp to root /
Co-authored-by: jirispilka <19406805+jirispilka@users.noreply.github.com>
* Update src/actor/server.ts
* Remove GET / handler and update DEVELOPMENT.md endpoint references
Co-authored-by: jirispilka <19406805+jirispilka@users.noreply.github.com>
* Revert MCP_STREAMABLE_ENDPOINT change in src/const.ts
Co-authored-by: jirispilka <19406805+jirispilka@users.noreply.github.com>
* refactor: Update MCP route to return 405 for unsupported GET requests
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jirispilka <19406805+jirispilka@users.noreply.github.com>
Co-authored-by: Jiří Spilka <jiri.spilka@apify.com>
Co-authored-by: Jiri Spilka <jirka.spilka@gmail.com>1 parent 692411f commit 6e408fd
4 files changed
Lines changed: 7 additions & 40 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | 53 | | |
80 | 54 | | |
81 | 55 | | |
| |||
192 | 166 | | |
193 | 167 | | |
194 | 168 | | |
195 | | - | |
| 169 | + | |
196 | 170 | | |
197 | 171 | | |
198 | 172 | | |
| |||
0 commit comments