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 with Claude Code integration and timestamp-based preview system

Source
npmnpm
Version
0.6.26
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@framingui/mcp-server

MCP server for building production UI through FramingUI.

@framingui/mcp-server gives AI coding agents a real UI contract: components, themes, layout tokens, templates, validation, 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

Authenticate:

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

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"]
    }
  }
}

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
  • install tailwindcss-animate
  • configure Tailwind content paths for Tailwind v3 projects
  • 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
  • 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 13 Mar 2026

Related posts