Skip to content

AI Agent Require Pairing

AiAgentRequirePairing prevents users from waiving SandMan's pairing-code requirement for AI agent clients that are not already authorized. It is a global-only Sandboxie Plus setting, introduced in 1.19.1 / 5.74.1. 1

Syntax

AiAgentRequirePairing=(y|n)

Set this in [GlobalSettings] in Sandboxie.ini. With y, SandMan requires pairing when connected to the Sandboxie API. With n (the default), SandMan follows the per-user Options/McpRequirePairing preference in Sandboxie-Plus.ini. That preference defaults to requiring pairing, so n does not itself turn pairing off. 2

Usage

To keep the pairing code required even if the user has chosen to waive it:

[GlobalSettings]
AiAgentRequirePairing=y

An unauthorized client needs the code to use tools that require pairing. SandMan does not revoke existing authorizations or make remembered clients enter a new code. Public tools, such as documentation and settings-schema lookup, still do not require pairing. 3

See also