New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@frontmcp/uipack

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frontmcp/uipack

FrontMCP UIpack - Bundling, build tools, and platform adapters for MCP UI development (React-free core)

Source
npmnpm
Version
0.10.0
Version published
Weekly downloads
1.6K
47.85%
Maintainers
1
Weekly downloads
 
Created
Source

@frontmcp/uipack

React-free build utilities, theming, runtime helpers, and platform adapters for FrontMCP UI development.

NPM

Package Split

PackagePurposeReact Required
@frontmcp/uipackThemes, runtime helpers, build/render pipelines, validation, adaptersNo
@frontmcp/uiHTML/React components, layouts, widgets, web componentsYes (peer dep)

Install

npm install @frontmcp/uipack

Features

  • Theme system — Tailwind-style palettes, fonts, CDN assets, platform-aware inlining (docs)
  • Build API — compile tool templates with esbuild/SWC, emit static widgets, cached manifests (docs)
  • Build modes — static, dynamic, or hybrid rendering; multi-platform bundler helpers (docs)
  • Runtime helpers — wrap HTML/React/MDX with CSP, sanitize content, expose MCP Bridge metadata (docs)
  • Platform adapters — OpenAI/Claude/Gemini discovery metadata, serving modes, host capabilities (docs)
  • Validation — schema path extraction, Handlebars template validation, error boxes (docs)
  • Bundler/cache — filesystem and Redis caches, transpile/render caches, hashing utilities (docs)

Quick Example

import { buildToolUI } from '@frontmcp/uipack/build';

const result = await buildToolUI({
  template: '<div>{{output.temperature}} C</div>',
  context: { input: { location: 'London' }, output: { temperature: 18 } },
  platform: 'openai',
});

Full guide: UI Overview

Entry Points

PathPurpose
@frontmcp/uipack/themeTheme system, platform definitions, CDN helpers
@frontmcp/uipack/runtimeMCP Bridge runtime, CSP utilities, sanitizers
@frontmcp/uipack/buildBuild API, static widget compiler, serving-mode resolver
@frontmcp/uipack/adaptersDiscovery metadata + platform adapters
@frontmcp/uipack/pagesPrebuilt page templates (consent/error/success)
@frontmcp/uipack/validationComponent + template validation helpers
@frontmcp/uipack/bundleresbuild/SWC bundler and cache utilities
@frontmcp/uipack/registryTool UI registry, URI helpers, render functions
@frontmcp/uipack/typesShared template/context types
@frontmcp/uipack/utilsEscaping, safe stringify, helper utilities

Docs

TopicLink
OverviewUI Overview
Theme systemTheming
Build APIBuild Tools
Build modesBuild Modes
Runtime helpersRuntime
Platform adaptersAdapters
ValidationValidation
BundlerBundler

License

Apache-2.0 — see LICENSE.

Keywords

mcp

FAQs

Package last updated on 13 Feb 2026

Related posts