Skip to main content
Glama

MCP Filesystem Server

MIT License
47
  • Apple
  • Linux

get_file_info

Retrieve and format metadata for files or directories by providing the path and desired output format. Supports text or JSON outputs for efficient information extraction.

Instructions

Retrieve detailed metadata about a file or directory.

Args: path: Path to the file or directory format: Output format ('text' or 'json') ctx: MCP context Returns: Formatted file information

Input Schema

NameRequiredDescriptionDefault
formatNotext
pathYes

Input Schema (JSON Schema)

{ "properties": { "format": { "default": "text", "title": "Format", "type": "string" }, "path": { "title": "Path", "type": "string" } }, "required": [ "path" ], "title": "get_file_infoArguments", "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/safurrier/mcp-filesystem'

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