Unclear It is not clear what the new encoding option changes for a given server.
What
The code that sends MCP requests over HTTP takes a new refusesCodings option. MCP servers are outside programs that give Claude extra tools. When the option is set and a response has any Content-Encoding, meaning it arrives compressed or otherwise encoded, Claude Code cancels it unread and raises an error. The error says the server sent a response with a Content-Encoding, and that Claude Code reads none from a tool container. Before, only the br and zstd encodings were refused.
Related changes in the same code:
- The connect function takes an extra argument, which it passes to the proxy and sign-in wrappers.
- Processing of MCP tool schemas now waits on a helper that works in batches.
Why
This is a hardening step for MCP servers running in tool containers. A server that compresses its replies will now fail to connect instead of being read.
It is not clear what the new encoding option changes for a given server.