CLIs are super exciting precisely because they are a "legacy" technology, which means AI agents can natively and easily use them, combine them, interact with them via the entire terminal toolkit.
E.g ask your Claude/Codex agent to install this new Polymarket CLI and ask for any
introducing polymarket cli - the fastest way for ai agents to access prediction markets
built with rust. your agent can query markets, place trades, and pull data - all from the terminal
fast, lightweight, no overhead
I don't exactly see them as direct competitors. I have to think about the relationship more I don't think I have a clean way to think about it yet. It's a much larger space that covers various design decisions and constraints - where does compute happen? where does state live? how language / system specific is the functionality? etc.
They both can exist. MCP is beyond developers, I like to think of it as an evolved REST. The new MCP for Chrome preview is a perfect example of this where a CLI is not appropriate.