Skip to main content
Glama

MCP Filesystem Server

by A-Niranjan

read_multiple_files

Read contents of multiple files simultaneously for analysis or comparison, returning each file's content with its path. Processes allowed directories only, allowing individual read failures without halting the operation.

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/A-Niranjan/mcp-filesystem'

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