An MCP server, a REST API, and a training-data export solve three different problems. How to tell which one your agent actually needs.