MCP Server
Point Claude Code, Cursor, or any MCP-capable agent at axiom-ui mcp. The agent discovers components via the manifest, reads the source once, and generates correct usage in a single shot — no docs URL to paste.
Tools
-
list_components— every component's name and intent. -
get_component— the full .tsx source plus the structured manifest for one component.
Claude Code configuration
Add to ~/.claude/mcp.json or a per-project .mcp.json:
{
"mcpServers": {
"axiom-ui": { "command": "npx", "args": ["-y", "@joinclass/axiom-ui", "mcp"] }
}
} Package scope, not workspace scope
get_component always returns the original source that shipped in the package version you installed. If you edit a component after running add, the MCP server won't reflect your local edits. This is intentional: the manifest describes what the library ships, not what you own.