MCP tool · Orientation
list_protected_directories
List the password-protected directories on a domain — each with its path and prompt text.
list_protected_directories
Read-onlyIdempotent
Description
List the password-protected directories on a domain — each with its path and prompt text. This is the authoritative answer for directory protection — do not walk the file tree looking for .htaccess files. Protect a directory with set_directory_password; the DELETE on the same REST route removes protection.
Input
| Name | Type | Description |
|---|---|---|
input
required
|
string |
A domain, email address, website URL, numeric service id, or hosting-account username the customer actually owns. Resolved to the owning account automatically; the resolved target is echoed back in the response.
|