Skip to main content
Glama

list_project_files

Search and retrieve project files using glob patterns to locate specific file types or directories within your Python project structure.

Instructions

List project files matching pattern, relative to project root.

Args: pattern: Glob pattern (*.py, src/**, etc.) max_depth: Maximum directory depth to search exclude_patterns: Comma-separated patterns to exclude

Returns: [relative_path, ...] sorted alphabetically

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
patternNo*.py
max_depthNo
exclude_patternsNo.git,__pycache__,node_modules,.venv,venv

Latest Blog Posts

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/ptmorris05/scalene-mcp'

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