Skip to main content
Glama

MCP Filesystem Server

MIT License
44
  • Apple
  • Linux

read_multiple_files

Read and retrieve contents of multiple files simultaneously using specified file paths and encoding, returning a dictionary mapping each path to its content or error.

Instructions

Read multiple files at once.

Args: paths: List of file paths to read encoding: File encoding (default: utf-8) ctx: MCP context Returns: Dictionary mapping file paths to contents or error messages

Input Schema

NameRequiredDescriptionDefault
encodingNoutf-8
pathsYes

Input Schema (JSON Schema)

{ "properties": { "encoding": { "default": "utf-8", "title": "Encoding", "type": "string" }, "paths": { "items": { "type": "string" }, "title": "Paths", "type": "array" } }, "required": [ "paths" ], "title": "read_multiple_filesArguments", "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