Skip to Content
Docs

GET /api/mcp_apps/sandbox

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.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Query Parameters

csp?string

The view's _meta.ui.csp, as JSON

Response Body

Success

Example Request
curl -X GET 'http://localhost:7091/api/mcp_apps/sandbox'
Example Response200
Empty