Tokens
Every color, type size and radius from the MCP Apps for Claude kit, in light and dark. Inside Claude the host injects these variables; outside it, these are the fallbacks your components use.
$npx shadcn@latest add https://mcpblocks.dev/r/host-tokens.jsonBackground
| Token | Light | Dark | Tailwind |
|---|---|---|---|
primary --color-background-primary | #ffffff | #30302e | bg-host-bg |
secondary --color-background-secondary | #f5f4ed | #262624 | bg-host-bg-secondary |
tertiary --color-background-tertiary | #faf9f5 | #141413 | bg-host-bg-tertiary |
inverse --color-background-inverse | #141413 | #faf9f5 | bg-host-bg-inverse |
info --color-background-info | #d6e4f6 | #253e5f | bg-host-info-bg |
danger --color-background-danger | #b53333 | #dd5353 | bg-host-danger-bg |
success --color-background-success | #e9f1dc | #1b4614 | bg-host-success-bg |
warning --color-background-warning | #f6eedf | #483a0f | bg-host-warning-bg |
ghost --color-background-ghost | rgba(255, 255, 255, 0) | rgba(48, 48, 46, 0) | bg-host-bg-ghost |
disabled --color-background-disabled | rgba(255, 255, 255, 0.5) | rgba(48, 48, 46, 0.5) | bg-host-bg-disabled |
Text
| Token | Light | Dark | Tailwind |
|---|---|---|---|
primary --color-text-primary | #141413 | #faf9f5 | text-host-fg |
secondary --color-text-secondary | #3d3d3a | #c2c0b6 | text-host-fg-secondary |
tertiary --color-text-tertiary | #73726c | #9c9a92 | text-host-fg-tertiary |
inverse --color-text-inverse | #ffffff | #141413 | text-host-fg-inverse |
info --color-text-info | #3266ad | #80aadd | text-host-info-fg |
danger --color-text-danger | #7f2c28 | #ee8884 | text-host-danger-fg |
success --color-text-success | #265b19 | #7ab948 | text-host-success-fg |
warning --color-text-warning | #5a4815 | #d1a041 | text-host-warning-fg |
disabled --color-text-disabled | rgba(20, 20, 19, 0.5) | rgba(250, 249, 245, 0.5) | text-host-fg-disabled |
ghost --color-text-ghost | rgba(115, 114, 108, 0.5) | rgba(156, 154, 146, 0.5) | text-host-fg-ghost |
Border
| Token | Light | Dark | Tailwind |
|---|---|---|---|
primary --color-border-primary | rgba(31, 30, 29, 0.4) | rgba(222, 220, 209, 0.4) | border-host-border |
secondary --color-border-secondary | rgba(31, 30, 29, 0.3) | rgba(222, 220, 209, 0.3) | border-host-border-secondary |
tertiary --color-border-tertiary | rgba(31, 30, 29, 0.15) | rgba(222, 220, 209, 0.15) | border-host-border-tertiary |
info --color-border-info | #4682d5 | #4682d5 | border-host-info-border |
danger --color-border-danger | #a73d39 | #cd5c58 | border-host-danger-border |
success --color-border-success | #437426 | #599130 | border-host-success-border |
warning --color-border-warning | #805c1f | #a87829 | border-host-warning-border |
inverse --color-border-inverse | rgba(255, 255, 255, 0.3) | rgba(20, 20, 19, 0.15) | border-host-border-inverse |
ghost --color-border-ghost | rgba(31, 30, 29, 0) | rgba(222, 220, 209, 0) | border-host-border-ghost |
disabled --color-border-disabled | rgba(31, 30, 29, 0.1) | rgba(222, 220, 209, 0.1) | border-host-border-disabled |
Ring
| Token | Light | Dark | Tailwind |
|---|---|---|---|
primary --color-ring-primary | rgba(20, 20, 19, 0.7) | rgba(250, 249, 245, 0.7) | ring-host-ring |
secondary --color-ring-secondary | rgba(61, 61, 58, 0.7) | rgba(194, 192, 182, 0.7) | ring-host-ring-secondary |
inverse --color-ring-inverse | rgba(255, 255, 255, 0.7) | rgba(20, 20, 19, 0.7) | ring-host-ring-inverse |
info --color-ring-info | rgba(50, 102, 173, 0.5) | rgba(128, 170, 221, 0.5) | ring-host-ring-info |
danger --color-ring-danger | rgba(167, 61, 57, 0.5) | rgba(205, 92, 88, 0.5) | ring-host-ring-danger |
success --color-ring-success | rgba(67, 116, 38, 0.5) | rgba(89, 145, 48, 0.5) | ring-host-ring-success |
warning --color-ring-warning | rgba(128, 92, 31, 0.5) | rgba(168, 120, 41, 0.5) | ring-host-ring-warning |
Type scale
| Text xs | 12px / 16.8px | text-host-xs |
| Text sm | 14px / 19.6px | text-host-sm |
| Text md | 16px / 22.4px | text-host-md |
| Text lg | 18px / 25px | text-host-lg |
| Heading xs | 12px / 16.8px | text-host-heading-xs |
| Heading sm | 14px / 19.6px | text-host-heading-sm |
| Heading md | 16px / 22.4px | text-host-heading-md |
| Heading lg | 20px / 25px | text-host-heading-lg |
| Heading xl | 24px / 30px | text-host-heading-xl |
| Heading 2xl | 28px / 30.8px | text-host-heading-2xl |
| Heading 3xl | 36px / 36px | text-host-heading-3xl |
Radius
rounded-host-full999px
rounded-host-xs4px
rounded-host-sm6px
rounded-host-md8px
rounded-host-lg10px
rounded-host-xl12px