Dev-only Plug that mounts the Corex Model Context Protocol HTTP endpoint for AI tooling.
Ships as the Hex package corex_mcp. Add it to your app
with only: [:dev, :test], then mount after Plug.Static and before the code reloader:
if Mix.env() in [:dev, :test] do
plug Corex.MCP
endThe endpoint is at /corex/mcp. Never enable this plug in :prod (initialization raises unless
you pass force: true).
See the MCP guide for tools, security, Cursor/Claude config, and Tableau Bandit wiring.