ext-apps/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonathan Hefner 13b6d06399
Add CSP and CORS section to patterns docs
Adds a new section to the patterns guide explaining how to configure
Content Security Policy and CORS for MCP Apps that make network requests:

- CSP via `_meta.ui.csp` controls browser-side permissions (`connectDomains`,
  `resourceDomains`)
- CORS via `_meta.ui.domain` provides a stable origin for API servers to
  allowlist

Includes a type-checked example showing `computeAppDomainForClaude()` helper
that hashes an MCP server URL to create a stable `*.claudemcpcontent.com`
subdomain. Also adds `@see` links to `McpUiResourceMeta` and `McpUiResourceCsp`
in `registerAppResource` JSDoc.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 14:33:57 -06:00
..
agent-skills.md Add Codex and Goose to documentation 2026-01-25 20:28:11 -06:00
index.html Add API docs (#29) 2025-11-27 22:09:22 +00:00
migrate_from_openai_apps.md fix(docs): improve OpenAI migration guide accuracy (#349) 2026-01-25 19:03:43 +02:00
overview.md chore: stable spec release 2026-01-26 and SDK v1.0.0 (#362) 2026-01-26 17:31:33 +00:00
patterns.md Add CSP and CORS section to patterns docs 2026-01-30 14:33:57 -06:00
patterns.tsx Add binary blob resource pattern to patterns guide 2026-01-28 14:50:34 -06:00
quickstart-success.png Rewrite Quickstart guide with type-checked code examples 2026-01-24 09:41:51 -06:00
quickstart.md docs: fix basic-host setup instructions in quickstart (#398) 2026-01-29 14:40:54 -06:00
testing-mcp-apps.md docs: add root npm install step for basic-host setup (#371) 2026-01-28 21:39:23 +02:00