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

@framingui/mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@framingui/mcp-server

FramingUI MCP server for production UI workflows, discovery, validation, and quota-aware billing visibility

latest
Source
npmnpm
Version
0.6.29
Version published
Maintainers
1
Created
Source

@framingui/mcp-server

MCP server for building production UI through FramingUI.

@framingui/mcp-server gives AI coding agents a real local-first UI contract: components, themes, layout tokens, validated workflows, and environment checks.

Install

Use the CLI without a local install:

npx -y @framingui/mcp-server@latest

Recommended project setup:

npx -y @framingui/mcp-server@latest init

init writes a local-only MCP config, so bundled package themes, templates, tokens, and component fallbacks work without login.

Hosted authentication is optional:

npx -y @framingui/mcp-server@latest login

Use hosted auth only when you need account features, entitlement checks, or quota visibility. In local-only mode, the whoami MCP tool reports the local session and available local themes.

CLI Commands

npx -y @framingui/mcp-server@latest init
npx -y @framingui/mcp-server@latest login
npx -y @framingui/mcp-server@latest logout
npx -y @framingui/mcp-server@latest status
npx -y @framingui/mcp-server@latest

MCP Config

{
  "mcpServers": {
    "framingui": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@framingui/mcp-server@latest"],
      "env": {
        "FRAMINGUI_LOCAL_ONLY": "1"
      }
    }
  }
}

Production Screen Workflow

Use the guarded workflow for production work:

  • preview-theme when theme recipes or defaults matter
  • get-screen-generation-context
  • preview-component for component ambiguity
  • list-icon-libraries before adding icons
  • validate-screen-definition
  • write React code directly from the validated definition
  • validate-environment with sourceFiles for dependency, style-contract, and code-audit checks

Style Contract Rule

Choose one contract before relying on FramingUI defaults:

  • host-utility: keep explicit utility styling
  • framingui-native: import @framingui/ui/styles, mount FramingUIProvider, and use the generated framingui-theme
  • migrate: stop and decide the migration path first

Slash Commands

FramingUI exposes guidance for:

  • /screen
  • /draft
  • /section
  • /responsive
  • /a11y
  • /theme-swap
  • /doctor
  • /install-check
  • /export
  • /update

Main MCP Tools

Discovery

  • list-themes
  • preview-theme
  • list-components
  • preview-component
  • list-screen-templates
  • preview-screen-template
  • list_tokens
  • list-icon-libraries
  • preview-icon-library

Production Workflow

  • get-screen-generation-context
  • validate-screen-definition
  • validate-environment
  • generate_screen (optional helper)

Legacy Helpers

  • generate-blueprint
  • export-screen
  • validate_screen

What init Updates

init can:

  • install the FramingUI screen-generation runtime and peer dependencies in one pass
  • configure Tailwind content paths and tailwindcss-animate
  • add @import '@framingui/ui/styles'; to a detected global stylesheet
  • generate a local framingui-theme module
  • wire FramingUIProvider into app/layout.tsx or src/main.tsx
  • verify the package install, Tailwind config, and stylesheet import before finishing
  • create .mcp.json with FRAMINGUI_LOCAL_ONLY=1
  • generate FRAMINGUI-GUIDE.md
  • append FramingUI sections to CLAUDE.md and AGENTS.md

Package Docs

  • docs/README.md
  • docs/01-quickstart.md
  • docs/02-user-guide.md
  • docs/03-api-reference.md
  • docs/04-architecture.md
  • docs/05-developer-guide.md
  • docs/06-integration-guide.md

License

MIT

FAQs

Package last updated on 20 May 2026

Related posts