Claude Kali MCP Commander

read_file

Read file contents from the file system or a URL using absolute paths. Supports text and image files (PNG, JPEG, GIF, WebP). Ideal for secure file viewing within allowed directories.

Instructions

Read the complete contents of a file from the file system or a URL. Prefer this over 'execute_command' with cat/type for viewing files. When reading from the file system, only works within allowed directories. Can fetch content from URLs when isUrl parameter is set to true. Handles text files normally and image files are returned as viewable images. Recognized image types: PNG, JPEG, GIF, WebP. IMPORTANT: Always use absolute paths (starting with '/' or drive letter like 'C:') for reliability. Relative paths may fail as they depend on the current working directory. Tilde paths (~/...) might not work in all contexts. Unless the user explicitly asks for relative paths, use absolute paths.

Input Schema

NameRequiredDescriptionDefault
isUrlNo
pathYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "isUrl": { "default": false, "type": "boolean" }, "path": { "type": "string" } }, "required": [ "path" ], "type": "object" }

You must be authenticated.

Other Tools from Claude Kali MCP Commander

Related Tools

ID: gf1wuhlxzi