ext-apps/examples
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonathan Hefner c3d91a13ad
Improve example CSS files to better demonstrate host style integration
Update `mcp-app.css`, `mcp-app.module.css`, and Svelte/Vue component
styles across all `basic-server-*` examples (and `integration-server`)
to use CSS variables instead of hardcoded values:

- Remove component-local color variables (`--color-primary`, etc.)
- Add derived spacing variables to `global.css` based on `--spacing-unit`
- Replace hardcoded spacing with `--spacing-xs/sm/md/lg` variables
- Add app-defined accent color variables (`--color-accent`,
  `--color-text-on-accent`) to `global.css` for brand customization
- Use app accent colors for button styling
- Update button hover to use `color-mix()` for theme-adaptive lightening
- Change focus-visible to use `--color-ring-primary` outline

This makes the templates more instructive for users and AI coding agents
building new MCP Apps by showing how to consume host-provided variables
semantically, define app-specific accent colors, and create adaptive
styling that integrates with host themes.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 09:32:26 -06:00
..
arcade-server examples: add arcade example to servers (#399) 2026-01-29 20:55:57 +02:00
basic-host chore: bump to 1.0.1 - fix npm reference for ext-apps dependency in examples + update zod to 4.x (#368) 2026-01-26 21:55:15 +00:00
basic-server-preact Improve example CSS files to better demonstrate host style integration 2026-01-30 09:32:26 -06:00
basic-server-react Improve example CSS files to better demonstrate host style integration 2026-01-30 09:32:26 -06:00
basic-server-solid Improve example CSS files to better demonstrate host style integration 2026-01-30 09:32:26 -06:00
basic-server-svelte Improve example CSS files to better demonstrate host style integration 2026-01-30 09:32:26 -06:00
basic-server-vanillajs Improve example CSS files to better demonstrate host style integration 2026-01-30 09:32:26 -06:00
basic-server-vue Improve example CSS files to better demonstrate host style integration 2026-01-30 09:32:26 -06:00
budget-allocator-server chore: bump to 1.0.1 - fix npm reference for ext-apps dependency in examples + update zod to 4.x (#368) 2026-01-26 21:55:15 +00:00
cohort-heatmap-server chore: bump to 1.0.1 - fix npm reference for ext-apps dependency in examples + update zod to 4.x (#368) 2026-01-26 21:55:15 +00:00
customer-segmentation-server chore: bump to 1.0.1 - fix npm reference for ext-apps dependency in examples + update zod to 4.x (#368) 2026-01-26 21:55:15 +00:00
debug-server chore: bump to 1.0.1 - fix npm reference for ext-apps dependency in examples + update zod to 4.x (#368) 2026-01-26 21:55:15 +00:00
integration-server Improve example CSS files to better demonstrate host style integration 2026-01-30 09:32:26 -06:00
map-server chore: bump to 1.0.1 - fix npm reference for ext-apps dependency in examples + update zod to 4.x (#368) 2026-01-26 21:55:15 +00:00
pdf-server feat(pdf-server): send screenshot to updateModelContext 2026-01-27 14:05:18 +00:00
qr-server chore: bump to 1.0.1 - fix npm reference for ext-apps dependency in examples + update zod to 4.x (#368) 2026-01-26 21:55:15 +00:00
quickstart chore: bump to 1.0.1 - fix npm reference for ext-apps dependency in examples + update zod to 4.x (#368) 2026-01-26 21:55:15 +00:00
say-server chore: bump to 1.0.1 - fix npm reference for ext-apps dependency in examples + update zod to 4.x (#368) 2026-01-26 21:55:15 +00:00
scenario-modeler-server chore: bump to 1.0.1 - fix npm reference for ext-apps dependency in examples + update zod to 4.x (#368) 2026-01-26 21:55:15 +00:00
shadertoy-server Use escaped newlines in ShaderToy README JSON examples 2026-01-27 11:37:40 -06:00
sheet-music-server chore: bump to 1.0.1 - fix npm reference for ext-apps dependency in examples + update zod to 4.x (#368) 2026-01-26 21:55:15 +00:00
system-monitor-server Separate static and dynamic data in system-monitor-server tools 2026-01-28 11:04:35 -06:00
threejs-server chore: bump to 1.0.1 - fix npm reference for ext-apps dependency in examples + update zod to 4.x (#368) 2026-01-26 21:55:15 +00:00
transcript-server chore: bump to 1.0.1 - fix npm reference for ext-apps dependency in examples + update zod to 4.x (#368) 2026-01-26 21:55:15 +00:00
video-resource-server chore: bump to 1.0.1 - fix npm reference for ext-apps dependency in examples + update zod to 4.x (#368) 2026-01-26 21:55:15 +00:00
wiki-explorer-server chore: bump to 1.0.1 - fix npm reference for ext-apps dependency in examples + update zod to 4.x (#368) 2026-01-26 21:55:15 +00:00
run-all.ts add EXAMPLE=folder-name support for tests & basic-host (#292) 2026-01-19 20:16:37 +00:00