AI agents need REST APIs with discoverable endpoints, standardized authentication, and machine-readable product catalogs. Protocols like MCP (Model Context Protocol) and OpenAPI 3.0 give agents context to browse products, manage carts, and complete checkouts without custom integration code. Spree Commerce ships an MCP server, AGENTS.md, and a complete OpenAPI spec designed for agent-driven commerce.