跳到正文
FunCoding

Glass UI

官方 MCP Registry 已收录

iOS-style glassmorphism components and GLASS.md specs for Tailwind and React Native.

Star
27
版本
v0.7.1
许可证
MIT
最近提交
2026年11月30日

@lemuayala/glass-ui-mcp

Official Model Context Protocol (MCP) server for Glass UI — lets Claude Code, Cursor, VS Code Copilot, Windsurf, and Antigravity inspect primitives/presets and generate production-ready Web (Tailwind CSS) and React Native (expo-blur <BlurView> + NativeWind) glass components directly via tool calls.

Quick Setup

Claude Code

claude mcp add glass-ui -- npx -y @lemuayala/glass-ui-mcp

Cursor / Windsurf / Antigravity (mcp.json)

{
  "mcpServers": {
    "glass-ui": {
      "command": "npx",
      "args": ["-y", "@lemuayala/glass-ui-mcp"]
    }
  }
}

Tools Exposed

ToolPurpose
list_primitivesLists all 7 Glass UI primitives, valid glass option enums, platforms, and defaults.
list_presetsLists curated presets (frosted, liquid, smoked, crystal, sunset, aqua).
generate_componentGenerates .tsx component code, usage snippet, target file path, and install command. When the result matches a published registry item, registry.shadcnCommand installs it with the shadcn CLI.
generate_glass_mdGenerates the full 8-section GLASS.md specification (or short prompt) for any stack.

Agent Instructions

On connect the server sends usage instructions to the agent: generate glass UI through generate_component instead of hand-writing styles, detect web vs. React Native from the project, and run the returned install command. Once connected, asking for "a frosted login card" or "a liquid glass tab bar" is enough.

Prompts Exposed

PromptArgumentsPurpose
glass_componentrequest, platform?Adds a glass component to the current project end to end (pick primitive/preset → generate → write file → install).

Resources Exposed

  • glass://spec/primitives — JSON catalog of primitives, defaults, and presets.
  • glass://spec/rules — Canonical iOS glassmorphism rules for Tailwind CSS and expo-blur.

License

MIT

同类 MCP Server

精选

Metabase

搜索、查询和可视化 Metabase 数据,操作受用户权限控制。

MEmetabase/metabase51k近 7 天新增 205 个 star

精选

next-ai-draw-io

描述一句话生成架构图,选中形状修改,每次改动可撤销。

DADayuanJiang/next-ai-draw-io37k近 7 天新增 101 个 star

精选

GitDiagram

将 GitHub 仓库转为交互式架构图,获取 Mermaid 源码和视频解说。

AHahmedkhaleel2004/gitdiagram19k近 7 天新增 79 个 star

Figma-Context-MCP

Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.

GLGLips/Figma-Context-MCP16k近 7 天新增 44 个 star

stitch-skills

A library of Agent Skills designed to work with the Stitch MCP server. Each skill follows the Agent Skills open standard, for compatibility with coding agents such as Antigravity, Gemini CLI, Claude Code, Cursor.

GOgoogle-labs-code/stitch-skills15k近 7 天新增 2,207 个 star

精选

cursor-talk-to-figma-mcp

让智能体读取和修改 Figma 设计稿。

GRgrab/cursor-talk-to-figma-mcp7.1k近 7 天新增 11 个 star