Skip to content

Commit d52881b

Browse files
committed
Add a mention of tasks to the Primitives docs
1 parent 74ba344 commit d52881b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/docs/learn/architecture.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ MCP also defines primitives that _clients_ can expose. These primitives allow MC
132132

133133
For more details about client primitives see [client concepts](./client-concepts).
134134

135+
MCP also defines cross-cutting utility primitives that augment how requests are executed:
136+
137+
- **Tasks**: Asynchronous execution wrappers that enable deferred result retrieval and status tracking for any MCP request (e.g., long-running computations, workflow automation, batch processing, multi-step operations)
138+
135139
#### Notifications
136140

137141
The protocol supports real-time notifications to enable dynamic updates between servers and clients. For example, when a server's available tools change—such as when new functionality becomes available or existing tools are modified—the server can send tool update notifications to inform connected clients about these changes. Notifications are sent as JSON-RPC 2.0 notification messages (without expecting a response) and enable MCP servers to provide real-time updates to connected clients.

0 commit comments

Comments
 (0)