AI Agent Connection (MCP)
Sandboxie Plus can connect a local AI agent to SandMan to help diagnose sandbox problems. A paired agent can inspect sandbox settings, running processes, and recent Sandboxie messages. Start with diagnosis before asking the agent to change anything. The connection was introduced in Sandboxie Plus 1.19.1 / 5.74.1. 1
Connect an agent
- In SandMan, open Help > Troubleshoot with an AI Agent. Follow the setup instructions for your MCP client. Use a trusted local client running outside any sandbox. SandMan refuses connections from sandboxed processes. 2
- In SandMan, turn on Options > AI Agent Connection (MCP) if it is not already on. 3
- Ask the client to inspect one named sandbox. If it asks for a pairing code, open Options > AI Agent Session Window and give the displayed code only to the client you intended to connect. 3 4
- Check that the agent can identify the sandbox and summarize its recent messages. If it can look up documentation but cannot see your sandboxes, check pairing and connection problems. 1 4
Pairing and approval
Pairing lets the client use tools that can read information about your Sandboxie installation. It does not approve changes. SandMan uses a separate consent mode for requests such as applying configuration edits or starting a program. For a diagnostic session, choose Look, do not touch to refuse requests that go through the change-approval check. 4 5
The connection to SandMan is local. Your AI client may still send the conversation and tool results to its model provider. Review the client's data-handling settings before sharing sensitive diagnostics.
Disconnect
Turn off Options > AI Agent Connection (MCP) when you are finished. This stops the listener and closes its active connections. 3