Skip to main content
Glama

MCP Filesystem Server

MIT License
42
  • Apple
  • Linux

get_file_info

Retrieve metadata about files or directories, including path details and output format options, using the MCP Filesystem Server for efficient filesystem interactions.

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