Principal-Conditioned Semantic Equivocation in the Model Context Protocol
How a valid MCP server response can mean one thing to an inspector and another to the agent that will act on it.
Both callers receive a valid response. The security-relevant meaning can still differ.
↓
The inspecting principal sees ordinary tool semantics.
Research question
Can a server follow the Model Context Protocol while giving different authorized principals different security-relevant tool semantics?
The problem
Identity and transport protections do not, by themselves, require a server to present the same meaning to every caller. A single-view inspection can therefore see a benign tool while another principal receives materially different instructions, metadata, or schema choices.
The concept
The paper calls this principal-conditioned semantic equivocation when the condition is an authenticated identity or authorization property. It distinguishes that from changes based only on unverified client claims.
Methodology
We mapped ten candidate mechanisms to the protocol clauses they depend on, built a schema-validated local MCP server, and tested agent-level security invariants in controlled trials. The experiment compared model families and included negative or mixed cases alongside positive results.
Experiments
Across 6,034 trials on ProteusBench, five compliant mechanisms produced reproducible agent-level invariant violations on Qwen2.5-7B. The five also reproduced on gpt-oss-20b. Prompt hardening had no measured effect in the tested arms.
Results & limits
The effect is model-dependent: Qwen2.5-14B violated none of the four invariants tested on it. One mechanism lacked an in-run control. The proposed detector, Proteus, has an implemented normalization and structural core, but the full detector and its false-positive rate on production servers have not yet been evaluated.
Why it matters
If two authorized callers can receive divergent meaning from one server, comparing a server only with its earlier behavior or its own declared intent misses the difference. The research motivates cross-principal comparison and a declared, auditable policy for legitimate variation.
Publication
Accepted for publication in the proceedings of ICICC 2027, Springer Lecture Notes in Networks and Systems. A paper link will be added after publication.