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

Architecture overview changeddocs/2026-07-28/learn/architecture

Nearest release: v2.1.326, published 14 hours after 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 16 Nov 2026 04:15 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 16 Nov 2026 04:37 UTC.

Upstream edited
Recorded here
Lines+31added
Lines−18removed
From line 82 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits6to this page, all time

The whole hunk

from line 82, old and new numbered
/
lines
from line 82
8282 
8383* **Discovery**: Lets clients query a server's supported protocol versions, capabilities, and identity through the `server/discover` request
8484* **Server features**: Enables servers to provide core functionality including tools for AI actions, resources for context data, and prompts for interaction templates from and to the client
85* **Client features**: Enables servers to elicit input from the user. Sampling is [deprecated](https://modelcontextprotocol.io/specification/2026-07-28/deprecated.md) as of protocol version `2026-07-28`.
85* **Client features**: Enables servers to elicit input from the user.
8686* **Utility features**: Supports additional capabilities like notifications for real-time updates and progress tracking for long-running operations
8787 
8888#### Transport layer
from line 100
100100 
101101A core part of MCP is defining the schema and semantics between MCP clients and MCP servers. Developers will likely find the data layer — in particular, the set of [primitives](#primitives) — to be the most interesting part of MCP. It is the part of MCP that defines the ways developers can share context from MCP servers to MCP clients.
102102 
103MCP uses [JSON-RPC 2.0](https://www.jsonrpc.org/) as its underlying RPC protocol. Client and servers send requests to each other and respond accordingly. Notifications can be used when no response is required.
103MCP uses [JSON-RPC 2.0](https://www.jsonrpc.org/) as its underlying RPC protocol. Clients send requests and servers respond to them. Servers can request input from the client through the [Multi Round-Trip Requests](https://modelcontextprotocol.io/specification/2026-07-28/basic/patterns/mrtr.md) pattern. Notifications can be used when no response is required.
104104 
105105#### Statelessness and discovery
106106 
from line 116
116116* **Resources**: Data sources that provide contextual information to AI applications (e.g., file contents, database records, API responses)
117117* **Prompts**: Reusable templates that help structure interactions with language models (e.g., system prompts, few-shot examples)
118118 
119Each primitive type has associated methods for discovery (`*/list`), retrieval (`*/get`), and in some cases, execution (`tools/call`).
120MCP clients will use the `*/list` methods to discover available primitives. For example, a client can first list all available tools (`tools/list`) and then execute them. This design allows listings to be dynamic.
119Each primitive type has associated methods for discovery (`*/list`), and for either retrieval (`resources/read`, `prompts/get`) or execution (`tools/call`).
120MCP clients will use the `*/list` methods to discover available primitives. For example, a client can list the available tools (`tools/list`), provide them to a model, and execute the ones that the model calls (`tools/call`). This design allows listings to be dynamic.
121121 
122122As a concrete example, consider an MCP server that provides context about a database. It can expose tools for querying the database, a resource that contains the schema of the database, and a prompt that includes few-shot examples for interacting with the tools.
123123 
from line 129
129129 
130130Elicitation requests are delivered through the [Multi Round-Trip Requests](https://modelcontextprotocol.io/specification/2026-07-28/basic/patterns/mrtr.md) pattern, explained in the [elicitation overview](https://modelcontextprotocol.io/docs/2026-07-28/learn/client-concepts.md#elicitation).
131131 
132**Deprecated**: The following client primitives are deprecated as of protocol version `2026-07-28`.
132For more details about client primitives see [client concepts](https://modelcontextprotocol.io/docs/2026-07-28/learn/client-concepts.md).
133133 
134* **Sampling**: Allows servers to request language model completions from the client's AI application. This is useful when server authors want access to a language model, but want to stay model-independent and not include a language model SDK in their MCP server. Servers request completions with the `sampling/createMessage` method, also delivered through the Multi Round-Trip Requests pattern. New implementations should integrate directly with LLM provider APIs.
135* **Logging**: Enables servers to send log messages to clients for debugging and monitoring purposes. New implementations should log to `stderr` (stdio transport) or use OpenTelemetry.
134Roots and sampling, which are client features, and protocol logging, which is a server feature, are [deprecated](https://modelcontextprotocol.io/specification/2026-07-28/deprecated.md) as of protocol version `2026-07-28`. New implementations should use the following alternatives:
136135 
137For more details about client primitives see [client concepts](https://modelcontextprotocol.io/docs/2026-07-28/learn/client-concepts.md).
136* **Roots**: Pass directories or files through tool parameters, resource URIs, or server configuration.
137* **Sampling**: Integrate directly with LLM provider APIs. The protocol does not define a replacement for requesting completions through the client.
138* **Logging**: [Log to `stderr`](https://modelcontextprotocol.io/docs/2026-07-28/tools/debugging#implementing-logging) for stdio servers, or use [OpenTelemetry](https://opentelemetry.io/).
138139 
139140Besides server and client primitives, the protocol supports optional [extensions](https://modelcontextprotocol.io/extensions/overview.md) that build on the core protocol. For example, the [Tasks extension](https://modelcontextprotocol.io/extensions/tasks/overview.md) lets servers return a durable handle for long-running requests, so clients can poll for status and retrieve the result later.
140141 
from line 302
301302 }
302303 ],
303304 "ttlMs": 300000,
304 "cacheScope": "public"
305 "cacheScope": "public",
306 "_meta": {
307 "io.modelcontextprotocol/serverInfo": {
308 "name": "example-server",
309 "version": "1.0.0"
310 }
311 }
305312 }
306313}
307314```
from line 389
382389 "type": "text",
383390 "text": "Current weather in San Francisco: 68°F, partly cloudy with light winds from the west at 8 mph. Humidity: 65%"
384391 }
385 ]
392 ],
393 "_meta": {
394 "io.modelcontextprotocol/serverInfo": {
395 "name": "example-server",
396 "version": "1.0.0"
397 }
398 }
386399 }
387400}
388401```
from line 420
407420 
4084211. **`content` Array**: Tool responses return an array of content objects, allowing for rich, multi-format responses (text, images, resources, etc.)
409422 
4102. **Content Types**: Each content object has a `type` field. In this example, `"type": "text"` indicates plain text content, but MCP supports various content types for different use cases.
4232. **Content Types**: Each content object has a `type` field. In this example, `"type": "text"` indicates [text content](https://modelcontextprotocol.io/specification/2026-07-28/server/tools.md#text-content). Tool results can also contain [images](https://modelcontextprotocol.io/specification/2026-07-28/server/tools.md#image-content) (`image`), [audio](https://modelcontextprotocol.io/specification/2026-07-28/server/tools.md#audio-content) (`audio`), [resource links](https://modelcontextprotocol.io/specification/2026-07-28/server/tools.md#resource-links) (`resource_link`), and [embedded resources](https://modelcontextprotocol.io/specification/2026-07-28/server/tools.md#embedded-resources) (`resource`). Not every model accepts all of these types, so clients may need to handle content that their model does not support.
411424 
4123. **Structured Output**: The response provides actionable information that the AI application can use as context for language model interactions.
4253. **Structured Content** (optional): Tools can also return [structured content](https://modelcontextprotocol.io/specification/2026-07-28/server/tools.md#structured-content), a JSON value in the `structuredContent` field of the result. The tool in this example returns only text.
413426 
414This execution pattern allows AI applications to dynamically invoke server functionality and receive structured responses that can be integrated into conversations with language models.
427This execution pattern allows AI applications to dynamically invoke server functionality and receive responses that can be integrated into conversations with language models.
415428 
416429#### How This Works in AI Applications
417430 
from line 545
532545This notification system is crucial for several reasons:
533546 
5345471. **Dynamic Environments**: Tools may come and go based on server state, external dependencies, or user permissions
5352. **Efficiency**: Clients don't need to poll for changes; they're notified when updates occur
5363. **Consistency**: Ensures clients always have accurate information about available server capabilities
5482. **Efficiency**: Clients are notified when updates occur, so they can poll less often
5493. **Consistency**: Helps clients keep their view of available server capabilities up to date
5375504. **Real-time Collaboration**: Enables responsive AI applications that can adapt to changing contexts
538551 
539552This notification pattern extends beyond tools to other MCP primitives, enabling comprehensive real-time synchronization between clients and servers.
Feedback