Interface McpServerTargetConfiguration.Builder

  • Method Details

    • endpoint

      The endpoint for the MCP server target configuration.

      Parameters:
      endpoint - The endpoint for the MCP server target configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mcpToolSchema

      The tool schema configuration for the MCP server target. Supported only when the credential provider is configured with an authorization code grant type. Dynamic tool discovery/synchronization will be disabled when target is configured with mcpToolSchema.

      Parameters:
      mcpToolSchema - The tool schema configuration for the MCP server target. Supported only when the credential provider is configured with an authorization code grant type. Dynamic tool discovery/synchronization will be disabled when target is configured with mcpToolSchema.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mcpToolSchema

      The tool schema configuration for the MCP server target. Supported only when the credential provider is configured with an authorization code grant type. Dynamic tool discovery/synchronization will be disabled when target is configured with mcpToolSchema.

      This is a convenience method that creates an instance of the McpToolSchemaConfiguration.Builder avoiding the need to create one manually via McpToolSchemaConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to mcpToolSchema(McpToolSchemaConfiguration).

      Parameters:
      mcpToolSchema - a consumer that will call methods on McpToolSchemaConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • listingMode

      McpServerTargetConfiguration.Builder listingMode(String listingMode)

      The listing mode for the MCP server target configuration. MCP resources for default targets are cached at the control plane for faster access. MCP resources for dynamic targets will be dynamically retrieved when listing tools.

      Parameters:
      listingMode - The listing mode for the MCP server target configuration. MCP resources for default targets are cached at the control plane for faster access. MCP resources for dynamic targets will be dynamically retrieved when listing tools.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • listingMode

      The listing mode for the MCP server target configuration. MCP resources for default targets are cached at the control plane for faster access. MCP resources for dynamic targets will be dynamically retrieved when listing tools.

      Parameters:
      listingMode - The listing mode for the MCP server target configuration. MCP resources for default targets are cached at the control plane for faster access. MCP resources for dynamic targets will be dynamically retrieved when listing tools.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: