Skip to main content
Glama

Enhanced Directory Context MCP Server

by PWalaGov

get_file_contents

Retrieve contents of specified files using a predefined encoding, enabling efficient file data extraction and analysis.

Instructions

Read contents of specific files

Input Schema

NameRequiredDescriptionDefault
encodingNoFile encoding (default: utf8)utf8
filesYesArray of file paths to read

Input Schema (JSON Schema)

{ "properties": { "encoding": { "default": "utf8", "description": "File encoding (default: utf8)", "type": "string" }, "files": { "description": "Array of file paths to read", "items": { "type": "string" }, "type": "array" } }, "required": [ "files" ], "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/PWalaGov/File-Control-MCP'

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