Package io.modelcontextprotocol.spec
Interface McpClientTransport
- All Superinterfaces:
McpTransport
- All Known Implementing Classes:
HttpClientSseClientTransport,StdioClientTransport
Marker interface for the client-side MCP transport.
- Author:
- Christian Tzolov, Dariusz Jędrzejczyk
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>connect(Function<reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>, reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>> handler) Methods inherited from interface io.modelcontextprotocol.spec.McpTransport
close, closeGracefully, sendMessage, unmarshalFrom
-
Method Details
-
connect
reactor.core.publisher.Mono<Void> connect(Function<reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>, reactor.core.publisher.Mono<McpSchema.JSONRPCMessage>> handler)
-