Class HttpMcpServerRecorder
java.lang.Object
io.quarkiverse.mcp.server.http.runtime.HttpMcpServerRecorder
-
Constructor Summary
ConstructorsConstructorDescriptionHttpMcpServerRecorder(io.quarkus.runtime.RuntimeValue<McpServersRuntimeConfig> config, McpHttpServersBuildTimeConfig sseConfig) -
Method Summary
Modifier and TypeMethodDescriptionConsumer<io.vertx.ext.web.Route>addBodyHandler(io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> bodyHandler) io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>createMcpEndpointHandler(String serverName) Function<io.quarkus.arc.SyntheticCreationalContext<McpServerEndpoints>,McpServerEndpoints> io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>createMessagesEndpointHandler(String serverName) io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>createSseEndpointHandler(String mcpPath, String serverName)
-
Constructor Details
-
HttpMcpServerRecorder
public HttpMcpServerRecorder(io.quarkus.runtime.RuntimeValue<McpServersRuntimeConfig> config, McpHttpServersBuildTimeConfig sseConfig)
-
-
Method Details
-
createMcpEndpointHandler
public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> createMcpEndpointHandler(String serverName) -
createSseEndpointHandler
-
addBodyHandler
public Consumer<io.vertx.ext.web.Route> addBodyHandler(io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> bodyHandler) -
createMessagesEndpointHandler
public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> createMessagesEndpointHandler(String serverName) -
createMcpServerEndpoints
public Function<io.quarkus.arc.SyntheticCreationalContext<McpServerEndpoints>,McpServerEndpoints> createMcpServerEndpoints(List<McpServerEndpoints.McpServerEndpoint> endpoints)
-