stdio changedspecification/2026-07-28/basic/transports/stdio
Nearest release: v2.1.305, published under an hour before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 20 Oct 2026 20:02 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 22 Oct 2026 20:37 UTC.
Upstream edited
Recorded here
Lines+10added
Lines−10removed
From line
21
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits3to this page, all time
The whole hunk
from line 21, old and new numbered
/
from line 21
2121newline-delimited JSON-RPC message per line over a reliable bidirectional
2222byte stream) works unchanged over Unix domain sockets, TCP connections, or
2323any similar channel.
24[Custom transports](/specification/2026-07-28/basic/transports#custom-transports)
24[Custom transports](/specification/2026-07-28/basic/transports.md#custom-transports)
2525built on such streams **SHOULD** reuse this framing and the message rules on
2626this page; only the subprocess-specific aspects (launch, `stderr`, shutdown
2727by closing the stream, process restart) need channel-specific equivalents.
from line 53
5353[`InputRequiredResult`][mrtr-input-required] replies; see
5454[Multi Round-Trip Requests][mrtr].
5555
56[mrtr]: /specification/2026-07-28/basic/patterns/mrtr
56[mrtr]: /specification/2026-07-28/basic/patterns/mrtr.md
5757
58[mrtr-input-required]: /specification/2026-07-28/basic/patterns/mrtr#inputrequiredresult
58[mrtr-input-required]: /specification/2026-07-28/basic/patterns/mrtr.md#inputrequiredresult
5959
60[subscriptions-listen]: /specification/2026-07-28/basic/patterns/subscriptions
60[subscriptions-listen]: /specification/2026-07-28/basic/patterns/subscriptions.md
6161
62[subscriptions-listen-request]: /specification/2026-07-28/schema#subscriptionslistenrequest
62[subscriptions-listen-request]: /specification/2026-07-28/schema.md#subscriptionslistenrequest
6363
6464## Request Metadata
6565
from line 70
7070the method name and arguments live where JSON-RPC puts them. There is no
7171header layer.
7272
73[meta-fields]: /specification/2026-07-28/basic/index#meta
73[meta-fields]: /specification/2026-07-28/basic/index.md#meta
7474
7575## Cancellation
7676
from line 81
8181practical and **MUST NOT** send any further messages for it. See
8282[Cancellation][cancellation] for the full rules.
8383
84[cancellation]: /specification/2026-07-28/basic/patterns/cancellation
84[cancellation]: /specification/2026-07-28/basic/patterns/cancellation.md
8585
8686## Shutdown
8787
from line 150
150150See [Versioning: Backward Compatibility][lifecycle-compat] for the era model
151151and a compatibility matrix for implementors.
152152
153[server-discover]: /specification/2026-07-28/schema#discoverrequest
153[server-discover]: /specification/2026-07-28/schema.md#discoverrequest
154154
155[unsupported-version]: /specification/2026-07-28/schema#unsupportedprotocolversionerror
155[unsupported-version]: /specification/2026-07-28/schema.md#unsupportedprotocolversionerror
156156
157[lifecycle-compat]: /specification/2026-07-28/basic/versioning#backward-compatibility-with-initialization-based-versions
157[lifecycle-compat]: /specification/2026-07-28/basic/versioning.md#backward-compatibility-with-initialization-based-versions
158158
No line in this hunk matches that.