Commit 967ba0c
committed
chore(MCP): Switch the server from SSE to HTTP
The SSE (server sent events) transport is now considered
to be a legacy transport and HTTP has got the baton, so we
are changing to it. Maybe some day we'll add support for
configuring the desired transport but as far as this MCP
server is just a "demonstration" or experiment for now, that's
not an impeding feature. Again, remember that the MCP server
is unprotected (while the OpenAI one supports local or remote
token validation).
BREAKING CHANGE: Any client previously using MCP SSE clients
must change the transport to HTTP. Normally this change is
trivial and everything continues working exactly the same.1 parent 9ef93b3 commit 967ba0c
2 files changed
Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
22 | 34 | | |
23 | 35 | | |
24 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
| 224 | + | |
229 | 225 | | |
230 | 226 | | |
231 | 227 | | |
| |||
0 commit comments