Context bloat comes from clients that load every MCP tool into the prompt before the agent needs it, so the fix belongs in the agent harness.
2
Progressive tool discovery and Code Mode reduce prompt use by exposing tools only when needed and letting models work with tool definitions as code.
3
CLI is a strong local interface, while MCP is better for remote access, authentication, sessions, and protocol features. Jan Čurn argues that agents should use both through mcpc.
Summary
Jan Čurn argues that the backlash against MCP targets poor client implementations rather than the protocol itself. Early MCP clients loaded every tool into the context, which consumed tokens before any work began and made later calls expensive and less accurate. He describes three ways to fix this: sub-agents, progressive tool discovery, and Code Mode. He says Code Mode fits how models already work because they can inspect and write code more naturally than they can use synthetic tool-calling interfaces. CLIs get similar benefits by exposing help progressively and running through a shell, which models know well from training. Their weakness is remote access and authentication. Čurn proposes MCP for remote services and CLI for local access, then demonstrates Apify's mcpc, which wraps MCP in a command-line interface with sessions, OAuth, JSON output, tool search, asynchronous tasks, and x402 support. Early Connector Evals show mcpc and native CLI performing similarly, while raw MCP uses more tokens.
MCP became popular before its clients handled tool context well
Čurn describes MCP as a standard for accessing tools and resources, introduced by Anthropic and adopted by many clients and servers. He says the ecosystem grew to roughly 10,000 to 15,000 servers, with registries appearing to organize them. The later backlash included claims that MCP was the wrong abstraction or was dead. Čurn frames the disagreement as a consequence of how clients use the protocol, rather than evidence that the protocol itself cannot work.
Loading every tool into the prompt is a harness bug
The first MCP clients registered every tool from every connected server in the context at startup. With 10 servers and about 100 tools, roughly a third of the context could be occupied before the agent answered a question. Tool calls then added results back into the context, making it longer, more expensive, and less accurate over time. Čurn says the MCP specification does not prescribe this behavior. The agent builder has to decide how to use MCP without filling the context unnecessarily.
Sub-agents isolate context but do not remove its costs
Čurn presents sub-agents as the first response to context bloat. A task can be delegated to an agent with its own context window, so the main agent does not carry every intermediate result. This still costs tokens, however, because the delegated work has its own context. It also leaves sensitive values and large data in context, where later tool calls or the application may access them. For Čurn, sub-agents move the problem rather than solving the unsafe use of context as a data channel.
Progressive discovery exposes tools only when an agent needs them
Progressive tool discovery keeps tool descriptions out of the initial context and adds them when the agent asks for them. Čurn points to Anthropic's tool search tool in Claude and says the approach is straightforward: an agent may connect to 100 tools but usually needs only one or two for a task. Searching first reduces context use and can make execution cheaper and faster. He presents this as a client behavior that should have been standard from the start.
Code Mode lets models inspect tool interfaces as code
Code Mode converts MCP tools and servers into code that a model can inspect and use. Čurn says models are good at navigating definitions with tools such as grep, writing code, and analyzing code. Tool calling is a synthetic interface that models have to learn, while code and shell usage appear throughout their training data. He calls the idea simple but effective, although he says Cloudflare's implementation is tied closely to its platform and has not been widely adopted.
Agents prefer CLIs because shell use is progressive and familiar
A CLI does not require an agent to load every command into context. The agent can call help when it needs more information, then run the command as shell code. Čurn says models know common Linux and Unix commands from training data and can combine them with pipes. He also describes the shell as a compact interface that has been refined over decades to communicate useful computer state with little text. This gives local CLIs Code Mode-like behavior by default.
MCP fits remote access while CLI fits local access
Čurn's objection to using CLIs everywhere is that they are local black boxes without a standard transport or authentication protocol. An enterprise cannot easily inspect how an arbitrary CLI communicates or inject credentials into it. MCP provides a better interface for remote connectors, while a CLI gives a local agent a familiar shell interface. His proposed split is MCP for remote access and CLI for local access, with the MCP details hidden behind a bash call when needed.
mcpc wraps MCP in a scriptable command-line client
Čurn introduces mcpc, an Apify open-source CLI client for MCP. It aims to support the protocol's features, including tools, resources, prompts, tasks, and sessions, without adding an LLM. Commands can return pure JSON, which lets agents compose calls with jq, pipes, and shell scripts. In the demo, mcpc connects to local stdio servers and remote servers, handles browser-based OAuth, stores credentials in the operating system keychain, preserves sessions, and exposes server instructions and commands to both agents and people.
Connector Evals compare the connector rather than the agent
Čurn describes Connector Evals, a framework for comparing MCP, CLI, and mcpc while holding the agent setup constant. In the early examples, Claude Code with Sonnet 5 used similar time and token costs with mcpc and a native CLI. Raw MCP sometimes finished faster but consumed more tokens, and another test showed raw MCP performing worse. Čurn presents the results as early and invites contributions, then concludes that MCP plus CLI is a better combination than treating either interface as the only answer.
"So how about we use MCP for standard remote access and CLI for local agent access or local agent interface with all the goodies that I described."10:15
Who should watch
You are building an MCP client that currently loads every tool description into the prompt and need practical ways to reduce context use.
Your agent works with both local commands and remote authenticated services, and you need a clear division between CLI and MCP.
You want to evaluate connector overhead with the same agent instead of comparing whole agent systems.