Commit 6839d3b7 authored by Dariusz Jędrzejczyk's avatar Dariusz Jędrzejczyk Committed by Christian Tzolov
Browse files

Refactor McpClient for async and sync interactions



Introduce new builder patterns and enhance type safety

- Add new builder patterns for McpClient and McpServer with sync/async variants
- Introduce dedicated McpClientFeatures and McpServerFeatures classes
- Enhance type safety and reactive support with proper Mono integration
- Add migration guide for 0.6.0 release
- Mark old builder methods as deprecated
- Update documentation to reflect new APIs

BREAKING CHANGE: The old builder patterns using McpClient.using() and McpServer.using()
are now deprecated in favor of new sync() and async() builders that provide
better type safety and clearer sync/async separation. Follow the migration guide.

Resolves #48

Signed-off-by: default avatarDariusz Jędrzejczyk <dariusz.jedrzejczyk@broadcom.com>
Co-authored-by: default avatarChristian Tzolov <ctzolov@vmware.com>
parent e1bdc988
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment