hosting_listWebsiteFilesAndDirectoriesV1
List files and directories under a website's document root. Use directory to browse a subdirectory relative to the document root. Symlinked entries are listed but never traversed into or resolved.
This record as markdown: /tools/io-github-hostinger-hostinger-api-mcp/hosting-listwebsitefilesanddirectoriesv1.md
What hosting_listWebsiteFilesAndDirectoriesV1 does on Hostinger Api
AI agents call hosting_listWebsiteFilesAndDirectoriesV1 to retrieve information from Hostinger Api without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
domain | string | Yes | Domain name |
offset | integer | — | Number of entries to skip. Page with offset + item count until reaching total_items. |
username | string | Yes | username parameter |
directory | string | — | Directory path to check |
max_depth | integer | — | How many directory levels deep to recurse. |
max_items | integer | — | Max number of entries to return in this page. |
file_types | array | — | Filter by entry type, e.g. file,directory. Omit for all types. |
Parameters from the server's own tool schema.
Why hosting_listWebsiteFilesAndDirectoriesV1 is rated Low
Tool retrieves file/directory listings with no side effects or modifications.
From the tool's definition List files and directories under a website's document root.
Risk signalsAccepts file system path (directory) · Admin/system-level operation
Attacks that exploit this kind of access
The rule that runs hosting_listWebsiteFilesAndDirectoriesV1 safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Hostinger Api, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For hosting_listWebsiteFilesAndDirectoriesV1, this is the rule to start with:
hosting_listWebsiteFilesAndDirectoriesV1 is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Hostinger Api, apply this rule, and every hosting_listWebsiteFilesAndDirectoriesV1 call is checked against it from then on.
Questions about hosting_listWebsiteFilesAndDirectoriesV1
List files and directories under a website's document root. Use directory to browse a subdirectory relative to the document root. Symlinked entries are listed but never traversed into or resolved. It is categorised as a Read tool in the Hostinger Api MCP Server, which means it retrieves data without modifying state.
hosting_listWebsiteFilesAndDirectoriesV1 accepts 7 parameters: domain, offset, username, directory, max_depth, max_items, file_types. Required: domain, username. The full parameter table on this page comes from the server's own tool schema.
Register the Hostinger Api MCP server in PolicyLayer and add a rule for hosting_listWebsiteFilesAndDirectoriesV1: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Hostinger Api. Nothing to install.
hosting_listWebsiteFilesAndDirectoriesV1 is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the hosting_listWebsiteFilesAndDirectoriesV1 rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for hosting_listWebsiteFilesAndDirectoriesV1. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
hosting_listWebsiteFilesAndDirectoriesV1 is provided by the Hostinger Api MCP server (hostinger-api-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Hostinger Api, and thousands of servers like it.
This server
Across the catalogue