Tree Explorer
STDIOA lightweight MCP tool for directory tree visualization in Cursor.
A lightweight MCP tool for directory tree visualization in Cursor.
A lightweight MCP tool for directory tree visualization in Cursor.
tree
commandtree
command if not available# Using pip pip install mcp-tree-explorer # Using uv uv pip install mcp-tree-explorer
Configure Cursor to use this tool by editing your Cursor configuration file:
{ "tools": { "mcp-tree-explorer": { "command": "mcp-tree-explorer" } } }
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:
# 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 .
MIT