Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.247 Home All releases olderv2.1.246 v2.1.248newer
Claude Code v2.1.247

claude mcp serve has a result-format parameter wired but no way to set it

Not switched on
Useful1 Signal3
MCP

The MCP server can take a result format, but the only caller hardcodes raw.

claude mcp serve accepts a result-format option that is passed the literal string raw and appears nowhere else.

What

The MCP server entry point now takes a result format and passes one down to the server it starts, laying the groundwork for output other than raw. In this build the value is hardcoded: the only caller passes the literal string "raw", and the name appears exactly once in the whole bundle, at the point where it is unpacked from the options object. Running claude mcp serve behaves exactly as before.

Details
  • The server is invoked with "raw" as a fixed fifth argument, so the parameter the entry point accepts is never actually consulted.
  • A local variable holding the result format, defaulted to "raw", is declared and then never read.
  • No command-line flag, environment variable or settings key exposes the option, so no caller can supply a value other than the default.
  • Nothing in the build handles a non-raw format yet, so this is groundwork only rather than a switched-off feature you could turn on.
Evidence

await f(l, c ?? !1, e ?? !1, s, "raw");, resultFormat

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.247 →