Skip to content

Refactor server-side pt 2 - documentation #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

chemicL
Copy link
Member

@chemicL chemicL commented Mar 18, 2025

Adding the documentation to the changes in #31.
Once the branch is stable, this can be incorporated into the main PR.

chemicL added 11 commits March 5, 2025 12:09
WARN: This is still work in progress and does not compile.

Breaking changes:

* McpAsyncServer
  * getClientCapabilities deprecated + throws
  * getClientInfo deprecated + throws
  * listRoots deprecated + throws
  * createMessage deprecated + throws
* McpTransport
  * connect deprecated - should only belong to McpClientTransport
* ServerMcpTransport
  * connect default implementation that throws

The major change is the introduction of ServerMcpSession for per-client
communication. The user should be exposed to a limited abstraction that
hides the session called ServerMcpExchange which currently exposes
sampling and roots.

Signed-off-by: Dariusz Jędrzejczyk <[email protected]>
Signed-off-by: Dariusz Jędrzejczyk <[email protected]>
@tzolov tzolov force-pushed the refactor-server-session branch from f5fed84 to 6da69b4 Compare March 19, 2025 17:52
@chemicL
Copy link
Member Author

chemicL commented Mar 20, 2025

Closing since the refactor-server-session branch has been now stabilized and the changes are incorporated as 8704863.

@chemicL chemicL closed this Mar 20, 2025
@chemicL chemicL deleted the refactor-server-session-continuation branch March 20, 2025 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant