Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · mcp

Overview changedspecification/draft/basic/patterns/index

Nearest release: v2.1.310, published 13 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+7added
Lines−7removed
From line 2 where the diff opens
First seen 26 Aug 2026 this site's first read of the page
Recorded edits5to this page, all time

The whole hunk

from line 2, old and new numbered
/
lines
from line 2
22 
33This page defines the message patterns of the core protocol: the ways a
44client and server compose JSON-RPC
5[requests, responses, and notifications](/specification/draft/basic/index.md#messages)
5[requests, responses, and notifications](https://modelcontextprotocol.io/specification/draft/basic/index.md#messages)
66into interactions. Every
7[transport](/specification/draft/basic/transports.md) carries all of these
7[transport](https://modelcontextprotocol.io/specification/draft/basic/transports.md) carries all of these
88patterns; transports differ only in how messages are framed and delivered.
99 
1010Every interaction begins with the client:
from line 21
2121The client sends a request; the server answers it with a result or an error.
2222While the request is in flight, the server **MAY** send notifications scoped
2323to it, such as
24[`notifications/progress`](/specification/draft/basic/patterns/progress)
25and [`notifications/message`](/specification/draft/server/utilities/logging).
24[`notifications/progress`](https://modelcontextprotocol.io/specification/draft/basic/patterns/progress)
25and [`notifications/message`](https://modelcontextprotocol.io/specification/draft/server/utilities/logging).
2626 
2727```mermaid theme={null}
2828sequenceDiagram
from line 38
3838 
3939When a server needs client input (sampling, elicitation, or roots) to
4040complete a request, it answers with an
41[`InputRequiredResult`](/specification/draft/basic/patterns/mrtr#inputrequiredresult)
41[`InputRequiredResult`](https://modelcontextprotocol.io/specification/draft/basic/patterns/mrtr#inputrequiredresult)
4242and the client retries the request with the matching `inputResponses`. See
43[Multi Round-Trip Requests](/specification/draft/basic/patterns/mrtr.md).
43[Multi Round-Trip Requests](https://modelcontextprotocol.io/specification/draft/basic/patterns/mrtr.md).
4444 
4545```mermaid theme={null}
4646sequenceDiagram
from line 57
5757 
5858To receive change notifications (list changes, resource updates), the client
5959sends a
60[`subscriptions/listen`](/specification/draft/basic/patterns/subscriptions)
60[`subscriptions/listen`](https://modelcontextprotocol.io/specification/draft/basic/patterns/subscriptions)
6161request; the reply is a long-lived stream of the requested notification
6262types. Stream state is scoped to the request: if the underlying channel is
6363lost, the client re-issues the request.
Feedback