ext-apps/examples/basic-host/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Anton Pidkuiko 6a8f5031be
Fix mimeType, CSP settings and QR code example (#111)
- Fix RESOURCE_MIME_TYPE to match spec: "text/html;profile=mcp-app"
- Add CSP field to McpUiSandboxResourceReadyNotification type and schema
- Update basic-host to extract and pass CSP metadata from resources
- Update sandbox.ts to dynamically inject CSP meta tag into inner iframe
- Remove static CSP from sandbox.html (now dynamic based on resource metadata)
- Update QR server to use custom read_resource handler for _meta injection
- Update requirements.txt to require mcp[cli]>=1.23.3

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-12-09 20:26:34 +01:00
..
global.css Add basic-host and basic-server-react examples 2025-12-04 14:28:27 -06:00
implementation.ts Fix mimeType, CSP settings and QR code example (#111) 2025-12-09 20:26:34 +01:00
index.module.css Refactor basic-host to use ServerSelect component 2025-12-08 16:34:52 -06:00
index.tsx Refactor basic-host to use ServerSelect component 2025-12-08 16:34:52 -06:00
sandbox.ts Fix mimeType, CSP settings and QR code example (#111) 2025-12-09 20:26:34 +01:00
vite-env.d.ts Add basic-host and basic-server-react examples 2025-12-04 14:28:27 -06:00