Skip to main content
Glama

Filesystem MCP Server

by ai-yliu

list_directory

Retrieve directory contents with clear [FILE] or [DIR] prefixes by specifying the path, enabling structured file and folder listing within allowed filesystem paths.

Instructions

List directory contents with [FILE] or [DIR] prefixes

Input Schema

NameRequiredDescriptionDefault
pathYesPath to the directory to list

Input Schema (JSON Schema)

{ "properties": { "path": { "description": "Path to the directory to list", "type": "string" } }, "required": [ "path" ], "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/ai-yliu/filesystem-mcp-server'

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