Class SseMcpJsonRPCService
java.lang.Object
io.quarkiverse.mcp.server.http.runtime.devui.SseMcpJsonRPCService
-
Constructor Summary
ConstructorsConstructorDescriptionSseMcpJsonRPCService(ToolManager toolManager, PromptManager promptManager, ResourceManager resourceManager, ResourceTemplateManager resourceTemplateManager, PromptCompletionManager promptCompletionManager, ResourceTemplateCompletionManager resourceTemplateCompletionManager, String host, int port, String rootPath, McpHttpServersBuildTimeConfig config) -
Method Summary
Modifier and TypeMethodDescriptionio.vertx.core.json.JsonObjectcallTool(String name, io.vertx.core.json.JsonObject args, String bearerToken, boolean forceNewSession) io.vertx.core.json.JsonObjectcompletePrompt(String name, String argumentName, String argumentValue, String bearerToken, boolean forceNewSession) io.vertx.core.json.JsonObjectcompleteResourceTemplate(String name, String argumentName, String argumentValue, String bearerToken, boolean forceNewSession) io.vertx.core.json.JsonObjectgetPrompt(String name, io.vertx.core.json.JsonObject args, String bearerToken, boolean forceNewSession) io.vertx.core.json.JsonArrayio.vertx.core.json.JsonArrayio.vertx.core.json.JsonArrayio.vertx.core.json.JsonArrayio.vertx.core.json.JsonArrayio.vertx.core.json.JsonArrayio.vertx.core.json.JsonObjectreadResource(String serverName, String uri, String bearerToken, boolean forceNewSession)
-
Constructor Details
-
SseMcpJsonRPCService
public SseMcpJsonRPCService(ToolManager toolManager, PromptManager promptManager, ResourceManager resourceManager, ResourceTemplateManager resourceTemplateManager, PromptCompletionManager promptCompletionManager, ResourceTemplateCompletionManager resourceTemplateCompletionManager, String host, int port, String rootPath, McpHttpServersBuildTimeConfig config)
-
-
Method Details
-
getToolsData
public io.vertx.core.json.JsonArray getToolsData() -
getPromptsData
public io.vertx.core.json.JsonArray getPromptsData() -
getPromptCompletionsData
public io.vertx.core.json.JsonArray getPromptCompletionsData() -
getResourcesData
public io.vertx.core.json.JsonArray getResourcesData() -
getResourceTemplatesData
public io.vertx.core.json.JsonArray getResourceTemplatesData() -
getResourceTemplateCompletionsData
public io.vertx.core.json.JsonArray getResourceTemplateCompletionsData() -
callTool
public io.vertx.core.json.JsonObject callTool(String name, io.vertx.core.json.JsonObject args, String bearerToken, boolean forceNewSession) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
getPrompt
public io.vertx.core.json.JsonObject getPrompt(String name, io.vertx.core.json.JsonObject args, String bearerToken, boolean forceNewSession) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
completePrompt
public io.vertx.core.json.JsonObject completePrompt(String name, String argumentName, String argumentValue, String bearerToken, boolean forceNewSession) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
readResource
public io.vertx.core.json.JsonObject readResource(String serverName, String uri, String bearerToken, boolean forceNewSession) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
completeResourceTemplate
public io.vertx.core.json.JsonObject completeResourceTemplate(String name, String argumentName, String argumentValue, String bearerToken, boolean forceNewSession) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-