docs: architecture spec page still presents sampling as a core feature, but is depricated
What's broken?
The documentation is wrong or misleading
Where in the spec or docs?
https://modelcontextprotocol.io/specification/draft/architecture
What should happen?
The architecture page should not present Sampling as a core, current feature. SEP-2577 deprecates Sampling and Roots as of 2026-07-28, and they are listed in the deprecated features registry. The page should use elicitation as its example of client input.
What actually happens?
The page still describes sampling as central in five places:
- Intro: "a protocol focused on context exchange and sampling coordination between clients and servers"
- Host: "Coordinates AI/LLM integration and sampling"
- Servers: "Request client input (sampling, elicitation, roots) via
InputRequiredResultwithin a reply" - Capability Negotiation: "Clients declare capabilities like sampling support and elicitation handling"
- Sequence diagram:
InputRequiredResult (e.g. sampling/createMessage)-> "Forward to AI" -> "AI response"
Nothing on the page says the feature is deprecated.
Anything else?
I am not an org member, so per the contributing guide I have pushed a proposed fix to a fork instead of opening a PR: https://github.com/Lazzaretti/modelcontextprotocol/tree/docs/architecture-sampling-deprecated
The published 2026-07-28 page (https://modelcontextprotocol.io/specification/2026-07-28/architecture) has the same wording. I left it alone because fixes go in draft; whether to backport is up to you.
Possibly related, not changed in my branch: docs/specification/draft/basic/index.mdx still lists "Elicitation, sampling and root directory lists" under Client Features and "logging" under Utilities without a deprecation note.
If it looks right, could a member or maintainer open the PR from that branch?
Three things worth folding into the fix while someone is in that page, because they decide whether the change survives review.
-
The versioned page needs a different treatment than the draft. A page under a version path describes that version as it was published, so editing its prose to remove sampling rewrites history and will be rejected on principle. What belongs there is a status note near the top: this version specifies sampling and roots, both deprecated as you note under SEP-2577 in the 2026-07-28 revision, see the deprecated features registry. Draft gets the rewrite, the versioned page gets the banner. That distinction is worth stating in the issue because it is the difference between one page changed and two pages changed the same way, and only one of those is correct.
-
The capability negotiation line is the one with an implementer-facing gap. Replacing "clients declare capabilities like sampling support and elicitation handling" with elicitation alone drops the transition rule that people actually need: during deprecation, clients may still declare sampling, and servers should not require it. Without that sentence, a server author reading the page has no guidance on whether to negotiate it, and a client author has no statement about whether declaring it is an error. A deprecation that says "deprecated" without saying what to do with the capability flag in the interim just moves the ambiguity.
-
The sequence diagram is not only a wording change. If elicitation becomes the example, the request name changes from sampling/createMessage to elicitation/create, and the leg you labelled "Forward to AI" becomes a question put to the user rather than a model call. The diagram encodes the old model in its shape, so relabelling the caption alone would leave an incorrect flow.
On your related observation about the basic index page: that is the same defect in a second place, and it is worth doing as one pass over the whole draft tree rather than five edits on one page. Grep the draft docs for the feature names and handle every hit in the single PR, otherwise review catches them one at a time and the page stays half-correct between merges.
Last thing, purely practical: opening a PR from your fork should not require membership in the org. If the contributing guide reads as discouraging that, the guide is worth a separate correction, because the patch you already wrote is the part that matters and it is currently blocked on someone else having an hour.
We maintain an MCP server that has to work across clients at several protocol revisions, so the deprecation-with-migration-text point is the one that would have saved us the most time when sampling changes landed.
Created #3552 and cherry-picked your fix onto it, so you keep authorship. I agree with your observation in "Anything Else?" and added that part to the PR, as well as a small tweak to make it clear elicitation isn't by definition the only kind of input possible (via an "e.g.") - even if it is the only one right now. And only adding a footnote about the others being deprecated examples. Deprecated means they are still valid, which I think is right to mention in the specification part of the docs.