HATEOAS vs MCP: The Affordances Were Always There
The author argues that hypermedia, as described by REST in 2000, offers a more robust solution for AI agents interacting with services than the Model Context Protocol (MCP). By building and testing a digital store with both HTML and MCP interfaces, the author found that while MCP yields smaller initial payloads, it forces clients to guess valid states and handle errors. The author concludes that reliable agent integration ultimately requires the state-machine design work inherent to hypermedia. Open article →