mcp-host-styling-integration

mcp-host-styling-integration is a skill for Claude Code from a5c-ai/babysitter. It costs 44 tokens per session (2,536 once invoked), scanned A, original, MIT.

A UI integration for applying an MCP host application's colors, fonts, spacing, and display settings to an app. MCP Apps are interfaces embedded in host products such as desktop tools or editors.

In plain words
What is it for?
Use it to apply host CSS variables and fonts, respond to theme changes, handle safe-area insets, detect display modes, and configure fullscreen behavior.
Why use it?
It helps an embedded app match the host's light or dark theme and remain usable when the host changes its appearance or available screen area.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to apply host CSS variables and fonts, respond to theme changes, handle safe-area insets, detect display modes, and configure fullscreen behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/a5c-ai/babysitter/mcp-host-styling-integration
About the project

Babysitter is a workflow engine for AI coding agents that enforces predefined steps, quality checks, human approvals, and decision records. It is used to coordinate complex, repeatable agent workflows across supported coding tools. The catalogue contains skills, agents, instructions, settings, a plugin, and an MCP integration for its workflow.

a5c-ai/babysitter · 1,788 stars · on GitHub · a5c.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add a5c-ai/babysitter --skill mcp-host-styling-integration
Clone the repo
git clone --depth 1 https://github.com/a5c-ai/babysitter

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-host-styling-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/a5c-ai/babysitter/mcp-host-styling-integration/github.svg)](https://agentmods.dev/skills/a5c-ai/babysitter/mcp-host-styling-integration)
Your own site
<a href="https://agentmods.dev/skills/a5c-ai/babysitter/mcp-host-styling-integration"><img src="https://agentmods.dev/badge/skills/a5c-ai/babysitter/mcp-host-styling-integration/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-host-styling-integration

Your own site · 80×15
<a href="https://agentmods.dev/skills/a5c-ai/babysitter/mcp-host-styling-integration"><img src="https://agentmods.dev/badge/skills/a5c-ai/babysitter/mcp-host-styling-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,536 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.02536
Opus 5 $0.00022 $0.01268
Sonnet 5 $0.00009 $0.00507
Haiku 4.5 $0.00004 $0.00254

Measured 5d ago against content hash 93004c18d8e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

mcp-host-styling-integration scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

library/specializations/ai-agents-conversational/skills/mcp-host-styling-integration/SKILL.md · 300 lines

How it starts

The opening of the file, as written. The whole thing — 300 lines — stays where its author put it; the contents beside it link to each section on GitHub.

mcp-host-styling-integration

Integrate MCP App UIs with the host application's theming system so apps look native in Claude Desktop, ChatGPT, VS Code, Goose, Postman, and other MCP-enabled hosts.

Overview

MCP Apps render in sandboxed iframes inside host applications. Each host has its own visual theme (colors, fonts, border radii, spacing). The MCP Apps SDK provides:

  • CSS variables (--color-*, --font-*, --border-radius-*) injected by the host
  • SDK helpers (applyDocumentTheme, applyHostStyleVariables, applyHostFonts) to apply them
  • React hooks (useHostStyles, useHostStyleVariables, useHostFonts) for React apps
  • onhostcontextchanged event fired when theme changes (e.g., dark mode toggle)

The key principle is: always use CSS variable fallbacks so the app looks correct both as an MCP App (host provides variables) and standalone (fallback values apply).

Capabilities

Host CSS Variable Integration

  • Apply all host CSS variables with sensible fallback values
  • Support color variables: --color-background-primary, --color-background-secondary, --color-text-primary, --color-text-secondary, --color-border-primary
  • Support font variables: --font-sans, --font-mono, --font-text-base-size, --font-text-sm-size
  • Support layout variables: --border-radius-sm, --border-radius-md, --border-radius-lg

onhostcontextchanged Handler

  • Listen for theme changes from the host
  • Reapply styling when theme changes (e.g., light to dark mode)
  • Access host context: theme, display mode, safe area insets

Safe Area Insets

  • Apply safe area padding for mobile or embedded contexts
  • Handle env(safe-area-inset-top), env(safe-area-inset-bottom), etc.

Display Mode Detection

  • Detect embedded vs fullscreen mode
  • Adapt layout based on available space
  • Configure fullscreen mode via tool metadata

SDK Helper Functions

  • applyDocumentTheme(theme) -- sets document-level theme class
  • applyHostStyleVariables(context) -- applies all CSS variables from host
  • applyHostFonts(context) -- loads and applies host fonts

Read the full file on GitHub · 300 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 300 lines · 44 tokens per session scan A 93004c18d8e2

Subscribe to this mod's changes

mcp-host-styling-integration is a skill published in the GitHub repository a5c-ai/babysitter (1,788 stars, last pushed 5d ago), licensed MIT. It adds 44 tokens to every session and 2,536 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

tutti-ui-system

Use when working with @tutti-os/ui-system components, replacing local UI with shared components, querying component ids or metadata, promoting UI into shared base or business components, or maintaining UI-system storyboard inventory.

tutti-os/tutti · 46 tokens

moai-design-tools

Design tool integration specialist covering Figma MCP, Pencil renderer, and Pencil-to-code export. Use when fetching design context from Figma, rendering Pencil designs, or exporting to React/Tailwind code.

modu-ai/moai-adk · 45 tokens

accessibility-a11y

Semantic HTML, keyboard navigation, focus states, ARIA labels, skip links, and WCAG contrast requirements. Use when ensuring accessibility compliance, implementing keyboard navigation, or adding screen reader support.

BlackBeltTechnology/pi-agent-dashboard · 44 tokens

tailwind-shadcn

Tailwind CSS utility patterns with shadcn/ui component usage, theming via CSS variables, and responsive design. Use when styling components, installing shadcn components, implementing dark mode, or creating consistent design systems.

BlackBeltTechnology/pi-agent-dashboard · 50 tokens

anti-slop-frontend

A mechanical, countable anti-slop checklist for AI-generated frontend. Catches the specific signatures an undirected model defaults to: AI-purple glows, Inter-everywhere, em-dashes, div-based fake screenshots, eyebrow-on-every-section, beige+brass "premium" palettes, generic Jane Doe / Acme data. Advisory layer that…

BlackBeltTechnology/pi-agent-dashboard · 147 tokens

frontend-mockup-loop

Plan, build, and iterate UX-friendly frontend mockups via a ground→contract→mockup→test→fix→learn loop, acting as an expert UX designer who grounds every decision in externally documented public design rules (Nielsen heuristics, Laws of UX, WCAG, GOV.UK/USWDS/Material). Uses the bundled servemockup, scoremockup, and…

BlackBeltTechnology/pi-agent-dashboard · 185 tokens