Ui/update-model-context rejected with -32601 (Method not found) on ChatGPT mobile

Hi all, we run a public ChatGPT app built on MCP Apps (@modelcontextprotocol/ext-apps 1.3.1). Our widget calls app.updateModelContext to tell the model what is on screen after the user filters or re-runs a search.

On ChatGPT mobile, a small share of these calls (about 5% of mobile calls, 2026-10-13 to 10-27) are rejected by the host with JSON-RPC error -32601 (Method not found). The rejection comes back almost immediately, within a second. We saw no rejections with this code on web or desktop.

What we send is a single text block, the same shape as the SDK’s own example:

await app.updateModelContext({ content: [{ type: "text", text: "..." }] });

Because the code is -32601 and not -32602 (Invalid params), it looks like some mobile clients do not implement ui/update-model-context at all, not that they reject our payload. We do not log McpUiHostCapabilities.updateModelContext, so we cannot tell whether those clients advertise the capability and reject the request anyway.

Questions:

  1. Is ui/update-model-context expected to be unsupported on some ChatGPT mobile versions?
  2. If so, should apps check getHostCapabilities().updateModelContext before calling it, and will the mobile host leave that field out when it does not support the method?

Related threads in this category, which report a different symptom (a success response but no effect): “Ui/update-model-context ACKs but follow-up turns use stale or missing app context” and “MCP App updateModelContext silently dropped for live-rendered iframes (works after page refresh)”.

Thanks!

Hi there.

Yes, you should gate on this capability.

The MCP Apps spec and SDK types define updateModelContext as a host capability that the host advertises in its capabilities when it accepts ui/update-model-context.

The ext-apps SDK doesn’t do this check for you. updateModelContext in src/app.ts sends the request straight away (in 1.3.1 assertCapabilityForMethod is an empty TODO; in current main it only guards sampling/createMessage). So an unsupported host just answers with an error.

The error code -32601 is JSON-RPC “Method not found”, so that host did not register a handler for the method. If a host does not want to do the context update, the spec’s example error for a denied update is -32000.

So my guess would be that there are some versions of mobile clients that don’t implement this capability yet. This is not documented in the spec though.

const hasCapability = app.getHostCapabilities()?.updateModelContext
if (hasCapability) {
  // call updateModelContext
} else {
  // either skip the call or keep the state in the tool result
}

Also, it’s a good idea to wrap the call in try/catch and log both the capability value and the client version. This will allow you to see if these 5% are exactly the clients that don’t have this capability.