MCP vs CLI vs Codemod: What's the best way to give your agents access to external tools?
MCP (Model Context Protocol), introduced by Anthropic, has been picked up across the industry, with almost all major model providers now supporting MCP integrations. MCP is particularly useful in enterprise settings where authentication and authorization matter.
But CLI (Command Line Interface) has its advantages. Developers have been using it for a long time, and tools like GitHub CLI are deeply ingrained in LLM pre-training data. Models often don't even need to look at the documentation to use them. CLI also offers progressive disclosure. Agents don't need to be exposed to all tools at once. They can start with a few commands and discover more as needed.
The third approach is Codemod: set aside MCP and CLI, and let the agent write code to work with these apps directly.
All three have their advantages and need to be used in the right places. Over the last two years, AI agents have largely focused on automating coding. But with Opus 4.6, knowledge work has become a major area of focus.
And to automate knowledge work, agents need connectivity to the different apps and tools people use every day.
@KaranVaidya6 @composio
MCP (Model Context Protocol), introduced by Anthropic, has been picked up across the industry, with almost all major model providers now supporting MCP integrations. MCP is particularly useful in enterprise settings where authentication and authorization matter.
But CLI (Command Line Interface) has its advantages. Developers have been using it for a long time, and tools like GitHub CLI are deeply ingrained in LLM pre-training data. Models often don't even need to look at the documentation to use them. CLI also offers progressive disclosure. Agents don't need to be exposed to all tools at once. They can start with a few commands and discover more as needed.
The third approach is Codemod: set aside MCP and CLI, and let the agent write code to work with these apps directly.
All three have their advantages and need to be used in the right places. Over the last two years, AI agents have largely focused on automating coding. But with Opus 4.6, knowledge work has become a major area of focus.
And to automate knowledge work, agents need connectivity to the different apps and tools people use every day.
@KaranVaidya6 @composio
2:00