MCP Server
The official XAUI MCP (Model Context Protocol) server gives your AI assistant full knowledge of XAUI components, props, and usage patterns — no copy-pasting docs required.
What is MCP?
MCP (Model Context Protocol) is an open standard that lets AI assistants connect to external tools and data sources. Adding the XAUI MCP server means your AI can look up component props, get usage examples, and understand the difference between @xaui/native and @xaui/hybrid without you explaining it.
Claude Code
Run this once in your terminal:
claude mcp add xaui -- npx -y @xaui/ui-mcp@latest
Cursor
Add to .cursor/mcp.json in your project root:
{"mcpServers": {"xaui": {"command": "npx","args": ["-y", "@xaui/ui-mcp@latest"]}}}
Claude Desktop
Add to claude_desktop_config.json:
{"mcpServers": {"xaui": {"command": "npx","args": ["-y", "@xaui/ui-mcp@latest"]}}}
Available tools
Once connected, your AI assistant can call these tools:
list_componentsList all available XAUI components with descriptionsget_component_docsGet full documentation for a component — props table, package info, platform notesget_component_examplesGet usage code examples for a componentget_installationGet installation instructions for @xaui/native, @xaui/hybrid, or bothget_native_vs_hybridExplain the difference between the two packagesget_mcp_setupGet instructions to add XAUI MCP to an AI assistantLLM reference file
Prefer a plain-text reference? A machine-readable file with all component docs is available at:
https://ui.xtartapp.com/llm.txt
You can paste this URL into any AI assistant that accepts URLs, or download it into your project as a local context file.