GET /api/mcp_apps/sandbox
The sandbox page an MCP App view runs in, served with a CSP built from the view's declared domains. Only on the sandbox origin (MCP_APPS_SANDBOX_URL), never one of the app's.
Not available to personal access tokens; call it from a signed-in session.
bearerAuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
csp?stringThe view's _meta.ui.csp, as JSON
Success
curl -X GET 'http://localhost:7091/api/mcp_apps/sandbox'Aggregate guardrail activity for the caller GET
Aggregate guardrail activity for the caller. [Personal access token](/API/personal-access-tokens) scope: `agents:read`.
Run a tool an MCP App view calls POST
Run a tool an MCP App view calls. Only tools visible to the app; a tool that needs approval answers 409 needs_approval until the call is sent approved. Not available to [personal access tokens](/API/personal-access-tokens); call it from a signed-in session.