March 10, 2026
Modern development increasingly involves AI coding assistants. The PhiaUI MCP Server bridges the gap between AI tools and the PhiaUI component library, enabling smarter, more accurate code generation.
The Model Context Protocol (MCP) is an open standard that lets AI assistants access specialized tools and data sources. Think of it as giving your AI assistant a direct line to PhiaUI’s documentation and component API.
Component Discovery
Code Generation
_web.ex Documentation Lookup
Validation
Add the MCP server to your AI assistant’s configuration:
{
"mcpServers": {
"phiaui": {
"command": "mix",
"args": ["phia.mcp"],
"cwd": "/path/to/your/project"
}
}
}
Ask your AI assistant:
“Create a dashboard card grid showing revenue, users, and orders using PhiaUI components”
With the MCP server active, the AI knows to use StatCard, MetricGrid, proper icon names from Lucide, and the correct import paths — no hallucinated APIs.
The MCP server works with any MCP-compatible client:
The PhiaUI MCP Server is open source and ships as part of the phia_ui Hex package. Enable it with a single mix task and start building faster with AI.