MCP (Model Context Protocol) server for Claude Code integration.
Implements a JSON-RPC 2.0 server over stdio transport. Claude Code connects to this server to manipulate PhiaUI designs programmatically.
Protocol
The server supports:
initialize— handshake with protocol version and capabilitiesnotifications/initialized— client confirmationtools/list— enumerate all available design toolstools/call— execute a tool by name with arguments
Usage
Started via mix phia.design.mcp. Configure in .mcp.json:
{
"mcpServers": {
"phiaui-design": {
"command": "mix",
"args": ["phia.design.mcp"],
"env": {"MIX_ENV": "dev"}
}
}
}
Summary
Functions
Run the MCP server. Blocks indefinitely reading from stdin.