Class McpServersOrgClient

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

public class McpServersOrgClient extends Object implements McpRegistrySource
Registry client for mcpservers.org directory.

Fetches MCP server metadata from the mcpservers.org community directory. The HTTP fetch is performed via a protected method that can be overridden in tests.

  • Constructor Details

    • McpServersOrgClient

      public McpServersOrgClient()
      Creates an McpServersOrgClient with default HTTP client.
    • McpServersOrgClient

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