Comprehensive MCP Apps docs, string CallTool resolution (#3575)

* Comprehensive MCP Apps docs, string CallTool resolution, bump prefab-ui >=0.13.0

Rewrites the apps documentation as a learning journey: overview → Prefab apps
→ FastMCPApp → patterns → dev tools → custom HTML. Adds a new FastMCPApp page
covering composable apps with @app.tool()/@app.ui(), CallTool, forms, actions,
and composition. Teaches Rx() and set_initial_state() as the primary state API.

Adds string-based CallTool resolution so CallTool("save_contact") resolves to
the tool's global key, matching callable ref behavior. Requires prefab-ui 0.13.0
which passes strings through the tool resolver.

* Detect ambiguous string CallTool resolution across apps

* Simplify string name registry to plain dict (last-write-wins)
This commit is contained in:
Jeremiah Lowin 2026-03-21 19:44:11 -04:00 committed by GitHub
commit 1be9b4d39c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 1088 additions and 270 deletions

View file

@ -193,6 +193,7 @@
"pages": [
"apps/overview",
"apps/prefab",
"apps/interactive-apps",
"apps/patterns",
"apps/development",
"apps/low-level"