Getting started
Get up and running with Glass UI in minutes.
1. Initialize your project
Make sure you have a Next.js project set up with Tailwind CSS configured.
2. Install components
Use the shadcn CLI to add components from the Glass UI registry with your preferred package manager:
pnpm dlx shadcn@latest add @glass-ui/button3. Start building
Import and use components in your application. All components default to glass variants.
What is MCP?
MCP allows AI assistants to access and use Glass UI components directly. This enables seamless integration with tools like Claude, ChatGPT, and other MCP-compatible assistants.
Setup Instructions
Add the following configuration to your MCP settings file (usually ~/.config/mcp.json or similar):
{
"mcpServers": {
"crenspire-glass": {
"command": "npx",
"args": [
"-y",
"@shadcn/mcp-server",
"--registry",
"https://glass-ui.crenspire.com/r/registry.json"
]
}
}
}Usage
Once configured, you can ask your AI assistant to add Glass UI components to your project, and it will automatically use the correct registry URL and component paths.
Card content goes here