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
Name | Required | Description | Default |
---|---|---|---|
isUrl | No | ||
path | Yes |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from Claude Kali MCP Commander
Related Tools
- @house-of-stark/Claude-Kali-MCP-Commander
- @gerred/mcp-server-replicate
- @Wayazi/mcp_file_system
- @wonderwhy-er/DesktopCommanderMCP
- @skydeckai/mcp-server-aidd
- @ezyang/codemcp