The research proposes a zero-trust authorization and tool discovery scheme for enterprise MCP.Zero-Trust Authorization and Discovery for Enterprise MCP
Translation in progress — untranslated text is omitted.
The paper provides a systematic analysis of authorization gaps in enterprise-grade MCP and offers a composable FastMCP extension that does not modify the protocol or SDK internals. The authors survey six MCP SDKs—Python, TypeScript, Go, Rust, C#, Swift—and identify three structural deficiencies: credential extraction is bound to a single Authorization header, making dual-role deployments that serve both human users (enterprise SSO) and automated agents (service account credentials on different request headers) require custom middleware; there is no pre-authentication tool discovery; and the base SDKs lack per-tool fine-grained authorization.
- LLM agents convert natural language that may contain attacker text into privileged MCP tool calls, and the official SDKs' authentication and authorization do not meet enterprise zero trust, especially when the same server serves both human SSO and service accounts.
- Without changing the protocol or SDK internals, four composable extensions are added to FastMCP: cross-header credential normalization (C1), cached validation for heterogeneous IdPs (C2), credential-free pre-authentication metadata (C3), and the same declaration governing both visibility and invocation-time authorization (C4).
- Across 2160 attempts with four frontier models, the baseline with only in-body checks still had 152/720 (21.1%) attempts to invoke the forbidden tool, ranging from 0% to 50% across models; permission-aware visibility reduced attempts to 0/720. Visibility filtering alone can still be bypassed by scripted clients calling directly; models reproduced up to 94% of inferable tool names.
- The authors state the corpus has only 60 entries targeting one forbidden tool, with obfuscation and encoding attacks left to dedicated benchmarks; undeclared components are open by default; the cache accepts revoked tokens for up to one TTL. The SDK snapshot is as of 2026-05-15, and Java, Kotlin, PHP, and Ruby are not within the empirical claims.