Skip to content

docs: fill gaps surfaced by developer feedback#563

Open
localden wants to merge 2 commits intomainfrom
docs/fill-gaps-from-feedback
Open

docs: fill gaps surfaced by developer feedback#563
localden wants to merge 2 commits intomainfrom
docs/fill-gaps-from-feedback

Conversation

@localden
Copy link
Contributor

Summary

Adds documentation for recurring questions and pitfalls that surfaced while building real Apps:

  • patterns.md — new sections on model-vs-App data visibility, height control (and the autoResize + 100vh loop), touch device support, localStorage namespacing, sharing one ui:// resource across tools, conditionally showing UI, openLink, and the color-scheme iframe transparency gotcha
  • overview.md — note on resource versioning/caching (template and tool result may come from different code versions)
  • New pagesdesign-guidelines.md and troubleshooting.md, wired into typedoc.config.mjs

Test plan

  • npm exec typedoc -- --treatValidationWarningsAsErrors --emit none passes
  • npm run build generates docs without broken {@link} references
  • New pages render correctly in the TypeDoc sidebar
  • Internal anchor links in patterns.md resolve

Adds guidance for recurring questions and pitfalls that came up while
building Apps against the SDK:

patterns.md:
- Model vs App data visibility (content/structuredContent/_meta split)
- Controlling App height, including the autoResize + 100vh feedback loop
- Touch device support (touch-action, horizontal overflow)
- localStorage key namespacing across shared sandbox origin
- Sharing a single ui:// resource across multiple tools
- Conditionally showing UI (two-tool workaround)
- Opening external links via app.openLink
- color-scheme CSS gotcha that breaks iframe transparency

overview.md:
- Resource versioning/caching note — template and data may be from
  different code versions

New pages:
- design-guidelines.md
- troubleshooting.md

typedoc.config.mjs wired up to include the two new pages.
@github-actions
Copy link
Contributor

github-actions bot commented Mar 23, 2026

📖 Docs Preview Deployed

Preview (stable) https://pr-563.mcp-ext-apps-docs-preview.pages.dev
This commit https://8743eda6.mcp-ext-apps-docs-preview.pages.dev
Commit 5cfeb4e

Includes drafts and future-dated posts. All pages served with noindex, nofollow — search engines will not crawl this preview.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 23, 2026

Open in StackBlitz

@modelcontextprotocol/ext-apps

npm i https://pkg.pr.new/@modelcontextprotocol/ext-apps@563

@modelcontextprotocol/server-basic-preact

npm i https://pkg.pr.new/@modelcontextprotocol/server-basic-preact@563

@modelcontextprotocol/server-basic-react

npm i https://pkg.pr.new/@modelcontextprotocol/server-basic-react@563

@modelcontextprotocol/server-basic-solid

npm i https://pkg.pr.new/@modelcontextprotocol/server-basic-solid@563

@modelcontextprotocol/server-basic-svelte

npm i https://pkg.pr.new/@modelcontextprotocol/server-basic-svelte@563

@modelcontextprotocol/server-basic-vanillajs

npm i https://pkg.pr.new/@modelcontextprotocol/server-basic-vanillajs@563

@modelcontextprotocol/server-basic-vue

npm i https://pkg.pr.new/@modelcontextprotocol/server-basic-vue@563

@modelcontextprotocol/server-budget-allocator

npm i https://pkg.pr.new/@modelcontextprotocol/server-budget-allocator@563

@modelcontextprotocol/server-cohort-heatmap

npm i https://pkg.pr.new/@modelcontextprotocol/server-cohort-heatmap@563

@modelcontextprotocol/server-customer-segmentation

npm i https://pkg.pr.new/@modelcontextprotocol/server-customer-segmentation@563

@modelcontextprotocol/server-debug

npm i https://pkg.pr.new/@modelcontextprotocol/server-debug@563

@modelcontextprotocol/server-map

npm i https://pkg.pr.new/@modelcontextprotocol/server-map@563

@modelcontextprotocol/server-pdf

npm i https://pkg.pr.new/@modelcontextprotocol/server-pdf@563

@modelcontextprotocol/server-scenario-modeler

npm i https://pkg.pr.new/@modelcontextprotocol/server-scenario-modeler@563

@modelcontextprotocol/server-shadertoy

npm i https://pkg.pr.new/@modelcontextprotocol/server-shadertoy@563

@modelcontextprotocol/server-sheet-music

npm i https://pkg.pr.new/@modelcontextprotocol/server-sheet-music@563

@modelcontextprotocol/server-system-monitor

npm i https://pkg.pr.new/@modelcontextprotocol/server-system-monitor@563

@modelcontextprotocol/server-threejs

npm i https://pkg.pr.new/@modelcontextprotocol/server-threejs@563

@modelcontextprotocol/server-transcript

npm i https://pkg.pr.new/@modelcontextprotocol/server-transcript@563

@modelcontextprotocol/server-video-resource

npm i https://pkg.pr.new/@modelcontextprotocol/server-video-resource@563

@modelcontextprotocol/server-wiki-explorer

npm i https://pkg.pr.new/@modelcontextprotocol/server-wiki-explorer@563

commit: 65d9e31

@localden localden added the documentation Improvements or additions to documentation label Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant