hosting_deployWordpressTheme
Deploy a WordPress theme from a directory to a hosting server. This tool uploads all theme files and triggers theme deployment. The uploaded theme can optionally be activated after deployment.
This record as markdown: /tools/io-github-hostinger-hostinger-api-mcp/hosting-deploywordpresstheme.md
What hosting_deployWordpressTheme does on Hostinger Api
AI agents invoke hosting_deployWordpressTheme to trigger actions in Hostinger Api. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.
| Parameter | Type | Required | Description |
|---|---|---|---|
slug | string | Yes | WordPress theme slug (e.g., twentytwentyfive) |
domain | string | Yes | Domain name associated with the hosting account (e.g., example.com) |
activate | boolean | — | Whether to activate the theme after deployment (default: false) |
themePath | string | Yes | Absolute or relative path to the theme directory containing all theme files |
Parameters from the server's own tool schema.
Why hosting_deployWordpressTheme is rated High
Uploading files to a server and triggering deployment execution qualifies as Execute rather than Write, because it involves triggering external operations on infrastructure (a hosting server) whose side effects extend beyond simple data storage. While reversible if the theme can be undeployed, the execution of deployment logic and the potential to activate/deactivate themes makes this Execute-category.
From the tool's definition Tool description states it 'uploads all theme files and triggers theme deployment' with optional activation. The verb 'triggers' indicates execution of external operations (deployment process) whose effects depend on arguments (which theme, activation flag).
Attacks that exploit this kind of access
The rule that runs hosting_deployWordpressTheme 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_deployWordpressTheme, this is the rule to start with:
hosting_deployWordpressTheme stays usable, but rate-capped: a runaway agent can't fire it dozens of times a minute. 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_deployWordpressTheme call is checked against it from then on.
Questions about hosting_deployWordpressTheme
Deploy a WordPress theme from a directory to a hosting server. This tool uploads all theme files and triggers theme deployment. The uploaded theme can optionally be activated after deployment. It is categorised as a Execute tool in the Hostinger Api MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
hosting_deployWordpressTheme accepts 4 parameters: slug, domain, activate, themePath. Required: slug, domain, themePath. 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_deployWordpressTheme: 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_deployWordpressTheme is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the hosting_deployWordpressTheme 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_deployWordpressTheme. 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_deployWordpressTheme 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.
Across the catalogue