Function: mcp-notify
mcp-notify is a natively compiled function defined in mcp.el.
Signature
(mcp-notify CONNECTION METHOD &optional (PARAMS nil))
Documentation
Send notification to CONNECTION without expecting response.
METHOD is the notification name (string or symbol). PARAMS is an optional plist of parameters. This is a thin wrapper around =jsonrpc-connection-send' that omits the :id parameter to indicate it's a notification rather than a request.
Source Code
;; Defined in /nix/store/5m747x13pb1ddrvbq9raj91c4q1h1kl0-emacs-packages-deps/share/emacs/site-lisp/elpa/mcp-20260615.940/mcp.el
(cl-defun mcp-notify (connection method &optional (params nil))
"Send notification to CONNECTION without expecting response.
METHOD is the notification name (string or symbol). PARAMS is an
optional plist of parameters.
This is a thin wrapper around =jsonrpc-connection-send' that
omits the :id parameter to indicate it's a notification rather
than a request."
(apply #'jsonrpc-connection-send
`(,connection
:method ,method
,@(when params
(list :params params)))))