The Fix for MCP Is a CLI
I usually give an AI agent a command-line interface (CLI) before I add a Model Context Protocol (MCP) server. The CLI often does the work I need.
MCP gives agents an interface to tools and data. That interface can help. But I do not need another server for every service that an agent uses.
Start with the CLI
Tools such as git, gh, and curl have documentation and examples.
An agent can use them through the same shell that I use.
I can also run the same command to check the result.
Shell tools can pass data to each other.
For example, jq can select fields from JSON output before the agent reads it.
The agent does not need to process each result between commands.
A CLI still needs installation, updates, and access controls. But an installed CLI can remove the need to configure an additional MCP server.
Return only the necessary data
Suppose I want the numbers and titles of my open pull requests. The GitHub CLI can request that data directly:
gh pr list --state open --author @me --json number,title
The command selects the author and fields before it returns the result. The agent does not need a full response with unrelated fields.
An MCP tool can offer the same controls. But if the CLI already provides them, I use it first.
Tool descriptions also use space in the model’s context. Clients that load many descriptions at once leave less space for the task. Some clients load tool descriptions only when necessary. That reduces this cost, but it does not make another integration necessary.
Use MCP when it adds value
I consider MCP when an agent needs to keep a session between calls. A browser session is one example. The agent can inspect a page, select a control, and continue in the same session.
A CLI can also control a session. MCP is not the only option. I choose the interface that gives the agent the necessary controls with less setup.
My default
First, I check for an existing CLI.
If there is none, I check for an HTTP API that curl can use.
I add MCP when it provides a clear benefit over those options.
The question is not whether an MCP server exists. The question is what the task needs.