Protocol
Implements MCP protocol framing on top of a pluggable transport, including features like request/response linking, notifications, and progress.
Inheritors
Properties
A handler to invoke for any notification types that do not have their own handler installed.
A handler to invoke for any request types that do not have their own handler installed.
Functions
A method to check if a capability is supported by the remote side, for the given method to be called.
A method to check if a request handler is supported by the local side, for the given method to be handled.
Emits a notification, which is a one-way message that does not expect a response.
Removes the notification handler for the given method.
Removes the request handler for the given method.
Sends a request and wait for a response.
Registers a handler to invoke when this protocol object receives a notification with the given method.
Registers a handler to invoke when this protocol object receives a request with the given method.