| Package | Description |
|---|---|
| io.modelcontextprotocol.client.transport | |
| io.modelcontextprotocol.spec |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Void> |
WebRxSseClientTransport.sendMessage(McpSchema.JSONRPCMessage message)
Sends a JSON-RPC message to the server.
|
reactor.core.publisher.Mono<Void> |
StdioClientTransport.sendMessage(McpSchema.JSONRPCMessage message) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Void> |
WebRxSseClientTransport.connect(Function<reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>,reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>> handler)
Establishes the SSE connection with the server and sets up message handling.
|
reactor.core.publisher.Mono<Void> |
WebRxSseClientTransport.connect(Function<reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>,reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>> handler)
Establishes the SSE connection with the server and sets up message handling.
|
reactor.core.publisher.Mono<Void> |
StdioClientTransport.connect(Function<reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>,reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>> handler)
Starts the server process and initializes the message processing streams.
|
reactor.core.publisher.Mono<Void> |
StdioClientTransport.connect(Function<reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>,reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>> handler)
Starts the server process and initializes the message processing streams.
|
protected void |
StdioClientTransport.handleOutbound(Function<reactor.core.publisher.Flux<McpSchema.JSONRPCMessage>,reactor.core.publisher.Flux<McpSchema.JSONRPCMessage>> outboundConsumer) |
protected void |
StdioClientTransport.handleOutbound(Function<reactor.core.publisher.Flux<McpSchema.JSONRPCMessage>,reactor.core.publisher.Flux<McpSchema.JSONRPCMessage>> outboundConsumer) |
| Modifier and Type | Class and Description |
|---|---|
static class |
McpSchema.JSONRPCNotification |
static class |
McpSchema.JSONRPCRequest |
static class |
McpSchema.JSONRPCResponse |
| Modifier and Type | Method and Description |
|---|---|
static McpSchema.JSONRPCMessage |
McpSchema.deserializeJsonRpcMessage(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
String jsonText)
Deserializes a JSON string into a JSONRPCMessage object.
|
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Void> |
McpServerSession.handle(McpSchema.JSONRPCMessage message)
Called by the
McpServerTransportProvider once the session is determined. |
reactor.core.publisher.Mono<Void> |
McpTransport.sendMessage(McpSchema.JSONRPCMessage message)
Sends a message to the peer asynchronously.
|
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Void> |
McpClientTransport.connect(Function<reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>,reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>> handler) |
reactor.core.publisher.Mono<Void> |
McpClientTransport.connect(Function<reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>,reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>> handler) |
default reactor.core.publisher.Mono<Void> |
McpTransport.connect(Function<reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>,reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>> handler)
Deprecated.
This is only relevant for client-side transports and will be removed
from this interface in 0.9.0.
|
default reactor.core.publisher.Mono<Void> |
McpTransport.connect(Function<reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>,reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>> handler)
Deprecated.
This is only relevant for client-side transports and will be removed
from this interface in 0.9.0.
|
Copyright © 2025. All rights reserved.