MCP Tree Explorer
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Tree Explorershow me the directory tree of this project ignoring node_modules"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Tree Explorer
A lightweight MCP tool for directory tree visualization in Cursor.
Features
Visualize directory structures with the
treecommandSmart filtering of common large directories (node_modules, .git, etc.)
Customizable ignore and keep patterns
Automatic installation of the
treecommand if not availableWorks on Windows, macOS, and Linux
Related MCP server: Cursor MCP Installer
Installation
# Using pip
pip install mcp-tree-explorer
# Using uv
uv pip install mcp-tree-explorerUsage with Cursor
Configure Cursor to use this tool by editing your Cursor configuration file:
{
"tools": {
"mcp-tree-explorer": {
"command": "mcp-tree-explorer"
}
}
}Tool Parameters
The project_tree tool accepts these parameters:
directory: The directory to examine (default: current directory)depth: Maximum depth of the tree (optional, unlimited if not specified)ignore: Additional patterns to ignore, comma-separated (optional)keep: Patterns to keep even if they match auto-ignore patterns, comma-separated (optional)
Example usage in Cursor:
"Show me the directory structure of this project"
"Run tree in the src directory but include node_modules"
"Show me a tree of the project, ignoring test files but keeping the dist folder"
Development
# Clone the repository
git clone https://github.com/yourusername/mcp-tree-explorer.git
cd mcp-tree-explorer
# Install in development mode
uv pip install -e .License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceAn MCP server that provides detailed information about your development environment to the Cursor code editor, enabling more context-aware assistance.7MIT
- AlicenseAqualityCmaintenanceA Model Context Protocol (MCP) server for Cursor IDE that simplifies the installation and configuration of other MCP servers.31177MIT
- Alicense-qualityCmaintenanceAn MCP server that provides a flexible lens into directory structures and files, enabling LLM clients to efficiently navigate and understand codebases with minimal noise. It offers secure, gitignore-aware file access with tools like directory listing, file reading, and grep-like search.1MIT
- Alicense-qualityDmaintenanceAn MCP server that provides file and directory tools for LLMs, including project structure analysis, file reading, and project context resources, with support for .gitignore patterns.MIT
Related MCP Connectors
Hosted MCP memory: save sessions/decisions once, search from Claude, Cursor, ChatGPT. EU-hosted FTS.
Token-efficient MCP memory for Markdown vaults. Tiered search, GraphRAG, AI memories.
A MCP server built for developers enabling Git based project management with project and personal…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/carterlasalle/directory_structure_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server