Package io.vertx.ext.mcp.transport
Interface VertxMcpTransport
- All Known Implementing Classes:
VertxMcpSseServerTransportProvider,VertxMcpStreamableServerTransportProvider
public interface VertxMcpTransport
MCP Transport for Vert.x.
This interface provides a way to create a MCP transport for Vert.x.
Created By Navíd Mitchell 🤪on 8/11/25
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void> Close the Vert.x MCP transport gracefully.io.vertx.ext.web.RouterGet the router for the Vert.x MCP transport.
-
Method Details
-
getRouter
io.vertx.ext.web.Router getRouter()Get the router for the Vert.x MCP transport.- Returns:
- The router for the Vert.x MCP transport.
-
closeGracefully
reactor.core.publisher.Mono<Void> closeGracefully()Close the Vert.x MCP transport gracefully.- Returns:
- A Mono that completes when the transport is closed.
-