Read an MCP App view's HTML and its declared CSP and permissions
Read an MCP App view's HTML and its declared CSP and permissions.
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
tool_id*stringThe MCP tool row the call ran on
uri*stringThe view's ui:// resource
Success
curl -X POST 'http://localhost:7091/api/mcp_apps/resource' \ -H 'Content-Type: application/json' \ -d '{ "tool_id": "string", "uri": "string"}'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.
POST /api/mcp_apps/result POST
Read back the tool result an MCP App view was handed live, for a reopened conversation. The caller needs the access that reloading the conversation needs. Not available to [personal access tokens](/API/personal-access-tokens); call it from a signed-in session.