build-mcp-app
Pass
Audited by Gen Agent Trust Hub on May 7, 2026
Risk Level: SAFE
Full Analysis
- Framework and SDK Usage: The skill utilizes standard, vendor-supported libraries such as
@modelcontextprotocol/sdkand@modelcontextprotocol/ext-appsto facilitate communication between MCP servers and UI components. - Security-First Architecture: Significant emphasis is placed on the use of sandboxed iframes and restrictive CSP settings to isolate UI widgets, preventing them from accessing sensitive host data or making unauthorized network requests.
- Resource Inlining Pattern: The skill documents a specific technique for inlining the required JavaScript bundle into widget HTML. This approach is a technical necessity to comply with platform-level security constraints (such as the blocking of external script fetches) and is implemented using local file reads of specified packages.
- Abuse Protection and Best Practices: Detailed guidance is provided on implementing rate limiting, IP tiering (using official Anthropic egress ranges), and request caching to protect hosted servers from potential abuse.
- Secure Navigation and File Handling: The documentation correctly identifies that standard browser features like
window.openare restricted by the sandbox and instructs developers to use host-mediated APIs likeapp.openLinkandapp.downloadFilefor these actions. - Payload Management: Strategies for managing large tool results are included to ensure application stability and prevent client-side parsing errors associated with host-enforced character limits.
Audit Metadata