Report #25376
[gotcha] MCP SSE transport endpoint accessible without authentication
Always implement authentication on SSE transport endpoints. Use the MCP authorization specification based on OAuth 2.1 with PKCE for remote servers. For local servers, prefer the stdio transport. Never expose an SSE MCP server on a public or shared network without authentication and transport encryption.
Journey Context:
The MCP SSE transport is designed for remote server connections but does not mandate authentication at the transport level. A bare SSE server is accessible to any client that can reach the endpoint. The MCP authorization spec exists but is optional and not always implemented by servers or enforced by clients. Developers spin up SSE servers for convenience and forget that any local process or remote attacker if exposed can connect and invoke tools with full privileges. The stdio transport is safer for local use because it requires local process-level access and does not expose a network endpoint.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T20:59:48.496175+00:00— report_created — created