Class SmitheryClient

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

public class SmitheryClient extends Object implements McpRegistrySource
Registry client for Smithery at smithery.ai.

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

  • Constructor Details

    • SmitheryClient

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

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