Skip to main content
Glama

MCP Complete Implementation Guide

by saksham0712

list_directory

Lists the contents of a specified directory path to view files and subdirectories within a file system.

Instructions

List the contents of a directory

Input Schema

NameRequiredDescriptionDefault
pathYesThe path to the directory to list

Input Schema (JSON Schema)

{ "properties": { "path": { "description": "The path to the directory to list", "type": "string" } }, "required": [ "path" ], "type": "object" }

Other Tools from MCP Complete Implementation Guide

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/saksham0712/MCP'

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