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

      McpServer getServerDetails(String id)
      Obtains the details for a single MCP server denoted by its ID.
    • 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'.