Claude Code
Agent quickstart
Claude Code
Add B2A as an MCP server. Anthropic's official CLI auto-discovers the six tools.
1. Register the server
claude mcp add b2a https://mcp.b2a.bluepillow.com/ \
--header "Authorization: Bearer <your-key>" Skip the --header flag to let Claude call b2a_get_key on the first request.
2. Test it
> Best 4-star hotel in Rome near the Vatican, May 22-24, 2 adults, max €180/night, free cancellation. Compare booking sites and pick the cheapest. Claude will route through search_stays automatically.