Skip to main content
Glama

MCP Filesystem Server

MIT License
35
7
  • Linux
  • Apple

read_multiple_files

Simultaneously read contents of multiple files for efficient analysis or comparison. Returns each file's content with its path, continues operation even if individual files fail to read, and operates within allowed directories.

Instructions

Read the contents of multiple files simultaneously. This is more efficient than reading files one by one when you need to analyze or compare multiple files. Each file's content is returned with its path as a reference. Failed reads for individual files won't stop the entire operation. Only works within allowed directories.

Input Schema

NameRequiredDescriptionDefault
encodingNoFile encodingutf-8
pathsYesList of file paths to read

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "encoding": { "default": "utf-8", "description": "File encoding", "enum": [ "utf-8", "utf8", "base64" ], "type": "string" }, "paths": { "description": "List of file paths to read", "items": { "type": "string" }, "type": "array" } }, "required": [ "paths" ], "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/gabrielmaialva33/mcp-filesystem'

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