Asset Proxy
scenario-asset://{asset_id}Server-side proxy for fetching asset binaries by ID. The server looks up the asset's CDN URL from the Scenario API (using the request's auth context), fetches the binary, and returns it as a base64 blob via the MCP resource protocol. OAuth users must include teamId and projectId as query params. API key users don't need them.
Details
| MIME Type | dynamic (from asset metadata) |
| URI | scenario-asset://{asset_id} |
Usage Example
// API key user:
app.readServerResource({ uri: 'scenario-asset://asset_abc123' })
// OAuth user:
app.readServerResource({ uri: 'scenario-asset://asset_abc123?teamId=team_x&projectId=proj_y' })