{"version":"2.1.315","anchor":"mcp-directory-listing-tool-gets-a-permission-check","canonical_anchor":"mcp-directory-listing-tool-gets-a-permission-check","heading":"MCP directory listing now goes through a permission check","tier":"notice","area":"MCP","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.315\/e\/mcp-directory-listing-tool-gets-a-permission-check","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.315","markdown":"### MCP directory listing now goes through a permission check\n\nThe tool that lists directories from an MCP server now asks for permission or refuses, instead of only erroring when unavailable\n\n**Unclear.** What decides whether directory listing is switched on or off is not stated.\n\n**What**\n\nMCP (Model Context Protocol) is how Claude Code connects to outside tools and data sources, called servers. The tool that reads a directory listing from an MCP server now has its own permission check:\n\n- It can refuse, with the reason \"directory listing off\"\n\n- It can ask you first, with a prompt saying it requires permission\n\n- An always-allow rule does not cover it\n\n- A new check can refuse a listing before the server is contacted\n\nThe earlier error saying directory listing is not enabled in this build has been replaced by a shared message.\n\n**Why**\n\nListing an MCP server's directories may now stop and ask you instead of running without a prompt.\n\n- Area: MCP\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}