Olivier Chafik
9f09932baf
feat: use structuredContent with outputSchema in example servers (#220)
* build app-with-deps
* make registerAppTool more interchangeable w/ server.registerTool
* feat: use structuredContent in all example servers
All servers now return structuredContent alongside JSON text content.
All mcp-apps now read structuredContent directly (no JSON.parse fallback).
Updated servers:
- basic-server-vanillajs
- budget-allocator-server
- cohort-heatmap-server
- customer-segmentation-server
- integration-server
- scenario-modeler-server
- system-monitor-server
- threejs-server
- video-resource-server
- wiki-explorer-server
* feat: add outputSchema to all example servers
Define output schemas for structuredContent validation:
- basic-server-vanillajs: { time: string }
- budget-allocator-server: BudgetDataResponseSchema
- cohort-heatmap-server: CohortDataSchema
- customer-segmentation-server: customers/segments schema
- integration-server: { time: string }
- scenario-modeler-server: templates/defaultInputs schema
- system-monitor-server: SystemStatsSchema
- threejs-server: { code, height }
- video-resource-server: { videoUri, description }
- wiki-explorer-server: { page, links, error }
* prettier:fix
* make registerAppTool more interchangeable w/ server.registerTool
* feat: use structuredContent in all example servers
All servers now return structuredContent alongside JSON text content.
All mcp-apps now read structuredContent directly (no JSON.parse fallback).
Updated servers:
- basic-server-vanillajs
- budget-allocator-server
- cohort-heatmap-server
- customer-segmentation-server
- integration-server
- scenario-modeler-server
- system-monitor-server
- threejs-server
- video-resource-server
- wiki-explorer-server
* feat: add outputSchema to all example servers
Define output schemas for structuredContent validation:
- basic-server-vanillajs: { time: string }
- budget-allocator-server: BudgetDataResponseSchema
- cohort-heatmap-server: CohortDataSchema
- customer-segmentation-server: customers/segments schema
- integration-server: { time: string }
- scenario-modeler-server: templates/defaultInputs schema
- system-monitor-server: SystemStatsSchema
- threejs-server: { code, height }
- video-resource-server: { videoUri, description }
- wiki-explorer-server: { page, links, error }
* prettier:fix
* revert: remove unrelated workflow, version, and arch changes
* chore: update package-lock.json
* refactor(basic-server-vanillajs): address PR review comments
- Simplify server.ts to return plain time string in text content (not JSON),
matching the quickstart guide pattern
- Add defensive coding in mcp-app.ts with optional chaining and fallback
to handle potential type mismatches gracefully
* refactor: restore rich text formatting for LLM-readable content
Restore the human-readable text formatting functions that were removed,
providing meaningful summaries in the text content while keeping
structuredContent for programmatic UI consumption:
- budget-allocator-server: formatBudgetSummary with config overview
- cohort-heatmap-server: formatCohortSummary with retention stats
- scenario-modeler-server: formatScenarioSummary with financial metrics
|
2026-01-12 14:25:16 +00:00 |
| .. |
|
basic-host
|
fix: proper CSP handling in basic-host sandboxing (HTTP headers, worker-src, document.write) (#234)
|
2026-01-11 14:32:48 +00:00 |
|
basic-server-preact
|
fix: add error handling for server startup failures (#236)
|
2026-01-11 16:52:55 +00:00 |
|
basic-server-react
|
fix: add error handling for server startup failures (#236)
|
2026-01-11 16:52:55 +00:00 |
|
basic-server-solid
|
fix: add error handling for server startup failures (#236)
|
2026-01-11 16:52:55 +00:00 |
|
basic-server-svelte
|
fix: add error handling for server startup failures (#236)
|
2026-01-11 16:52:55 +00:00 |
|
basic-server-vanillajs
|
feat: use structuredContent with outputSchema in example servers (#220)
|
2026-01-12 14:25:16 +00:00 |
|
basic-server-vue
|
fix: add error handling for server startup failures (#236)
|
2026-01-11 16:52:55 +00:00 |
|
budget-allocator-server
|
feat: use structuredContent with outputSchema in example servers (#220)
|
2026-01-12 14:25:16 +00:00 |
|
cohort-heatmap-server
|
feat: use structuredContent with outputSchema in example servers (#220)
|
2026-01-12 14:25:16 +00:00 |
|
customer-segmentation-server
|
feat: use structuredContent with outputSchema in example servers (#220)
|
2026-01-12 14:25:16 +00:00 |
|
integration-server
|
feat: use structuredContent with outputSchema in example servers (#220)
|
2026-01-12 14:25:16 +00:00 |
|
map-server
|
examples: Add CesiumJS Map App example (#235)
|
2026-01-12 12:13:56 +00:00 |
|
qr-server
|
Add safeAreaInsets support to all example apps (#202)
|
2026-01-08 18:03:13 +00:00 |
|
scenario-modeler-server
|
feat: use structuredContent with outputSchema in example servers (#220)
|
2026-01-12 14:25:16 +00:00 |
|
sheet-music-server
|
fix: add error handling for server startup failures (#236)
|
2026-01-11 16:52:55 +00:00 |
|
system-monitor-server
|
feat: use structuredContent with outputSchema in example servers (#220)
|
2026-01-12 14:25:16 +00:00 |
|
threejs-server
|
feat: use structuredContent with outputSchema in example servers (#220)
|
2026-01-12 14:25:16 +00:00 |
|
video-resource-server
|
feat: use structuredContent with outputSchema in example servers (#220)
|
2026-01-12 14:25:16 +00:00 |
|
wiki-explorer-server
|
feat: use structuredContent with outputSchema in example servers (#220)
|
2026-01-12 14:25:16 +00:00 |
|
run-all.ts
|
refactor(examples): use concurrently API for proper process cleanup (#128)
|
2025-12-11 14:04:39 +01:00 |