| Package | Description |
|---|---|
| io.modelcontextprotocol.server | |
| io.modelcontextprotocol.spec |
| Modifier and Type | Method and Description |
|---|---|
McpServerSession |
McpAsyncServerExchange.getSession() |
McpServerSession |
McpSyncServerExchange.getSession() |
| Constructor and Description |
|---|
McpAsyncServerExchange(McpServerSession session,
McpSchema.ClientCapabilities clientCapabilities,
McpSchema.Implementation clientInfo)
Create a new asynchronous exchange with the client.
|
| Modifier and Type | Method and Description |
|---|---|
McpServerSession |
McpServerSession.Factory.create(McpServerTransport sessionTransport)
Creates a new 1:1 representation of the client-server interaction.
|
Copyright © 2025. All rights reserved.