Class CamelMcpHubClient

java.lang.Object
com.tnsai.mcp.registry.CamelMcpHubClient
All Implemented Interfaces:
McpRegistrySource

public class CamelMcpHubClient extends Object implements McpRegistrySource
Registry client for the Camel MCP Hub at mcp.camel-ai.org.

Fetches MCP server metadata from the Camel AI MCP Hub registry. The HTTP fetch is performed via a protected method that can be overridden in tests.

  • Constructor Details

    • CamelMcpHubClient

      public CamelMcpHubClient()
      Creates a CamelMcpHubClient with default HTTP client.
    • CamelMcpHubClient

      public CamelMcpHubClient(HttpClient httpClient)
      Creates a CamelMcpHubClient with a custom HTTP client.
      Parameters:
      httpClient - the HTTP client to use
  • Method Details