loading…
Search for a command to run...
loading…
Enables AI assistants to search, retrieve, and assemble Bootstrap UI components from the Webpixels library. It provides tools to explore component categories, f
Enables AI assistants to search, retrieve, and assemble Bootstrap UI components from the Webpixels library. It provides tools to explore component categories, fetch HTML snippets, and build complete web pages.
MCP server for Webpixels Bootstrap 5 components. This server enables AI assistants like Claude to search, retrieve, and assemble Bootstrap UI components from the Webpixels library.
Add to your Claude desktop configuration (~/.config/claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"webpixels": {
"command": "npx",
"args": ["-y", "@webpixels/mcp"]
}
}
}
npm install -g @webpixels/mcp
Then add to your configuration:
{
"mcpServers": {
"webpixels": {
"command": "webpixels-mcp"
}
}
}
search_componentsSearch Bootstrap components by name, category, type, or description.
Parameters:
query (string): Search query (matches name, description, tags)type (string): Filter by component type (component, section, card, screen, layout, page, form, chart)category (string): Category or subcategory slug (e.g., 'sections', 'hero', 'pricing')is_free (boolean): Filter for free components onlylimit (number): Maximum number of results (default: 20)get_componentGet the HTML code and metadata for a specific component.
Parameters:
id (string, required): Component UUID or slug (e.g., "section-hero-1")list_categoriesList all component categories with component counts.
Parameters:
type (string): Filter categories by component typeassemble_pageAssemble multiple components into a complete HTML page.
Parameters:
components (array, required): Array of component IDs or slugs in display orderlayout (string): Optional layout component ID to wrap the contentincludeAssets (boolean): Include CSS/JS links in a full HTML document (default: true)get_component_dependenciesGet the dependency tree for a component.
Parameters:
id (string, required): Component UUID or slugdirection (string): "dependencies" (what this uses), "dependents" (what uses this), or "both"The library includes components across several categories:
User: I need a hero section for a SaaS landing page
Claude: [Uses search_components with query "hero saas"]
[Returns matching hero sections]
User: Show me the code for section-hero-1
Claude: [Uses get_component with id "section-hero-1"]
[Returns HTML and metadata]
User: Create a page with a hero and pricing section
Claude: [Uses assemble_page with components ["section-hero-1", "section-pricing-1"]]
[Returns complete HTML page]
npm install
npm run build
npm start
The component data is generated from the Webpixels library's compiled HTML snippets:
# From the library repository
# Option 1: Generate snippets first, then MCP data
npm run snippets
npm run mcp:generate
# Option 2: All-in-one command
npm run mcp:generate:full
The script reads compiled HTML from library/snippets/ (not raw .njk files) to ensure all template includes are resolved.
MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"webpixels-mcp-server": {
"command": "npx",
"args": []
}
}
}