Installs BB.MCP into an application
Configures :bb_mcp, :robots from the supplied --robot module(s),
then wires up an MCP transport:
- If the host app uses Phoenix, the installer locates the
application's router and adds the
BB.MCP.Router.bb_mcp/2mount (defaulting to/mcp). - Otherwise it adds
BB.MCP.Serveras a Streamable HTTP child to the application's supervision tree, listening on--port.
Example
mix igniter.install bb_mcp
mix igniter.install bb_mcp --robot MyApp.Robot
mix igniter.install bb_mcp --robot MyApp.WX200 --robot MyApp.SO101
mix igniter.install bb_mcp --path /mcp --port 4001
Options
--robot— Robot module to expose. May be supplied multiple times. Defaults to{AppPrefix}.Robot.--path— URL path for the Phoenix mount (default/mcp).--port— Streamable HTTP port for the non-Phoenix mount (default4000).