Interface McpServerSetAuthenticationModeAction

All Superinterfaces:
McpServerUpdateAction

public interface McpServerSetAuthenticationModeAction extends McpServerUpdateAction

Sets the authentication mode of the MCP Server. This action has no effect if the MCP Server already uses the given authentication mode, and in that case the version of the MCP Server stays the same.


Example to create an instance using the builder pattern

     McpServerSetAuthenticationModeAction mcpServerSetAuthenticationModeAction = McpServerSetAuthenticationModeAction.builder()
             .authenticationMode(McpServerAuthenticationMode.CLIENT_CREDENTIALS)
             .build()