← Back to News and Blogs
AI AgentMCPCLIVFSScale AICooperation BenchBenchmark

Virtualizing MCP into CLIs on Cooperation Bench

In initial experiments with Scale AI on Cooperation Bench, moving from MCP tool calls to virtual CLIs gave similar or better pass³ at 18–56% lower cost.

Virtualizing MCP into CLIs on Cooperation Bench

Cooperation Bench [1] is Scale AI's benchmark of 75 workplace tasks. An AI agent acts as one employee of a simulated property company, works across 11 apps such as Slack, Gmail and QuickBooks, and can only finish by working with the simulated people around it. On the leaderboard, the agent calls the company's 287 tools directly, as MCP tool calls.

Together with Scale AI, we explored another approach in initial experiments with three Claude models on the same 75 tasks. We switched the agent's interface from MCP tool calls to a virtual terminal and moved its tool use into a virtualized workspace, where each of the company's MCP tools runs as a CLI from one shell. The company data, the simulated colleagues and the judge stayed the same. In these initial experiments, each model's cost per task fell 18 to 56%, while its pass³ was similar or higher.

Virtualizing MCP into CLIs

LLMs are post-trained in terminals, and current agent harnesses such as Claude Code run them in a terminal too, which makes it the interface agents are most familiar with [2].

On Cooperation Bench, we virtualized each of the company's 287 MCP tools as a CLI with the same name and flags, in a virtual filesystem workspace the agent drives from one shell. Each CLI makes the same MCP call as the same employee, so the apps, their permissions and their timed events do not change. The CLIs are documented in /SKILL.md and in each one's --help.

This has two main benefits. First, the tools no longer fill the context. With MCP, every request carries all 287 tool definitions, so the first request is 219k tokens. With virtual CLIs, the agent reads /SKILL.md and a CLI's --help only when it needs them, and the first request is 5k tokens. Second, the CLIs compose. Because they are mapped into the virtual workspace, they run like any other command there. Where MCP takes one tool call per search, one shell line runs six and trims each result:

for kw in padlock keypad "shop code" "pool room" "pool equipment" "key box"; do
  echo "=== $kw ==="
  slack_search_public_and_private --keywords "[\"$kw\"]" --limit 20 \
    --sort timestamp --response_format concise 2>&1 | head -60
done

Loops, pipes and filters such as head, grep and jq run inside the workspace over any CLI's output, so the model reads only the part of each result it needs. On the 25 public tasks, 57 to 73% of shell lines trimmed a result this way, and 17 to 24% looped.

Setup

Claude Code reaches the company's 11 apps, deployed by AgentEnv Framework, two ways: through 287 MCP tools, or through 287 CLIs in Mirage.

We ran Claude Fable 5.2, Sonnet 5.5 and Haiku 5.5 in Claude Code on all 75 tasks, three runs each, and compared them with the leaderboard's MCP runs. Only the tools changed: they became CLIs in a Mirage [3] workspace. The apps, the simulated colleagues and the judge stayed the same. Both setups run on AgentEnv Framework [4], which deploys the company's apps behind a gateway, points the agent at them and scores what it did.

Initial Results

Modelpass³pass@1Solver cost per task
Fable 5.236.0% → 30.7%51.6% → 50.2%$27.46 → $12.00 (−56%)
Sonnet 5.5 4.0% → 10.7%12.9% → 24.0% $7.30 →  $4.07 (−44%)
Haiku 5.5 0.0% →  0.0% 0.4% →  1.3% $1.30 →  $1.07 (−18%)

Each Claude model on all 75 tasks, with MCP tool calls on the left of each arrow and virtual CLIs on the right. pass³ is the share of tasks where all three runs pass, and pass@1 the share of single runs that pass.

Solver cost per task against pass³, the share of tasks where all three runs pass, on all 75 tasks, for the GPT and Claude models on the leaderboard. Each arrow is a Claude model moving from MCP tool calls to virtual CLIs.Solver cost per task against pass³, the share of tasks where all three runs pass, on all 75 tasks, for the GPT and Claude models on the leaderboard. Each arrow is a Claude model moving from MCP tool calls to virtual CLIs.

As shown in Table 1 and Figure 1, each Claude model moves to a lower cost. Fable 5.2's pass³ went from 36.0% to 30.7%, a small drop, for less than half the cost. Sonnet 5.5's pass³ rose from 4.0% to 10.7%, and its pass@1 from 12.9% to 24.0%. Haiku 5.5 passed no task in all three runs either way, at 18% lower cost.

Most of a run's tokens are its prompt, sent again with every request. Without the 287 tool definitions, each request is smaller. Virtual CLIs also compose better, so one shell line made two to five app calls on average, and most lines trimmed the output before the model read it. As a result, Fable 5.2 used 64% fewer tokens per task, and Sonnet 5.5 used 52% fewer.

Future Work

This ablation virtualized only the tools. Each of the 287 tools became a CLI, but the data stayed behind those CLIs. Next, we will virtualize the company's services themselves into the virtual filesystem, as AgentVFS [2] does on other benchmarks.

  • Services that store data as files in the virtual filesystem, in the shape of their APIs, such as .gsheet.json for a spreadsheet, .email.json for an email and a directory for each Slack channel, so the agent reads and searches them with Unix tools such as grep and jq.
  • A VFS.md that maps the whole virtual filesystem, so the agent knows where the company's data lives.
  • MCP tools as CLIs that LLMs already memorized, such as gws for Google Workspace, so sending an email or creating an event needs no new commands.

References

  1. Razvan-Gabriel Dumitru, Tu Trinh, Edgar Arakelyan, et al. Cooperation Bench: Tools Are Easy, People Are Hard. Scale Labs, 2026.
  2. Zecheng Zhang, Guohao Li, Yuxin Xiao, et al. AgentVFS: A Virtual Filesystem Interface for AI Agents. AgentVFS, 2026.
  3. Strukto.AI Team. Mirage: A Virtual Terminal for AI Agents. Strukto, 2026.
  4. Edgar Arakelyan, Tejas Polakam and Pratyush Singhal. AgentEnv Framework. Scale AI, 2026.