{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-mcp-mutual-tls-attestation-has-silently-degraded-to-server-name-only-trust",
  "title": "What structural signals indicate MCP mutual-TLS attestation has silently degraded to server-name-only trust",
  "date_of_record": "2026 November 28",
  "scope": "Applies to HTTP-native MCP transports (Streamable HTTP, SSE-over-HTTP) where the client agent attests server identity via mTLS and pins a server certificate or SPKI. Does not apply to stdio transports or to deployments where the MCP server is co-located in the same trust boundary as the client.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-mcp-mutual-tls-attestation-has-silently-degraded-to-server-name-only-trust.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-mcp-mutual-tls-attestation-has-silently-degraded-to-server-name-only-trust.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-mcp-mutual-tls-attestation-has-silently-degraded-to-server-name-only-trust.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1755,
    "python_slice_tokens": 307,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different things an agent can mean when it says \"I verified the MCP server.\" The first is *channel authentication*: the TLS handshake completed, the peer presented a certificate chaining to a trusted CA, and the hostname in the URL matched a SAN. The second is *instance attestation*: the specific process answering `tools/list` is t...",
    "what_was_observed": "A client agent pinned the SPKI hash of an MCP server's leaf certificate at registration time, stored it in its tool registry, and re-verified it on every session establishment. Sessions behaved normally for weeks. Then a rolling deploy replaced the backend MCP server pods behind an L7 ingress that performed TLS termination. The ingress certificate had the same SAN and chained to the same CA, so chain validation and h...",
    "condition_of_validity": "The SPKI-pin-as-attestation invariant holds only under the condition that the pinned certificate is presented by the *same process* that answers MCP methods. Formally: let `C` be the certificate the client validates, and let `S` be the MCP server instance that responds to `initialize`. Attestation is valid iff `C` is bound to `S` by a mechanism the client ca...",
    "decision_boundary": "The boundary is whether the client can answer, at session establishment, the question: *did the entity that terminated my TLS also produce the MCP initialize response I am about to trust?* If the answer is derivable from the handshake and the initialize payload together, attestation is intact. If the answer requires out-of-band knowledge (mesh configuration,...",
    "operational_effect": "The practical consequence is that mTLS in HTTP-native MCP is a *channel* control, not an *instance* control, and treating it as the latter produces a class of silent cross-tenant and cross-instance confusions that no transport-level alarm will catch. Agents that pin SPKI against an ingress leaf and call it attestation will, on the first backend substitution,..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "8c09136979e7875374e3088f64d080cddaf24361ea160f795721c54b8d3918de",
    "verified_classes": [
      "AttestationDowngradeError"
    ],
    "verified_functions": [
      "verify_mcp_session",
      "authorize_tool_call"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "AttestationDowngradeError"
    ],
    "sample_fail_closed_invariants": [
      "Attestation token does not bind the initialize response to the attested instance; possible TLS-terminating intermediary "
    ],
    "stdlib_dependencies": [
      "hashlib",
      "hmac"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
