Post quantum TLS for remote MCP servers

Published 5 Dec 2026 · Updated 5 Dec 2026 · By Editorial desk

A remote MCP server has post quantum TLS when the TLS 1.3 handshake between the MCP client and your Streamable HTTP endpoint settles on the hybrid group X25519MLKEM768. Force that group with openssl s_client against the endpoint: if the output says Negotiated TLS1.3 group: X25519MLKEM768, tool calls, tool results and bearer tokens on that connection are protected against traffic recorded today and decrypted later. The certificate that proves the server's identity, and the signature on any JWT access token, still use RSA or elliptic curves, and that half is the one with deadlines.

What the client and the server agree on

Every Streamable HTTP message is an HTTPS request, and the MCP authorization spec requires the client to send Authorization: Bearer <token> on every one of them, not only the first. Whatever the handshake protects, it protects for each tool call.

In TLS 1.3 the client opens with the key exchange groups it supports and a key share for the one it expects the server to pick. RFC 10024 defines three hybrid groups that pair a classical curve with ML-KEM, the key encapsulation method NIST published as FIPS 203 in August 2024:

Group Classical half Post-quantum half
X25519MLKEM768 X25519 ML-KEM-768
SecP256r1MLKEM768 P-256 ML-KEM-768
SecP384r1MLKEM1024 P-384 ML-KEM-1024

X25519MLKEM768 is the group Chrome has used since version 131 and the one to test for. Its client share is 1,216 bytes (1,184 for ML-KEM, 32 for X25519), where plain X25519 needs 32. If either side lacks the group, the handshake drops to a classical one and the connection still works. MCP clients do not normally warn when that happens.

The client half of the negotiation is whatever TLS library the MCP client is built on, so each client brings its own answer:

  • Go: crypto/tls enables X25519MLKEM768 by default from Go 1.24 when CurvePreferences is left empty.
  • Python: the ssl module uses the OpenSSL it was built with, and ML-KEM groups arrived in OpenSSL 3.5. Check with python3 -c "import ssl; print(ssl.OPENSSL_VERSION)".
  • Node.js: node -p process.versions.openssl answers the same question for Node clients.

Map the hops before you test

A remote MCP setup opens more TLS sessions than the one URL in your client config. List them first. This is the inventory step that the NSA's December 2026 advisory puts first among its six actions.

Hop Where the TLS session ends What decides post-quantum
MCP client to your public endpoint CDN, platform edge or reverse proxy Client library and edge
Edge to origin Your origin web server Edge origin settings and your TLS build
Client to the authorization server Your identity provider The provider
User's browser to the sign-in page Your identity provider The browser and the provider
MCP server to upstream APIs The upstream vendor Your server runtime and the vendor

The last row is easy to miss. The spec forbids token passthrough, so when your server calls an upstream API it uses a separate token from that API's own authorization server, over outbound TLS from your runtime.

Test an MCP endpoint in two commands

Use OpenSSL 3.5 or later on the machine you test from (openssl version tells you).

# 1. Does the endpoint accept the hybrid group?
openssl s_client -connect mcp.example.com:443 -servername mcp.example.com \
  -groups X25519MLKEM768 </dev/null 2>&1 | grep Negotiated

Negotiated TLS1.3 group: X25519MLKEM768 is a pass. A handshake failure means the endpoint offers only classical groups. To see what a client gets when it offers both, pass -groups X25519MLKEM768:X25519.

# 2. Which keys sit in the certificate chain?
openssl s_client -connect mcp.example.com:443 -servername mcp.example.com \
  </dev/null 2>/dev/null | grep "a:PKEY"

The first line is the leaf certificate and every later line is a CA certificate. A CA line that reads prime256v1 puts the chain in scope of the Chrome change covered below. For a browser view, open the server URL in Chrome and look at DevTools, Security panel: the connection details name the key exchange. Cloudflare Radar's post-quantum page also tests a hostname for you.

Run test 1 again against the authorization server and against every upstream API host from the table.

Hosting on Cloudflare, Vercel or your own nginx

Cloudflare. Post-quantum key agreement has been the default on visitor connections to Cloudflare since 2022, and Cloudflare reported on 3 December 2026 that 73% of human connections to its network were post-quantum encrypted. That share measures browsers. Your MCP endpoint's share depends on the client libraries that call it, and the Cloudflare dashboard shows it per domain. Connections from Cloudflare to an origin support post-quantum encryption, and for an origin that is not ready Cloudflare points to Cloudflare Tunnel, which carries that leg over post-quantum encryption.

