Skip to main content
Glama

Enhanced Directory Context MCP Server

by PWalaGov

get_directory_structure

Generate and retrieve a detailed directory structure including file metadata, with options to specify maximum depth, include hidden files, and filter by file extensions. Ideal for analyzing and managing project structures effectively.

Instructions

Get the complete directory structure with file metadata

Input Schema

NameRequiredDescriptionDefault
file_typesNoFilter by file extensions (e.g., [".js", ".py", ".md"])
include_hiddenNoInclude hidden files and directories
max_depthNoMaximum depth to traverse (default: 10)

Input Schema (JSON Schema)

{ "properties": { "file_types": { "description": "Filter by file extensions (e.g., [\".js\", \".py\", \".md\"])", "items": { "type": "string" }, "type": "array" }, "include_hidden": { "default": false, "description": "Include hidden files and directories", "type": "boolean" }, "max_depth": { "default": 10, "description": "Maximum depth to traverse (default: 10)", "type": "number" } }, "type": "object" }

Other Tools from Enhanced Directory Context MCP Server

Related Tools

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/PWalaGov/File-Control-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server