Add missing isInitialized method to McpSyncClient (#181)
The isInitialized method is present in McpAsyncClient and needs to be mirrored in McpSyncClient. Signed-off-by: jitokim <pigberger70@gmail.com>
This commit is contained in:
parent
e610d853f9
commit
e34babbe56
1 changed files with 8 additions and 0 deletions
|
|
@ -97,6 +97,14 @@ public class McpSyncClient implements AutoCloseable {
|
|||
return this.delegate.getServerInfo();
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if the client-server connection is initialized.
|
||||
* @return true if the client-server connection is initialized
|
||||
*/
|
||||
public boolean isInitialized() {
|
||||
return this.delegate.isInitialized();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the client capabilities that define the supported features and functionality.
|
||||
* @return The client capabilities
|
||||
|
|
|
|||
Loading…
Reference in a new issue