Class ManagementGatewayMcpServerFactory

java.lang.Object
org.frankframework.mcp.ManagementGatewayMcpServerFactory

public class ManagementGatewayMcpServerFactory extends Object
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

    Constructors
    Constructor
    Description
    ManagementGatewayMcpServerFactory(List<McpToolProvider> toolProviders, io.modelcontextprotocol.json.McpJsonMapper jsonMapper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.modelcontextprotocol.server.McpSyncServer
    create(io.modelcontextprotocol.spec.McpServerTransportProvider transportProvider)
     
    io.modelcontextprotocol.server.McpSyncServer
    create(io.modelcontextprotocol.spec.McpStreamableServerTransportProvider transportProvider)
     
    List<io.modelcontextprotocol.server.McpServerFeatures.SyncToolSpecification>
    All tools that will be exposed, collected from the registered providers.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public List<io.modelcontextprotocol.server.McpServerFeatures.SyncToolSpecification> getTools()
      All tools that will be exposed, collected from the registered providers.