Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.186 ·

ReadMcpResourceDirTool — List MCP Directory Resources

Entry
JSON All of v2.1.186
EntryKind: in v2.1.186,
New FeaturesSection of the release

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.

See this entry in the whole of v2.1.186 →

Feedback