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: