Interface McpServerSetStateAction

All Superinterfaces:
McpServerUpdateAction

public interface McpServerSetStateAction extends McpServerUpdateAction

Sets the state of the MCP Server. A Disabled MCP Server rejects all AI agent tool requests.


Example to create an instance using the builder pattern

     McpServerSetStateAction mcpServerSetStateAction = McpServerSetStateAction.builder()
             .state(McpServerState.ENABLED)
             .build()