server_file_list
List files and folders on a Docker host with type, mode, owner, size, date, and path to inspect directory contents and permissions before making server changes.
Instructions
List files and folders on the Docker host (type, mode, owner, size, date, path).
Any path works. SERVER_MCP_FILE_ROOTS can limit it to some folders. as_root=true uses sudo. An empty path means the stacks folder. A path without a leading / starts there too. depth is how many folder levels to show (1 to 4).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| path | No | ||
| depth | No | ||
| as_root | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |