Skip to content

2026-11-12: MCP stubs ​

Run on 2026-11-12: CLI 2.1.311, profile oauth, sandbox srt, agent claude-sonnet-5, commit 8bd8898. The suite is suites/mcp-stub.eval.ts.

sh
npx proctor run suites/mcp-stub.eval.ts --agent fake --sandbox srt     # free: the stubs start and answer under srt
npx proctor run suites/mcp-stub.eval.ts --agent claude-code --repeat 3 -j 3 --report markdown,html
VariantWhat the agent gets
with-pgsqlthe stub pgsql, under its own name, and the question
without-serverthe question only
plugin-servera local plugin dbtools whose .mcp.json declares pgsql, the stub in its place, and the plugin's skill
Casewith-pgsqlwithout-serverplugin-server
index-exists: the stub shows an index on customer_id, expected no3 / 32 / 3, see below3 / 3
index-missing: the stub shows none, expected yes3 / 30 / 33 / 3
mean cost per trial$0.039$0.056$0.031
  • Stubs: 0 trials other. Every stub connected under srt, listed its tool, and answered every call from a rule of the case: mcpStubFallbacks is 0 in all 12 trials with a stub.
  • Plugin naming: in plugin-server, the agent called mcp__plugin_dbtools_pgsql__get_object_details, the name the plugin's own server would have. The skill found its tool without knowing it was a stub.
  • Grounding: with a stub, the answer quotes the index the case stubbed (orders_customer_id_idx) or its absence. Without a server, the agent cannot answer.
  • The 2 passes of without-server on index-exists are false positives: the answers start with "No — I can't determine this yet". The yes/no regex sees a no. A judge criterion, or a stricter pattern, tells an abstention from an answer.
  • Without a server, the agent reads files that do not exist: Read refuses db.sqlite3, database.sqlite and app.db as binary files before checking they exist, in an empty workspace. The agent took that as proof of a database it could not query. This is Claude Code's behavior, not the harness's.
  • ~/.claude unchanged. Total: 18 trials, $0.75, 1.2 min, no judge.