Interface RegisteredMCPServerDetails.Builder

  • Method Details

    • name

      The MCP server name.

      Parameters:
      name - The MCP server name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpoint

      The MCP server endpoint URL.

      Parameters:
      endpoint - The MCP server endpoint URL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authorizationMethod

      RegisteredMCPServerDetails.Builder authorizationMethod(String authorizationMethod)

      The MCP server uses this authorization method.

      Parameters:
      authorizationMethod - The MCP server uses this authorization method.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • authorizationMethod

      RegisteredMCPServerDetails.Builder authorizationMethod(MCPServerAuthorizationMethod authorizationMethod)

      The MCP server uses this authorization method.

      Parameters:
      authorizationMethod - The MCP server uses this authorization method.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • description

      RegisteredMCPServerDetails.Builder description(String description)

      Optional description for the MCP server.

      Parameters:
      description - Optional description for the MCP server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • apiKeyHeader

      RegisteredMCPServerDetails.Builder apiKeyHeader(String apiKeyHeader)

      If the MCP server uses API key authentication, these details are provided.

      Parameters:
      apiKeyHeader - If the MCP server uses API key authentication, these details are provided.
      Returns:
      Returns a reference to this object so that method calls can be chained together.