Run a tool an MCP App view calls
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; 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).
application/json- body
approved?booleanThe user approved this call, for a tool that needs approval
arguments?Its arguments
name*stringThe tool the view calls
tool_id*stringThe MCP tool row the view belongs to
Success
curl -X POST 'http://localhost:7091/api/mcp_apps/call' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "tool_id": "string"}'GET /api/mcp_apps/sandbox GET
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](/API/personal-access-tokens); call it from a signed-in session.
Read an MCP App view's HTML and its declared CSP and permissions POST
Read an MCP App view's HTML and its declared CSP and permissions. Not available to [personal access tokens](/API/personal-access-tokens); call it from a signed-in session.