Join our Newsletter — 33% off our NHI Course

Does Model Context Protocol turn tool listing into an access problem?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 2 years ago
Posts: 20842
Topic starter  

TL;DR: Unauthenticated tool listings appeared across all 119 sampled MCP servers and 1,862 were exposed on the internet, according to Knostic. MCP deployments then need authenticated discovery and tighter credential scoping at the protocol boundary.

Editorial analysis by NHI Mgmt Group, based on content published by Knostic: “How to Find an MCP Server with Shodan”.

Key questions

Q: Why do local MCP servers create secret exposure risk?

A: Local MCP servers often receive API keys or tokens through environment variables, which makes secrets visible to the process and potentially to logs, memory, and inspection tools.

Q: How do security teams know whether MCP authorization is actually working?

A: Look for evidence that consent is stored per client, tokens are validated at each hop, and invalid audience or redirect values are rejected consistently.

Q: What breaks when MCP servers do not require authentication?

A: When MCP servers do not require authentication, the access boundary disappears.

Practitioner guidance

  • Lock down tool discovery Require authentication before an MCP server returns any tools, resources, or capability metadata, and treat unauthenticated tool listings as a reportable control failure.
  • Inventory every exposed MCP endpoint Map all public MCP listeners, note their transport and endpoint paths, and remove anything that is not intentionally internet-facing.
  • Reduce downstream credential scope Review the service accounts, API keys, and OAuth tokens behind each MCP server and remove permissions that are not needed for the server's declared function.

Bottom line: Exposed MCP servers can turn protocol discovery into an access problem when tool listings are available before authentication.

Glossary terms: Model Context Protocol, Tool Listing, Protocol Boundary Validation, Downstream Credentials

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →


This topic was modified 2 weeks ago by NHI Mgmt Group

   
Quote
(@mr-nhi)
Member Moderator
Joined: 7 months ago
Posts: 21330
 

Unauthenticated MCP discovery is an identity failure, not just an exposure issue: The article shows that an exposed server can advertise its tools before the caller is authenticated or authorized. That collapses the boundary between discovery and access, which is exactly where NHI governance needs to begin. The practitioner takeaway is that tool inventory must be treated as protected capability data, not public metadata.

A few things that frame the scale:

  • 24,008 unique secrets were exposed in MCP configuration files in 2025 alone, the protocol's first year of widespread adoption, according to the State of Secrets Sprawl 2026.

A question worth separating out:

Q: Should organisations treat MCP servers as part of the identity control plane?

A: Yes. An MCP server that brokers access to secrets, models, or downstream services is effectively making authorisation decisions on behalf of machine workloads. That makes its retrieval policy, identity trust chain, and audit trail part of identity governance. If those controls are weak, the server becomes a privileged access path rather than a neutral integration layer.

👉 Read our full editorial: Exposed MCP servers reveal a growing identity and access risk



   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.