# petal-components-mcp MCP server

Phoenix LiveView component schemas from petal_components, exposed to AI coding assistants.

## Links
- Registry page: https://www.getdrio.com/mcp/io-github-petalframework-petal-components-mcp
- Repository: https://github.com/petalframework/petal-components-mcp
- Website: https://petal.build/components/mcp

## Install
- Command: `npx -y petal-components-mcp`
- Endpoint: https://mcp.petal.build/mcp
- Auth: Not captured

## Setup notes
- Package: Npm petal-components-mcp v0.1.0
- Remote endpoint: https://mcp.petal.build/mcp

## Tools
- get_install_instructions - Get the canonical steps for installing petal_components in a Phoenix project. Call this when the user asks to install petal_components, when you are setting up a new Phoenix project that needs UI components, or when verifying an existing installation. Returns step-by-step instructions covering mix.exs, mix deps.get, Tailwind v4 CSS config, and the web module import. Steps are idempotent - safe to follow on a project that is partially configured. Endpoint: https://mcp.petal.build/mcp
- list_components - List every component shipped by petal_components, the shadcn-style component library for Phoenix LiveView. This is the canonical Phoenix UI vocabulary - call it before composing any HEEx so you reach for an existing component instead of hand-rolling Tailwind divs. Endpoint: https://mcp.petal.build/mcp
- get_component - Get the full schema for one petal_components component: attrs, slots, defaults, allowed values, and a working HEEx usage example. Call this every time you are about to write a tag like <.button>, <.modal>, <.table>, or <.field> so the attrs and slots match the real library instead of training-data guesses. Endpoint: https://mcp.petal.build/mcp

## Resources
Not captured

## Prompts
Not captured

## Metadata
- Owner: io.github.petalframework
- Version: 0.1.0
- Runtime: Npm
- Transports: STDIO, HTTP
- License: Not captured
- Language: Not captured
- Stars: Not captured
- Updated: May 14, 2026
- Source: https://registry.modelcontextprotocol.io
