Share via


MCPApproval Class

Definition

public class MCPApproval
type MCPApproval = class
Public Class MCPApproval
Inheritance
MCPApproval

Constructors

Name Description
MCPApproval(MCPApprovalPerTool)

Create an instance of an MCPApproval with custom trust levels for different tools.

MCPApproval(String)

Create an instance of an MCPApproval with trust level, equal for all tools.

Properties

Name Description
AlwaysRequireApproval

Return true if we do not trust all tools and always need to ask for approval before sending data to server.

NeverRequireApproval

Return true if we trust all tools and do not need to ask for approval before sending data to server.

PerToolApproval

Return the object, describing, which tools always require approval and which do not need it.

Applies to