Nate Herk's recommended order for connecting an AI agent to a tool: try CLI first; if no CLI exists, use the API (and likely wrap it as a CLI); fall back to MCP only when neither CLI nor API is available. · Career Hacker Alex