From 1c4e987bda3ac07100a7928f060469024af97131 Mon Sep 17 00:00:00 2001 From: Luca Chang Date: Thu, 19 Jun 2025 14:17:03 -0700 Subject: [PATCH] docs: update loggingNotification javadoc to specify single client --- .../modelcontextprotocol/server/McpAsyncServerExchange.java | 4 ++-- .../io/modelcontextprotocol/server/McpSyncServerExchange.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mcp/src/main/java/io/modelcontextprotocol/server/McpAsyncServerExchange.java b/mcp/src/main/java/io/modelcontextprotocol/server/McpAsyncServerExchange.java index cfb07d26c..2fd95a10d 100644 --- a/mcp/src/main/java/io/modelcontextprotocol/server/McpAsyncServerExchange.java +++ b/mcp/src/main/java/io/modelcontextprotocol/server/McpAsyncServerExchange.java @@ -140,8 +140,8 @@ public Mono listRoots(String cursor) { } /** - * Send a logging message notification to all connected clients. Messages below the - * current minimum logging level will be filtered out. + * Send a logging message notification to the client. Messages below the current + * minimum logging level will be filtered out. * @param loggingMessageNotification The logging message to send * @return A Mono that completes when the notification has been sent */ diff --git a/mcp/src/main/java/io/modelcontextprotocol/server/McpSyncServerExchange.java b/mcp/src/main/java/io/modelcontextprotocol/server/McpSyncServerExchange.java index 084412b96..25da5a6f9 100644 --- a/mcp/src/main/java/io/modelcontextprotocol/server/McpSyncServerExchange.java +++ b/mcp/src/main/java/io/modelcontextprotocol/server/McpSyncServerExchange.java @@ -100,8 +100,8 @@ public McpSchema.ListRootsResult listRoots(String cursor) { } /** - * Send a logging message notification to all connected clients. Messages below the - * current minimum logging level will be filtered out. + * Send a logging message notification to the client. Messages below the current + * minimum logging level will be filtered out. * @param loggingMessageNotification The logging message to send */ public void loggingNotification(LoggingMessageNotification loggingMessageNotification) {