Published October 29, 2026 | Version v1

MCP Safety: Measuring Useful Action across Tool Trust Boundaries

Authors/Creators

  • 1. Independent researcher

Description

MCP tools expose descriptions, returned content, and actions across trust boundaries. MCP Safety measures whether an agent completes a requested lookup without forbidden calls or literal canary disclosure. Its 40 synthetic tasks form 20 benign/malicious pairs across 6 attack categories. Deterministic replay scores safety and usefulness separately, then requires both for success. In 560 local scripted episodes, the privileged good control achieves 100.0 [83.9, 100.0] percent joint success in each stratum (95% Wilson intervals). The bad control completes the work but achieves 0.0 [0.0, 16.1] percent joint success. An additional 16000-episode simulated population sweep separates argument filtering from task-aware action filtering. At maximal simulated attack following, combining both filters preserves all requested work; either filter alone leaves failures. Blanket filtering loses legitimate work. These are diagnostic controls and a stipulated simulation, not learned-model results or evidence of deployment security.

Files

mcp-safety-paper.pdf

Files (97.4 kB)

Name Size
md5:4584556cd6d2808676b6f95f3c983a43
77.2 kB Preview Download
md5:736511cab20a2dcd2490c55f34565b46
20.2 kB Download

Additional details

Related works

Is supplemented by
Software: https://github.com/pooriaarab/benchmark-mcp-safety (URL)