Skip to main content
Glama

Enhanced Directory Context MCP Server

by PWalaGov

get_directory_structure

Retrieve and analyze directory structures with file metadata, customizable by depth, hidden files, and file extensions for efficient project exploration and management.

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" }

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