MCPcopy Index your code
hub / github.com/modelcontextprotocol/python-sdk / notify

Method notify

src/mcp/shared/peer.py:84–85  ·  view source on GitHub ↗
(self, method: str, params: Mapping[str, Any] | None, opts: CallOptions | None = None)

Source from the content-addressed store, hash-verified

82 return await self._outbound.send_raw_request(method, params, opts)
83
84 async def notify(self, method: str, params: Mapping[str, Any] | None, opts: CallOptions | None = None) -> None:
85 await self._outbound.notify(method, params, opts)
86
87 @overload
88 @deprecated("The sampling capability is deprecated as of 2026-07-28 (SEP-2577).", category=MCPDeprecationWarning)

Callers 1

send_notificationMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected