Skip to content

Commit 0fe76ba

Browse files
LucaButBoringtzolov
authored andcommitted
docs: update loggingNotification javadoc to specify single client
1 parent b701a36 commit 0fe76ba

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

mcp/src/main/java/io/modelcontextprotocol/server/McpAsyncServerExchange.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ public Mono<McpSchema.ListRootsResult> listRoots(String cursor) {
140140
}
141141

142142
/**
143-
* Send a logging message notification to all connected clients. Messages below the
144-
* current minimum logging level will be filtered out.
143+
* Send a logging message notification to the client. Messages below the current
144+
* minimum logging level will be filtered out.
145145
* @param loggingMessageNotification The logging message to send
146146
* @return A Mono that completes when the notification has been sent
147147
*/

mcp/src/main/java/io/modelcontextprotocol/server/McpSyncServerExchange.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ public McpSchema.ListRootsResult listRoots(String cursor) {
100100
}
101101

102102
/**
103-
* Send a logging message notification to all connected clients. Messages below the
104-
* current minimum logging level will be filtered out.
103+
* Send a logging message notification to the client. Messages below the current
104+
* minimum logging level will be filtered out.
105105
* @param loggingMessageNotification The logging message to send
106106
*/
107107
public void loggingNotification(LoggingMessageNotification loggingMessageNotification) {

0 commit comments

Comments
 (0)