Docs Join alpha
Reference

Subscriptions

resources/subscribe over SSE. Push notifications when child state changes. The push half of the protocol.

The push half of the protocol. Lives on the same MCP connection as your tool calls. Your home agent calls resources/subscribe, the server upgrades the response to SSE, and pushes a notifications/resources/updated JSON-RPC frame whenever the subscribed resource changes.

Some resources are available today. Others are coming soon. Each gets its own page below.

Subscribable resources

How it works

  1. Your agent issues resources/subscribe with a URI.
  2. The server upgrades that HTTP response to SSE; the connection stays open.
  3. On every state change, the server emits { "jsonrpc": "2.0", "method": "notifications/resources/updated", "params": { "uri": "<uri>" } }.
  4. Your agent reacts. Typical pattern: resources/read <uri> to fetch the current state.
  5. resources/unsubscribe closes the stream cleanly.

One MCP connection can hold many subscriptions. Notifications interleave on the same stream; demultiplex by params.uri.

Delivery semantics

Apply across every subscribable resource.

Errors

See also

Was this page helpful?