Skip to main content

Hostinger Hosting Deploy Wordpress Theme

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

DESTRUCTIVEhostinger.hosting_deployWordpressTheme
  • Contract tier: agent_ready
  • Risk: destructive
  • Catalog version: hostinger-2026.07.12.1
  • Descriptor hash: 0fb6c776238b6583fafce20632051bb30edf55ddb4e3d7b592a71f335f378035

Use this tool to upload a local WordPress theme directory and optionally activate it. It changes or overwrites external website state and requires explicit confirmation after preview. It contacts Hostinger using the protected per-request credential and never accepts credentials as tool arguments. Use dry_run when offered to validate local paths and request shape before provider work. Do not use this tool for a different Hostinger account or for content whose local files are unavailable to this container. The result is the compact Hostinger MCP envelope with the affected domain, stable provider identifiers when available, safe status metadata, and a recoverable error without secret values. Runtime summary: Upload a WordPress theme directory and optionally activate it.

Request Body

{
"jsonrpc": "2.0",
"id": "hostinger-hosting-deploywordpresstheme-example",
"method": "tools/call",
"params": {
"name": "hostinger.hosting_deployWordpressTheme",
"arguments": {
"domain": "domain_example",
"slug": "slug_example",
"themePath": "themePath_example",
"confirm": false,
"dry_run": false,
"activate": false
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"domain",
"slug",
"themePath"
],
"properties": {
"slug": {
"type": "string",
"description": "WordPress theme slug."
},
"domain": {
"type": "string",
"description": "Domain name associated with the hosting account."
},
"confirm": {
"type": "boolean",
"default": false,
"description": "Required true to deploy theme files."
},
"dry_run": {
"type": "boolean",
"default": false,
"description": "Preview without calling Hostinger."
},
"activate": {
"type": "boolean",
"default": false,
"description": "Activate theme after deployment."
},
"themePath": {
"type": "string",
"description": "Local theme directory path."
}
},
"additionalProperties": false
}

Output Schema

{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ok",
"data",
"error",
"meta"
],
"properties": {
"ok": {
"type": "boolean",
"description": "True only when the requested Hostinger or local catalog operation succeeded."
},
"data": {
"description": "Normalized result data, or null when the operation failed."
},
"meta": {
"type": "object",
"description": "Safe endpoint, timing, pagination, rate, catalog, and next-action metadata.",
"additionalProperties": true
},
"error": {
"description": "Secret-safe structured error details, or null on success."
}
},
"description": "Normalized Hostinger MCP response envelope.",
"additionalProperties": false
}

Code Examples

curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "hostinger-hosting-deploywordpresstheme-example",
"method": "tools/call",
"params": {
"name": "hostinger.hosting_deployWordpressTheme",
"arguments": {
"domain": "domain_example",
"slug": "slug_example",
"themePath": "themePath_example",
"confirm": false,
"dry_run": false,
"activate": false
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool hostinger.hosting_deployWordpressTheme executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}