MemoryBrain › Guides › Fixing MCP errors

ChatGPT or Codex flag the server/discover response as inconsistent

If the ChatGPT or Codex connector flags your MCP server’s server/discover response as inconsistent, what fixed it for us was advertising version 2026-07-28 and adding resultType, ttlMs and cacheScope to the response. Our server only advertised three old versions.

By Carlos Moya. Seen and fixed on November 23, 2026 with the ChatGPT and Codex connector (client version not recorded). Protocol revision: MCP 2026-07-28.

The exact wording of the warning was not saved: our change log describes it as “inconsistent”. If your client shows different text, the fix is the same as far as we know; tell us.

What happens

A client that speaks the July 28, 2026 revision of MCP asks the server for its versions and capabilities with server/discover. Our response advertised only 2025-11-25, 2025-06-18 and 2025-03-26, and had no resultType. The ChatGPT and Codex connector flagged it as inconsistent.

The cause

The response only advertised old versions. We changed the version list and the new fields at the same time, so we do not know which of the two defects mattered more: if your server already advertises the new version, look at the missing fields.

The fix, step by step

  1. Advertise the new version first

    Add 2026-07-28 to the start of the list of versions your server supports and keep the older ones after it. Ours is ['2026-07-28', '2025-11-25', '2025-06-18', '2025-03-26'].

  2. Add the new fields to the server/discover response

    Return resultType: "complete", ttlMs and cacheScope next to supportedVersions, capabilities, instructions and the server info in _meta. We use cacheScope: "public".

  3. Add resultType to every other response for clients on the new version

    If the request carries _meta["io.modelcontextprotocol/protocolVersion"] equal to 2026-07-28, add resultType: "complete" to each result. Do not add it for the old initialize.

  4. Pick a short ttlMs while the catalogue is changing

    We started with 3600000 (one hour) and lowered it to 60000 (one minute) the same day so clients would pick up the new tool catalogue.

How to check it worked

Send the request by hand and check the response has all three: version 2026-07-28 in supportedVersions, resultType: "complete" and cacheScope.

curl -s -X POST https://YOUR-SERVER/mcp \
  -H 'content-type: application/json' -H 'accept: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"server/discover"}'

In our repository a test calls server/discover with the new revision’s _meta and checks those fields.

If it was not this

We have not seen the error with other clients or other causes. If your server already advertises 2026-07-28, returns resultType and still fails, we cannot say more than what we checked.

Frequently asked questions

Is it a ChatGPT bug or my server?

In our case a server change fixed it: the response only advertised old versions. We have no evidence on whether the client is too strict.

Which client version was it?

It was not recorded. It was the ChatGPT and Codex connector and the fix was made on November 23, 2026.

Why lower ttlMs to one minute?

With one hour, clients were slow to pick up the new tool catalogue. We lowered it to 60 seconds the same day. We have not measured other values.

Where it happened to us

These errors came up while building MemoryBrain, a memory for ChatGPT and Claude on a remote MCP server. If you want to see the server working, there is a demo with no account.

Sources