{"version":"2.1.186","anchor":"readmcpresourcedirtool-list-mcp-directory-resources","canonical_anchor":"readmcpresourcedirtool-list-mcp-directory-resources","heading":"ReadMcpResourceDirTool \u2014 List MCP Directory Resources","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.186\/e\/readmcpresourcedirtool-list-mcp-directory-resources","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.186","markdown":"### ReadMcpResourceDirTool \u2014 List MCP Directory Resources\n\nA 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.\n\n**Details**\n\n- Parameters: `server` (MCP server name) and `uri` (directory resource URI).\n- Only usable against servers that have declared support for directory listing; other servers return a clear error message.\n- Subdirectories appear with `mimeType` set to the directory sentinel type; use the returned `uri` to descend into them.\n- If the URI is not a directory resource, the tool returns a descriptive error and suggests using `ReadMcpResourceTool` for file resources instead.\n- The result is always non-recursive (one level at a time). Use multiple calls to descend.\n- Empty directories return `\"Directory is empty.\"`.\n\n**Evidence**\n\nFull tool definition added in new version (search for `\"list the children of an MCP directory resource\"` and `\"resources\/directory\/read returned\"`)"}