MCPcopy Create free account
hub / github.com/modelcontextprotocol/typescript-sdk / sendLoggingMessage

Method sendLoggingMessage

src/server/mcp.ts:1183–1185  ·  view source on GitHub ↗

* Sends a logging message to the client, if connected. * Note: You only need to send the parameters object, not the entire JSON RPC message * @see LoggingMessageNotification * @param params * @param sessionId optional for stateless and backward compatibility

(params: LoggingMessageNotification['params'], sessionId?: string)

Source from the content-addressed store, hash-verified

1181 * @param sessionId optional for stateless and backward compatibility
1182 */
1183 async sendLoggingMessage(params: LoggingMessageNotification['params'], sessionId?: string) {
1184 return this.server.sendLoggingMessage(params, sessionId);
1185 }
1186 /**
1187 * Sends a resource list changed event to the client, if connected.
1188 */

Callers 6

getServerFunction · 0.95
getServerFunction · 0.95
getServerFunction · 0.95
getServerFunction · 0.95
getServerFunction · 0.95
getServerFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected