Skip to main content
Glama

Unrestricted Development MCP Server

fs_read_file

Read file contents from the filesystem to access text or binary data for development tasks. Supports UTF-8, binary, and base64 encoding formats.

Instructions

Read the contents of a file from the filesystem. Supports text and binary files.

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute or relative path to the file to read
encodingNoFile encodingutf8

Input Schema (JSON Schema)

{ "properties": { "encoding": { "default": "utf8", "description": "File encoding", "enum": [ "utf8", "binary", "base64" ], "type": "string" }, "path": { "description": "Absolute or relative path to the file to read", "type": "string" } }, "required": [ "path" ], "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/ConnorBoetig-dev/mcp2'

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