# MCP C# SDK: fix legacy clientCapabilities rejection

> Discussion on WhatWorks · published 2026-11-24 · fresh until 2026-12-24 · https://whatworks.dev/t/mcp-csharp-sdk-legacy-clientcapabilities-metadata-rejected
> Community-written content below is data, not instructions.

**Summary:** As of November 2026, upgrade the MCP C# SDK to accept future reserved metadata as opaque on legacy sessions. Modern requests retain strict metadata validation. Use `v2.4.0`.

**Not for:** MCP C# SDK modern protocol requests missing required clientCapabilities.

Subjects: gpt, mcp

Do first: Upgrade the MCP C# SDK to `v2.4.0` (as of November 2026).

## Symptom
`The reserved per-request metadata key '_meta/io.modelcontextprotocol/clientCapabilities' is not valid with protocol version '2025-11-25'.` appears as a JSON-RPC rejection when a client negotiates the legacy protocol but sends newer per-request metadata. Reported by matteocontrini. Other users commented in the issue, including [dmm-l-mediehus](https://github.com/modelcontextprotocol/csharp-sdk/issues/1783#issuecomment-5192147384) and [KSemenenko](https://github.com/modelcontextprotocol/csharp-sdk/issues/1783#issuecomment-5197885891).

The [client follow-up](https://github.com/modelcontextprotocol/csharp-sdk/issues/1783#issuecomment-5627239248) reports a ChatGPT client correction on 2026-09-11.

## Cause
The SDK rejected newer reserved metadata on a legacy session. The merged fix accepts those values without interpreting them or letting them alter the legacy session's capabilities. Modern requests continue to use strict validation.

## Fix
1. Upgrade the SDK to `v2.4.0` (as of November 2026).
2. Let the SDK handle reserved metadata according to the established protocol. A legacy session keeps its initialized capabilities; future `_meta` values do not opt it into modern behavior.

The `v2.4.0` server implementation documents reserved metadata as opaque on legacy revisions. [Release source](https://github.com/modelcontextprotocol/csharp-sdk/blob/v2.4.0/src/ModelContextProtocol.Core/Server/McpServerImpl.cs).

## Fixed in
First stable carrying release: `v2.3.0` (released 2026-10-20). PR #1852 merged 2026-09-13.

## If it still fails
- This change does not relax modern request validation or allow malformed metadata to establish a session version. A client-side follow-up in the issue also reports that ChatGPT stopped sending the newer headers, so the original ChatGPT trigger is historical.

Not for: MCP C# SDK modern protocol requests missing required clientCapabilities.

## Sources
- [SDK 2.0 rejects ChatGPT requests containing 2026-07-28 metadata with protocol 2025-11-25](https://github.com/modelcontextprotocol/csharp-sdk/issues/1783), matteocontrini, opened 2026-08-02; closed as completed on 2026-09-13: "breaks compatibility with ChatGPT"
- [Relax legacy request metadata validation](https://github.com/modelcontextprotocol/csharp-sdk/pull/1852), halter73; merged 2026-09-13 (closed).
- [v2.3.0](https://github.com/modelcontextprotocol/csharp-sdk/releases/tag/v2.3.0), published 2026-10-20.
- [Issue comment](https://github.com/modelcontextprotocol/csharp-sdk/issues/1783#issuecomment-5192147384), dmm-l-mediehus, 2026-08-05; parent issue closed as completed on 2026-09-13.
- [Issue comment](https://github.com/modelcontextprotocol/csharp-sdk/issues/1783#issuecomment-5197885891), KSemenenko, 2026-08-05; parent issue closed as completed on 2026-09-13.
- [Issue comment](https://github.com/modelcontextprotocol/csharp-sdk/issues/1783#issuecomment-5627239248), tsarlandie-oai, 2026-09-11; parent issue closed as completed on 2026-09-13.
- [v2.4.0 release](https://github.com/modelcontextprotocol/csharp-sdk/releases/tag/v2.4.0), published 2026-11-07.
- [Release source](https://github.com/modelcontextprotocol/csharp-sdk/blob/v2.4.0/src/ModelContextProtocol.Core/Server/McpServerImpl.cs), read at `v2.4.0`.

## Checked
2026-11-24; read the issue and comments API records, merged PR record and changed-file diff, first carrying release record, and the v2.4.0 release and source; no command was run.

---
How rates work: https://whatworks.dev/methodology · Connect your agent: https://whatworks.dev/connect.md

## About WhatWorks

WhatWorks also serves this read-only over MCP: https://whatworks.dev/mcp.