patchbay audit
·6 min read

State of MCP server security: November 2026

6,225 public MCP endpoints scanned so far. This is the first wave. New sources get crawled weekly and the cohort keeps growing. Here's what the current snapshot looks like.

Of those 6,225:

  • 4,998 grade D or F on OAuth 2.1 posture (80.3%)
  • 555 critical: heavy-write tools exposed without any authentication required
  • 2,228 high: OAuth misconfigurations that block compliant clients from authenticating
  • 11,276 medium: transport, headers, metadata, poisoning patterns
  • 633 grade A, 342 B, 252 C

The leaderboard breakdown is live at patchbay-mcp.dev/leaderboard, re-crawled weekly.

how we got to 6,225

The cohort came from three sources: the official MCP registry at registry.modelcontextprotocol.io, GitHub code-search for imports of @modelcontextprotocol/* packages, and public sitemaps from MCP directories.

Initial pass pulled over 6,800 reachable endpoints. After tightening the reachability check to require a valid JSON-RPC protocolVersion response (not just any HTTP 200), 452 non-MCP hosts dropped out. CDN pages, chat SaaS products hosting their sites on mcp.* subdomains, generic error-returning endpoints that happened to respond. The final number is what passed strict MCP-protocol validation.

I'm publishing this correction openly because the scanner was too loose before the fix. Anyone who caught a cached screenshot of the 6,800 figure in the last 48 hours: 6,225 is the honest number.

the 555 critical findings

AUTH-001 fires when a server exposes tools whose names match heavy-write verbs (delete, send, transfer, create, update, revoke, approve, archive, deploy, publish, and ~15 others) via tools/list without requiring OAuth bearer authentication.

For the critical bucket, I kept only tools matching heavy-write verbs with actual state-mutation semantics. Tools exposed intentionally public (SDK docs, scaffolding helpers, read-only guidance) are excluded. A separate severity matrix downgrades those to high (scaffolding-only mutation) or info (read-only).

The pattern across the 555: a client with no credentials can call tools that would, if executed, mutate state the operator cares about. Whether that state is a database row, an outbound email, a transfer of funds, or a published artifact depends on the tool.

what fails most often in the D/F bucket

Three patterns show up on nearly every failing server:

  1. No Protected Resource Metadata document. /.well-known/oauth-protected-resource is mandatory per the MCP Authorization spec (July 2026 revision, following RFC 9728 which became required in mid-2025). Without it, compliant MCP clients can't discover which authorization server issues tokens for the resource.
  2. PKCE S256 not advertised. code_challenge_methods_supported missing from /.well-known/oauth-authorization-server. Even if the server enforces PKCE S256 at runtime, spec-compliant clients refuse to proceed because the discovery metadata doesn't advertise support.
  3. Dynamic Client Registration without the modern replacement. Server advertises registration_endpoint (RFC 7591 DCR) but doesn't advertise client_id_metadata_document_supported. The July 2026 spec deprecated DCR in favor of OAuth Client ID Metadata Documents (CIMD). Many servers haven't migrated.

Each of these is a 10-100 line config fix on most OAuth stacks (Auth0, Clerk, WorkOS, Keycloak, raw Express/Fastify). None of them are hard problems. They're deploy-and-forget problems.

what I'm deliberately not publishing

A handful of the initial scan's critical findings landed on vendor-brand subdomains. Some genuine, some mislabeled. One concrete example: a subdomain on a known security vendor's apex domain turned out to host a restaurant-management demo, not the vendor's actual product. The server's serverInfo.name field returned restaurant-api, the tools were list_restaurants and get_menu, not anything resembling observability or security tooling. If we'd published that finding under the vendor's name, the story would have been the mislabel, not the security posture.

Before any named-vendor publication, we re-verify the server actually belongs to the vendor via serverInfo.name, websiteUrl, and corroborating signals. Anything still ambiguous stays on the public leaderboard under the host slug, but doesn't get named-callout attention.

For specific operators with real criticals, we send private notice first with a 90-day disclosure window. Standard security research practice. The current outreach is small and manual. Scaling that pipeline is Q1 2027 work.

what we're working on next

Current checks are mostly metadata-tier: they read what the server advertises and compare against spec requirements. That catches a lot. The 4,998 D/F bucket is real. But it misses behaviors where the server advertises correctly and misbehaves at runtime, or advertises conservatively and actually enforces strictly.

Moving to behavioral-tier checks is the Q1 priority. First target: HEADERS-001 upgrades from presence-only to value-validation (X-Frame-Options: ALLOWALL currently passes the presence check, should fail because the value is broken). The same pattern applies to RESOURCE-001 (schema + authorization-server reachability), PKCE-001 (actual enforcement test, not just metadata), and AUTH-001 (behavioral verification with side-effect safeguards for destructive tools).

Depth comes before pressure. We're not running a shaming operation.

comparison to adjacent ecosystems

If you've been in API security for a while, the current MCP state looks like REST APIs circa 2015: the spec exists, early adopters implement it correctly, the long tail ships shortcuts that look fine until a scanner probes them. API security hardened over 5-8 years driven by compliance frameworks (SOC2, PCI) and public breaches.

MCP doesn't have either of those triggers yet. The public leaderboard was intended as a technical tool; it's becoming closer to the public scoreboard that eventually drove API compliance. Operators who show up at grade F start fixing within 1-2 weeks, without any legal or compliance pressure. Public visibility is doing the work.

what's shipping

  • Hosted v1, January 1, 2027. Scheduled rescans, drift alerts, grade history per endpoint, private-MCP scanning for teams who don't want their endpoints on a public leaderboard. Founding-100 plan: $149/year, limited to the first 100 teams.
  • HEADERS-001 depth upgrade, this week. Per-header value-validation, not just presence.
  • Coordinated disclosure pipeline, Q1 2027. Automated 30/60/90-day disclosure clock for operators we've notified, with public write-ups for non-responders after the window expires.

scan your own server

npx -y @patchbay-nebius/agent audit https://your-server.example.com

Or paste a URL at patchbay-mcp.dev/audit for the browser version. The CLI is MIT-licensed, runs locally, no telemetry.

GitHub Action for CI integration:

- uses: patchbay-security/patchbay-audit@v1
  with:
    url: https://your-mcp-server.example.com
    fail-on-grade: C

Methodology page with per-check specifications: patchbay-mcp.dev/docs.

Questions, corrections, or methodology disagreements go to sarah@patchbay-mcp.dev. If I got something wrong about the check logic or a finding or a classification, I want to know before someone else notices.


Changelog for this post: 2026-11-27 published. Cohort size 6,225 (prior draft had 6,348 before the reachability-check tightening dropped 452 non-MCP hosts).