Corex mcp

From corex-ui/corex · View interactive version

Corex mcp is an AI agent skill from the GitHub repository corex-ui/corex. Load when adding {:corex_mcp, only: [:dev, :test]}, configuring plug Corex.MCP in endpoint.ex, editing .cursor/mcp.json or Claude Desktop mcpServers JSON, calling list_components get_component search_docs navigation_guide list_modifiers get_component_style list_themes design_guide installation_guide

How to use this skill

Skill file

Corex MCP

Dev/test only. Package: {:corex_mcp, "~> 0.2", only: [:dev, :test]}.

After Plug.Static in endpoint:

if Mix.env() in [:dev, :test] do
  plug Corex.MCP
end

Cursor / Claude / other HTTP MCP clients: Phoenix http://localhost:4000/corex/mcp, Tableau http://localhost:4004/corex/mcp. Project scaffolds write a single .cursor/mcp.json; user-level configs that use both hosts should register both servers (corex + corex-tableau). Prefer --no-mcp for locked-down scaffolds.

Claude Desktop: wrap each URL in { "transport": { "type": "http", "url": "…" } }.

Call order: list_components → get_component (kebab or snake ids; structured hook/events/api); search_docs / navigation_guide as needed; list_modifiers / get_component_style for ui-*; list_themes / design_guide for theming. Prompts: corex_form, corex_controlled, corex_style. Stale metadata → restart server.

Full checklist: sub-rule corex:mcp.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.