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| Variant | What the agent gets |
|---|---|
with-pgsql | the stub pgsql, under its own name, and the question |
without-server | the question only |
plugin-server | a local plugin dbtools whose .mcp.json declares pgsql, the stub in its place, and the plugin's skill |
| Case | with-pgsql | without-server | plugin-server |
|---|---|---|---|
index-exists: the stub shows an index on customer_id, expected no | 3 / 3 | 2 / 3, see below | 3 / 3 |
index-missing: the stub shows none, expected yes | 3 / 3 | 0 / 3 | 3 / 3 |
| mean cost per trial | $0.039 | $0.056 | $0.031 |
- Stubs: 0 trials
other. Every stub connected undersrt, listed its tool, and answered every call from a rule of the case:mcpStubFallbacksis 0 in all 12 trials with a stub. - Plugin naming: in
plugin-server, the agent calledmcp__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-serveronindex-existsare false positives: the answers start with "No — I can't determine this yet". The yes/no regex sees ano. A judge criterion, or a stricter pattern, tells an abstention from an answer. - Without a server, the agent reads files that do not exist:
Readrefusesdb.sqlite3,database.sqliteandapp.dbas 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. ~/.claudeunchanged. Total: 18 trials, $0.75, 1.2 min, no judge.