Class ManagementGatewayMcpServerFactory
java.lang.Object
org.frankframework.mcp.ManagementGatewayMcpServerFactory
Assembles an
McpSyncServer that exposes the Frank!Framework Management Gateway. It collects the tools from all
registered McpToolProviders and wires them onto the given transport.-
Constructor Summary
ConstructorsConstructorDescriptionManagementGatewayMcpServerFactory(List<McpToolProvider> toolProviders, io.modelcontextprotocol.json.McpJsonMapper jsonMapper) -
Method Summary
Modifier and TypeMethodDescriptionio.modelcontextprotocol.server.McpSyncServercreate(io.modelcontextprotocol.spec.McpServerTransportProvider transportProvider) io.modelcontextprotocol.server.McpSyncServercreate(io.modelcontextprotocol.spec.McpStreamableServerTransportProvider transportProvider) List<io.modelcontextprotocol.server.McpServerFeatures.SyncToolSpecification> getTools()All tools that will be exposed, collected from the registered providers.
-
Constructor Details
-
ManagementGatewayMcpServerFactory
public ManagementGatewayMcpServerFactory(List<McpToolProvider> toolProviders, io.modelcontextprotocol.json.McpJsonMapper jsonMapper)
-
-
Method Details
-
create
public io.modelcontextprotocol.server.McpSyncServer create(io.modelcontextprotocol.spec.McpServerTransportProvider transportProvider) -
create
public io.modelcontextprotocol.server.McpSyncServer create(io.modelcontextprotocol.spec.McpStreamableServerTransportProvider transportProvider) -
getTools
All tools that will be exposed, collected from the registered providers.
-