ext-apps/examples
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Mel Ludowise fcc4b03bde
Add lazy-auth-server example (#679)
Adds an example MCP App server demonstrating lazy (on-demand) OAuth:
the server connects and lists tools without authentication, and only
prompts for auth when a protected tool is called, by responding 401
with a WWW-Authenticate header pointing at protected-resource metadata.

- Public `show_auth_button` app calls the protected `get_secret` tool
  via callServerTool; the host runs the OAuth flow on 401 and retries
- Embedded mock authorization server (authorization-code + PKCE,
  short-lived HS256 tokens, refresh + session revocation) so the whole
  flow runs from a single process
- TTL-scoped endpoint paths (/ttl/<seconds>/mcp) let slow or automated
  clients request longer-lived tokens per connection, threaded through
  OAuth via RFC 8707 resource indicators
- `elicit_url` / `elicit_by_error` tools demonstrating URL elicitation
2026-06-01 11:19:53 +01:00
..
basic-host chore: bump ext-apps to 1.7.2 (#660) 2026-05-15 19:01:25 +01:00
basic-server-preact chore: bump ext-apps to 1.7.2 (#660) 2026-05-15 19:01:25 +01:00
basic-server-react chore: bump ext-apps to 1.7.2 (#660) 2026-05-15 19:01:25 +01:00
basic-server-solid chore: bump ext-apps to 1.7.2 (#660) 2026-05-15 19:01:25 +01:00
basic-server-svelte chore: bump ext-apps to 1.7.2 (#660) 2026-05-15 19:01:25 +01:00
basic-server-vanillajs chore: bump ext-apps to 1.7.2 (#660) 2026-05-15 19:01:25 +01:00
basic-server-vue chore: bump ext-apps to 1.7.2 (#660) 2026-05-15 19:01:25 +01:00
budget-allocator-server chore: bump ext-apps to 1.7.2 (#660) 2026-05-15 19:01:25 +01:00
cohort-heatmap-server chore: bump ext-apps to 1.7.2 (#660) 2026-05-15 19:01:25 +01:00
customer-segmentation-server chore: bump ext-apps to 1.7.2 (#660) 2026-05-15 19:01:25 +01:00
debug-server chore: bump ext-apps to 1.7.2 (#660) 2026-05-15 19:01:25 +01:00
integration-server chore: bump ext-apps to 1.7.2 (#660) 2026-05-15 19:01:25 +01:00
lazy-auth-server Add lazy-auth-server example (#679) 2026-06-01 11:19:53 +01:00
map-server chore: bump ext-apps to 1.7.2 (#660) 2026-05-15 19:01:25 +01:00
pdf-server chore: bump ext-apps to 1.7.2 (#660) 2026-05-15 19:01:25 +01:00
qr-server chore: bump ext-apps to 1.7.2 (#660) 2026-05-15 19:01:25 +01:00
quickstart chore: bump ext-apps to 1.7.2 (#660) 2026-05-15 19:01:25 +01:00
say-server chore: bump ext-apps to 1.7.2 (#660) 2026-05-15 19:01:25 +01:00
scenario-modeler-server chore: bump ext-apps to 1.7.2 (#660) 2026-05-15 19:01:25 +01:00
shadertoy-server chore: bump ext-apps to 1.7.2 (#660) 2026-05-15 19:01:25 +01:00
sheet-music-server chore: bump ext-apps to 1.7.2 (#660) 2026-05-15 19:01:25 +01:00
system-monitor-server chore: bump ext-apps to 1.7.2 (#660) 2026-05-15 19:01:25 +01:00
threejs-server chore: bump ext-apps to 1.7.2 (#660) 2026-05-15 19:01:25 +01:00
transcript-server chore: bump ext-apps to 1.7.2 (#660) 2026-05-15 19:01:25 +01:00
video-resource-server chore: bump ext-apps to 1.7.2 (#660) 2026-05-15 19:01:25 +01:00
wiki-explorer-server chore: bump ext-apps to 1.7.2 (#660) 2026-05-15 19:01:25 +01:00
run-all.ts add EXAMPLE=folder-name support for tests & basic-host (#292) 2026-01-19 20:16:37 +00:00