Skip to content

basalt / mcp-core/src / isNotification

Function: isNotification() ​

> isNotification(message): boolean

Defined in: mcp-core/src/protocol.ts:75

A request with no id is a notification — it never gets a response.

Parameters ​

message ​

JsonRpcRequest

Returns ​

boolean

Released under the MIT License.