File Operations MCP Server

read_file

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" }