BB.MCP (bb_mcp v0.2.0)

Copy Markdown View Source

Model Context Protocol server for Beam Bots robots.

This module is the public entry point. The server itself is BB.MCP.Server; see its documentation for supervision and transport configuration.

Quick start

# config/config.exs
config :bb_mcp, robots: [MyApp.WX200]

children = [
  MyApp.WX200,
  {BB.MCP.Server, transport: :streamable_http}
]

Supervisor.start_link(children, strategy: :one_for_one)

Then mount over Streamable HTTP in a Phoenix router:

import BB.MCP.Router
scope "/" do
  bb_mcp "/mcp"
end