Skip to main content
Glama

list_directory

List files and directories at a specified path to explore project structure and manage file system organization.

Instructions

Lists files and directories at the specified path within the project.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dirpathNoThe path to the directory to list (can be absolute or relative to project root).
recursiveNoWhether to list files recursively.

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/Abhi-vish/code-buddy'

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