io.github.anousss007/blatui MCP Server
io.github.anousss007/blatui
shadcn/ui for Laravel Blade — discover, read and install BlatUI components, blocks and charts.
What is the io.github.anousss007/blatui MCP server?
The BlatUI MCP server provides access to a component library for the BLAT stack (Blade, Laravel, Alpine, Tailwind). It enables discovering, reading documentation for, and installing 155+ accessible UI components, 64 blocks, and 70 charts directly into Laravel projects as copy-paste Blade components you own and can customize.
BlatUI is a CLI-driven component library that brings shadcn/ui's design language and philosophy to Laravel. Instead of hidden dependencies, components are copied into your project as editable Blade files. It includes form controls with Livewire two-way binding, accessible-by-default components (WCAG AA), full theming via CSS variables, and pre-built blocks and charts for common layouts and data visualization.
How to install io.github.anousss007/blatui
Copy-paste configuration for popular MCP clients.
{
"mcpServers": {
"blatui": {
"url": "https://blatui.remix-it.com/mcp"
}
}
}{
"mcpServers": {
"blatui": {
"serverUrl": "https://blatui.remix-it.com/mcp"
}
}
}{
"servers": {
"blatui": {
"type": "http",
"url": "https://blatui.remix-it.com/mcp"
}
}
}{
"mcpServers": {
"blatui": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://blatui.remix-it.com/mcp"
]
}
}
}claude mcp add --transport http blatui https://blatui.remix-it.com/mcpTools & capabilities
Tools this server exposes to the agent.
blatui:list— List all available components, blocks, and charts, or get details for a specific componentblatui:add— Copy one or more components (and their dependencies) into your Laravel projectblatui:init— Verify setup — checks packages, Tailwind v4, theme tokens, and Alpine/engine wiringvendor:publish --tag=blatui-foundations— Publish theme CSS (design tokens, presets, light/dark) and JavaScript engine files
Use cases
- Build accessible form-heavy applications with Livewire two-way binding on inputs, selects, checkboxes, sliders, and date pickers
- Create dashboards and data visualizations using pre-built blocks and 70+ chart variants
- Customize and maintain your own copy of UI components without vendor lock-in or build-step dependencies
- Implement dark mode and theming by editing CSS variables in the published foundations
- Rapidly prototype Laravel applications with copy-paste Blade components that follow shadcn/ui design patterns
io.github.anousss007/blatui MCP server FAQ
BlatUI is a component library for Laravel that ports shadcn/ui to the BLAT stack (Blade, Laravel, Alpine, Tailwind). It provides 155+ accessible UI components, 64 blocks, and 70 charts that you copy into your project as editable Blade files.
Yes, BlatUI is MIT licensed and free for personal and commercial use.
Install via Composer (`composer require anousss007/blatui`), install peer packages (Alpine, Tailwind v4, Lucide icons), publish foundations with `php artisan vendor:publish --tag=blatui-foundations`, and run `php artisan blatui:init` to verify setup.
Yes, BlatUI is Livewire-ready. All form controls support `wire:model` for full two-way binding, making it a free alternative to Flux Pro.
PHP 8.2+, Laravel 11/12/13, Tailwind CSS v4, Alpine.js 3, and Node 18+.
Yes, components are copied into your project as editable Blade files. You own the code and can modify it however you like without affecting the package.
README (reference)
Source of truth, from the repository.
BlatUI
shadcn/ui for the BLAT stack — Blade · Laravel · Alpine · Tailwind
A CLI that copies open-source, copy-paste UI components you own straight into your Laravel project.
155 components · 614 variants · 64 blocks · 70 charts · accessible (WCAG AA) · Livewire-ready · fully themeable · light + dark · MIT
Live demo & docs → blatui.remix-it.com
</div>Why BlatUI
- Accessible by default. WAI-ARIA roles, complete keyboard navigation & focus management, and WCAG AA color contrast — modeled on shadcn/ui's Base UI behavior, verified in a real browser and audited with axe-core. Accessibility isn't an add-on; it ships in every component.
- You own the code. Components are copied into your project — not hidden in
vendor/. Edit them however you like; updating the package never overwrites your edits. - The BLAT stack. Pure Blade components, a sprinkle of Alpine.js for interactivity, Tailwind CSS v4 for styling. No React, no build-step lock-in.
- Livewire-ready.
wire:modelworks on every form control — inputs, selects, checkboxes, switches, sliders, date/time pickers, file uploads and more — with full two-way binding. A free, you-own-the-code alternative to Flux Pro. See the Livewire guide → - Faithful to shadcn/ui. Same design language, component APIs and blocks — ported to the Laravel way.
- Themeable to the core. Every token is a CSS variable.
Requirements
- PHP 8.2+ · Laravel 11, 12 or 13
- Tailwind CSS v4 · Alpine.js 3 · Node 18+
Installation
# 1. Install the CLI
composer require anousss007/blatui
# 2. Peer packages used by the components
composer require gehrisandro/tailwind-merge-laravel mallardduck/blade-lucide-icons
npm install -D alpinejs @alpinejs/anchor @floating-ui/dom @alpinejs/collapse @alpinejs/focus
# 3. Publish the foundations (theme tokens + Alpine/chart/calendar engine)
php artisan vendor:publish --tag=blatui-foundations
# → resources/css/blatui.css (oklch design tokens, presets, light/dark)
# → resources/js/blatui.js (greenfield bootstrap — boots Alpine for you)
# → resources/js/blatui-core.js (engine: registerBlatUI, for apps already running Alpine)
# 4. Verify your setup
php artisan blatui:init
Point your two Vite entrypoints at the published foundations — replace each file's contents:
/* resources/css/app.css */
@import "./blatui.css";
// resources/js/app.js
import "./blatui.js";
blatui.cssbrings Tailwind, the design tokens and the@thememapping;blatui.jsboots Alpine + its plugins and lazy-loads ApexCharts. Runblatui:initto confirm everything (packages, tokens, imports) is wired up.
The foundations are published once and become yours — tweak the tokens, drop the chart engine if you don't need charts, etc.
blatui:initwill tell you what's still missing.
Installing into an existing project
Everything is additive — you don't replace your files.
- Tailwind v4 is required. BlatUI uses v4-only features (
@theme inline, oklch). On Tailwind v3, migrate first withnpx @tailwindcss/upgrade;blatui:initdetects the version. - CSS: add
@import "./blatui.css";to your existingapp.css, below@import "tailwindcss";. - JS — already running Alpine? Don't import
blatui.js(it would boot a second Alpine). Register BlatUI into your own instance instead, before you start it:
import Alpine from 'alpinejs'
import { registerBlatUI } from './blatui-core.js'
registerBlatUI(Alpine) // plugins + theme store + chart/calendar engines
window.Alpine = Alpine
Alpine.start()
- JS — using Livewire or Flux? Livewire bundles and starts Alpine for you, so don't
npm install alpinejs(that's the duplicate-Alpine trap) and don't importblatui.js. Install only the plugins —npm install -D @alpinejs/anchor @floating-ui/dom @alpinejs/collapse @alpinejs/focus(addapexchartsonly if you use charts) — and register BlatUI onto Livewire's Alpine via thealpine:inithook:
import { registerBlatUI } from './blatui-core.js'
document.addEventListener('alpine:init', () => {
registerBlatUI(window.Alpine)
})
BlatUI registers a theme store for dark mode. If Flux already drives dark mode, pass
registerBlatUI(window.Alpine, { darkMode: false }) so the two don't both toggle .dark.
Adding components
# Add one or more — dependencies are resolved automatically
php artisan blatui:add button card input
# See everything you can add — components, blocks & charts
php artisan blatui:list
# Details for a single component
php artisan blatui:list select
# Everything at once
php artisan blatui:add --all
Components land in resources/views/components/ui/ as Blade tags:
<x-ui.card class="max-w-sm">
<x-ui.card-header>
<x-ui.card-title>Welcome back</x-ui.card-title>
<x-ui.card-description>Sign in to continue.</x-ui.card-description>
</x-ui.card-header>
<x-ui.card-content class="space-y-3">
<x-ui.input type="email" placeholder="m@example.com" />
<x-ui.button class="w-full">Sign in</x-ui.button>
</x-ui.card-content>
</x-ui.card>
blatui:add prints any extra composer/npm packages a component needs
(e.g. charts pull in apexcharts).
Blocks & charts
Blocks (dashboards, sidebars, login pages…) and the 70 charts are copy-paste from the demo site — they're full-page compositions, not primitives, so you grab the exact source you want rather than installing it:
👉 Browse blocks & charts on the live demo
Commands
| Command | Description |
|---|---|
blatui:init | Doctor — checks packages, Tailwind v4, theme tokens, Alpine/engine wiring |
blatui:list [component] | List all component families, or detail one |
blatui:add <components...> | Copy components (+ deps) into your project |
vendor:publish --tag=blatui-foundations | Publish theme CSS + JS engine |
Credits
BlatUI is a port of shadcn/ui to the Laravel/Blade ecosystem. Thanks to shadcn and contributors. Icons by Lucide. Charts by ApexCharts.
License
MIT — free for personal and commercial use.
Related MCP servers
ng-blatui for Angular — search components, blocks, charts & templates and read their typed API.