Render an MCP App widget headlessly
Call an MCP App tool and mount its ui:// widget in real headless Chromium running the production host bridge, then report whether it rendered, what it logged, what it was blocked from fetching, and the widget as an accessibility tree with addressable elements.
Executes the tool, so it has whatever side effects that tool has — the render is what happens afterwards.
Stateless: connect, call, render, read, dispose, all inside one request. Interactive widget sessions are a local-Inspector capability (/api/mcp/widget-session) because they hold a live browser in process, which a no-affinity hosted plane cannot serve.
Each render launches a browser, so the endpoint carries a per-replica concurrency cap and answers 429 when it is full.
Path parameters
ID of the hosted project that contains the server.
ID of the server inside the project.
Request body
Response
The render verdict and its evidence.