The Sequence Opinion #848: The Agent’s Hands: CLI or MCP?
Summary
The core challenge in agentic software development is not selecting the language model, but defining its interaction capabilities with the external world. A language model, inherently a "brain in a jar," transforms into an "operator" when equipped with tools, enabling it to perform actions like reading files, writing code, calling APIs, or deploying infrastructure. The critical component for these systems is the interface connecting the model to its environment. Two primary interface philosophies have emerged: the Command-Line Interface (CLI) and the Model Context Protocol (MCP). CLI advocates for leveraging existing Unix process tools with text-based input/output, while MCP proposes a client-server architecture providing structured, discoverable, and typed tools with schemas, resources, prompts, and permissions.
Key takeaway
For CTOs and VPs of Engineering evaluating agentic system architectures, your primary decision should focus on the interface design rather than just the underlying language model. Choosing between a CLI-centric approach for leveraging existing Unix tools or an MCP-based protocol for structured, typed tool interactions will dictate system capabilities, security, and scalability. Prioritize a robust, well-defined interface to prevent operational missteps and ensure reliable agent performance.
Key insights
Agentic system efficacy hinges on the interface connecting the language model to external tools, not solely on the model itself.
Principles
- Tools transform language models into operators.
- Interface design is paramount for agentic systems.
In practice
- Consider CLI for simple, composable text-based tools.
- Evaluate MCP for structured, discoverable, typed tool integration.
Topics
- Agentic Software
- Language Models
- Tool Interfaces
- Command-Line Interface
- Model Context Protocol
Best for: CTO, VP of Engineering/Data, AI Engineer, AI Architect, Director of AI/ML
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by TheSequence.