Repository navigation
Commit 0b3f02d
committed
Release 1.8.1
This release brings the server's JSON-RPC framing and capability advertisement, and the HTTP client's handling of
an `initialize` answered over SSE, in line with the MCP specification. Several answers change on the wire,
as fixes of incorrect conformance under the exceptions described in VERSIONING.md: a request whose id is null
is refused with `-32600` instead of being run, and a request method sent without an id is not run; an error response
whose request id cannot be read carries no `id` member instead of `"id": null`; a stateless Streamable HTTP server
no longer advertises `listChanged` or `subscribe` in `initialize`, since it cannot deliver those notifications,
so clients refresh their lists on their own there; and the HTTP client returns from `initialize` as soon as
its result arrives and raises `RequestHandlerError` on a 4xx or 5xx answer with an SSE body instead of returning
the error event. Senders of null ids and code that read such error events have to change; nothing else needs migration.
A stdio server also survives a frame it cannot strip, parse or answer.1 parent 9e2b3f7 commit 0b3f02d
2 files changed
Lines changed: 27 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
10 | 36 | | |
11 | 37 | | |
12 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
0 commit comments