Skip to main content
Glama

File Operations MCP Server

by bsmi021

read_file

Extract the contents of a file from a specified path using customizable encoding options. Ideal for accessing and processing file data efficiently.

Instructions

Read the contents of a file

Input Schema

NameRequiredDescriptionDefault
encodingNoFile encoding (default: utf8)utf8
pathYesPath to the file to read

Input Schema (JSON Schema)

{ "properties": { "encoding": { "default": "utf8", "description": "File encoding (default: utf8)", "type": "string" }, "path": { "description": "Path to the file to read", "type": "string" } }, "required": [ "path" ], "type": "object" }

You must be authenticated.

Other Tools from File Operations MCP Server

Related Tools

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/bsmi021/mcp-file-operations-server'

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