Join our Newsletter — 33% off our NHI Course

What do teams get wrong about MCP tool discovery and runtime reflection?

Teams often assume that runtime discovery alone makes an integration safe or manageable. In practice, reflection helps clients find tools, but it does not prove trustworthiness, intent, or correct authorization. Without governance around server onboarding, tool review, and identity controls, discovery can expose more attack surface while giving a false sense of control.

Why This Matters for Security Teams

mcp tool discovery is often treated as a safety feature when it is really just an indexing and exposure mechanism. Reflection can help an agent or client find available tools, but it does not answer the harder questions: who approved the server, what the tool is allowed to do, and whether runtime use matches policy. That gap matters because autonomous workloads can chain tools quickly and at machine speed, turning simple visibility into broad attack surface.

This is where teams misread governance. They see a discoverable tool catalog and assume the integration is manageable, then defer the harder work of onboarding review, credential scoping, and runtime authorization. The result is a false sense of control, especially when tools expose secrets, admin actions, or broad data access. NHIMG’s The State of MCP Server Security 2025 found that only 18% of MCP server deployments implement any form of access scoping for tool permissions.

That number is a reminder that discovery without governance does not reduce risk. It can accelerate it. In practice, many security teams discover unsafe MCP exposure only after a server has already been onboarded and used in production, rather than through intentional review.

How It Works in Practice

In MCP, runtime reflection lets a client inspect what tools a server advertises so the client can decide what to call. That is useful for interoperability, but it is not a trust decision. A secure pattern separates three steps: server approval, tool-level authorization, and execution-time policy checks. If any of those are missing, reflection becomes a convenience layer over an untrusted capability set.

Teams should treat reflected tools as untrusted until proven otherwise. The practical controls usually include:

  • Onboard MCP servers through a review process that validates owner, purpose, data access, and secret handling.
  • Map each tool to a specific permission boundary, not a broad server-level trust decision.
  • Use short-lived credentials and workload identity so access is bound to the runtime session, not a static secret.
  • Evaluate tool calls at request time with policy-as-code, especially when the agent can infer or compose new actions.

That last point is critical. The current guidance from OWASP Agentic AI Top 10 and the OWASP Top 10 for Agentic Applications 2026 is that runtime tool use must be governed by context, not by discovery alone. NHIMG’s OWASP Agentic Applications Top 10 makes the same practical point for autonomous workloads: what the agent can see is not the same as what it should do.

These controls tend to break down in fast-moving development environments where teams auto-register MCP servers and reuse long-lived credentials because onboarding review is slower than deployment.

Common Variations and Edge Cases

Tighter tool governance often increases integration overhead, requiring organisations to balance developer speed against the risk of exposing high-impact capabilities. That tradeoff is real, especially for internal platforms where teams want discovery to feel frictionless. Best practice is evolving, and there is no universal standard for this yet, but there is broad agreement that reflection should not be the trust boundary.

Two edge cases deserve attention. First, some MCP servers expose harmless-looking read tools alongside privileged write tools. If discovery treats them equally, an agent may be allowed to enumerate sensitive data paths and then pivot into action. Second, federated or multi-team environments can blur ownership, so a discovered tool may appear legitimate even when its data scope or token handling is unclear.

This is where NHIMG’s NHI Lifecycle Management Guide and Top 10 NHI Issues are useful: tool discovery should be tied to identity lifecycle, ownership, and revocation, not just catalog visibility. In practice, runtime reflection is safest when it is paired with explicit allowlists, just-in-time authorisation, and continuous auditability of every tool call.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10, CSA MAESTRO and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST AI RMF and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Agentic AI Top 10 A2 Tool discovery can expose unsafe agent capabilities without runtime governance.
CSA MAESTRO T1 MAESTRO addresses agent-tool trust boundaries and orchestration risk.
NIST AI RMF GOVERN AI governance is needed to assign ownership and oversight for MCP use.
OWASP Non-Human Identity Top 10 NHI-03 Reflection often hides weak secret handling and overbroad access scopes.
NIST Zero Trust (SP 800-207) SC-3 Zero trust requires verifying each tool call, not trusting discovery.

Define onboarding, approval, and runtime checks before any MCP tool is available to agents.