Interface McpRegistryClient

All Known Implementing Classes:
DefaultMcpRegistryClient

public interface McpRegistryClient
The interface for talking to a MCP (sub)registry. See official reference documentation for more details about the API. This interface closely mirrors the official API.
  • Method Details

    • listServers

      McpServerList listServers(McpServerListRequest request)
      Obtains a list of MCP servers from the registry.
    • getServerDetails

      @Deprecated(forRemoval=true) McpGetServerResponse getServerDetails(String id)
      Deprecated, for removal: This API element is subject to removal in a future version.
      This method is not supported on the official MCP registry anymore.
      Obtains the details for a single MCP server denoted by its ID.
    • getSpecificServerVersion

      McpGetServerResponse getSpecificServerVersion(String serverName, String version)
      Get detailed information about a specific version of an MCP server. Use the special version 'latest' to get the latest version.
    • getAllVersionsOfServer

      McpServerList getAllVersionsOfServer(String serverName)
      Get all available versions for a specific MCP server
    • healthCheck

      McpRegistryHealth healthCheck()
      Runs a health check against the MCP registry. If the registry is healthy, the returned object's "status" field will be "ok".
    • ping

      Sends a ping message to the MCP registry. If the ping is successful, the 'pong' field in the response object will contain 'true'.