Description

Generate and visualize directory structures as tree diagrams. Perfect for understanding project layouts.

Installation

npx -y filesystem-tree-mcp
npm install filesystem-tree-mcp
git clone https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem-tree-mcp

Claude Desktop Configuration

Add this configuration to your Claude Desktop config file to enable this MCP server:

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json

Config file location: %APPDATA%\Claude\claude_desktop_config.json

Config file location: ~/.config/Claude/claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "filesystem-tree-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "filesystem-tree-mcp"
      ]
    }
  }
}