Vercel. Vercel says inbound connections have offered X25519MLKEM768 by default since 7 November 2025. Outbound calls from your functions depend on the runtime and the destination: all supported Node.js versions on Vercel support the group, and Vercel says it is updating the Python runtime. An MCP server written in Python on Vercel may make classical calls to its upstream APIs until that update reaches it. Vercel's certificates use RSA-2048 keys today and move to ECDSA P-384 as they renew.

Self-hosted nginx. nginx gets its groups from the OpenSSL it was built against, so check nginx -V for 3.5 or later. With the default ssl_ecdh_curve auto, nginx uses OpenSSL's built-in list, and in OpenSSL 3.5 that list includes X25519MLKEM768 as a predicted key share. To set the order yourself:

ssl_protocols TLSv1.2 TLSv1.3;
ssl_ecdh_curve X25519MLKEM768:X25519:prime256v1:secp384r1;

The hybrid groups are defined for TLS 1.3 only. A client that connects with TLS 1.2 stays classical whatever the server offers.

One failure shows up in practice. The hybrid key share makes the ClientHello larger, and the OpenSSL documentation warns that some firewalls break handshakes that no longer fit in a single TCP segment. Go even ships GODEBUG=tlsmlkem=0 for clients that meet such a server. If a single client starts timing out after you enable the group, look at the network path before you debug the MCP server.

OAuth tokens and signatures stay classical

Post quantum TLS covers secrecy on the wire. It changes nothing about what your server signs or verifies:

  • The TLS certificate. It proves the endpoint is yours with an RSA or ECDSA signature. Publicly trusted post-quantum certificates do not exist yet; Cloudflare plans to issue its first Merkle Tree Certificates in early 2027.
  • JWT access tokens. RFC 9068, the JWT access token profile, requires servers to support RS256. Your MCP server checks each token's signature and audience against keys from the authorization server's key set.
  • Refresh tokens and API keys. These are secrets, not signatures. If a recorded session is decrypted years from now, its access token will have expired, since the MCP spec tells authorization servers to issue short-lived ones. A long-lived API key sent as a header may still work, so rotate those.

Plan the token side for agility. Pick verification keys by kid from the key set and keep the list of accepted algorithms in configuration, so the issuer can add ML-DSA (FIPS 204) without a release of your server. Cloudflare says its customer-facing interfaces will support post-quantum JWTs by Q2 2027, and Vercel says it is moving the OIDC tokens it issues to algorithms such as ML-DSA.

The certificate date that reaches MCP servers

From 00:00 UTC on 15 March 2027, Chrome 164 and later will block TLS certificates whose chain includes any CA certificate with an ECDSA P-256 key. Leaf certificates with P-256 keys are not affected for now. Most MCP traffic never passes through Chrome, because client libraries carry their own trust stores. The OAuth consent step does: the client opens a browser tab for the user to approve access. If your authorization server's chain carries a P-256 CA, sign-in fails in Chrome while tool calls keep working, which makes for a confusing bug report. CAs have been told to issue from P-384 or RSA 3072-bit chains. P-384 is a stopgap for this rule, not a post-quantum algorithm.

Dates to plan around

Date What happens
13 August 2024 NIST publishes FIPS 203, 204 and 205 (ML-KEM, ML-DSA, SLH-DSA)
Chrome 131 Chrome moves its hybrid key exchange from Kyber to ML-KEM
December 2026 NSA advisory lists six immediate actions, including hybrid TLS 1.3 settings
2 December 2026 Amazon, Anthropic, Apple, Cloudflare, Google, Meta, Microsoft, OpenAI and Oracle back moving to NIST algorithms as soon as possible
15 March 2027 Chrome blocks chains that include a P-256 CA key
2027 Cloudflare targets full post-quantum coverage of its products
2030 and 2035 NIST IR 8547 (final, October 2026): quantum-vulnerable public-key algorithms deprecated after 2030, disallowed after 2035

How urgent is it?

The joint statement from ONCD, NSA and CISA says recently disclosed advances do not present an immediate and widespread threat to the cryptography in use. Anthropic's published lattice papers are theoretical, and the statement on them still recommends ML-KEM and ML-DSA. Nobody has shown RSA-2048 or P-256 broken. The reason to act on an MCP endpoint now is recorded traffic: tool results sent this week can be stored and read later, and the fix on the transport side is usually a TLS library upgrade plus one config line.

Next step

Before you add a remote server to a client config, run test 1 against its URL. The Streamable HTTP MCP servers list shows which servers you can reach over HTTPS at all, and the MCP servers with OAuth list shows the ones whose sign-in page will open in a browser. If you are still choosing a transport, stdio vs Streamable HTTP covers the trade-offs, and the security MCP servers group lists tools that audit the rest. Rankings on this site do not score TLS settings; how listings are scored is on the methodology page.

Guides