Class ConfigTracker
java.lang.Object
com.mulesoft.connectors.mcp.internal.ConfigTracker
This class is part of the workaround for issue {@link https://github.com/modelcontextprotocol/java-sdk/issues/273}.
This class hacks through the SDK intentional separation between behavior and connection parameters, which isn't compatible with
the MCP SDK which requires the transport to be created alongside the McpAsyncServer
TODO: Future maintainers of this connector should be on the watch-out for resolution, contributing a fix or (in worst case scenario) forking the MCP SDK
- Since:
- 0.1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetClientConfig(String refName) getServerConfig(String refName) voidregister(ClientConfig clientConfig) voidregister(ServerConfig serverConfig) voidunregister(ClientConfig clientConfig) voidunregister(ServerConfig serverConfig)
-
Constructor Details
-
ConfigTracker
public ConfigTracker()
-
-
Method Details
-
register
-
register
-
getServerConfig
-
getClientConfig
-
unregister
-
unregister
-