list_files
Lists configured Nextcloud shares or direct entries of a shared folder, enabling step-by-step navigation without accessing the whole account.
Instructions
Levuvo Nextcloud MCP v0.5.3 - List files. List the configured Nextcloud shares, or the direct entries of a shared folder. Use it to navigate the shared folders step by step. Parameters: path (optional) - with an empty path (default) the tool lists ONLY the configured shares (NEXTCLOUD_ALLOWED_PATHS), never the whole Nextcloud account; with a folder path it lists the direct entries of that folder (one level, not recursive), folders first, then by name. limit (1-250, default 100) caps the number of entries. Returns: folder (the listed path, '' for the shares), items (list of entries with path, name, is_dir, size_bytes, content_type, modified, etag, permissions (Nextcloud permission letters of the technical account)) and truncated (true if more entries exist than limit). Excluded entries (NEXTCLOUD_DENIED_PATHS) are never shown. Read-only, no content is downloaded. Errors: a file path fails with 'This is a file. Use get_file_info or read_file.'; folders with more than 2000 entries are rejected; a path that is not shared or explicitly excluded fails with 'The path is not released for the MCP agent.'; malformed paths (leading '/', '..', URL-encoded characters) are rejected; a missing entry fails with 'File or folder not found.'; Nextcloud authentication, network or server problems are reported as errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Relative path of a shared folder (or a folder below one), not URL-encoded. Empty (default) = list only the configured shares themselves. | |
| limit | No | Maximum number of entries to return (1-250, default 100). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||