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.186 Home All releases olderv2.1.185 v2.1.187newer
Claude Code v2.1.186

ReadMcpResourceDirTool — List MCP Directory Resources

A new built-in tool, ReadMcpResourceDirTool (also reachable as ReadMcpResourceDir), lists the direct children of a directory resource on an MCP server. This implements the SEP-2640 resources/directory/read protocol method.

Details
  • Parameters: server (MCP server name) and uri (directory resource URI).
  • Only usable against servers that have declared support for directory listing; other servers return a clear error message.
  • Subdirectories appear with mimeType set to the directory sentinel type; use the returned uri to descend into them.
  • If the URI is not a directory resource, the tool returns a descriptive error and suggests using ReadMcpResourceTool for file resources instead.
  • The result is always non-recursive (one level at a time). Use multiple calls to descend.
  • Empty directories return "Directory is empty.".
Evidence

Full tool definition added in new version (search for "list the children of an MCP directory resource" and "resources/directory/read returned")

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

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.186 →