KosmoKrator

productivity

Hostinger MCP Integration for Claude Agent SDK

Connect Hostinger to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write Bearer token auth

Connect Hostinger to Claude Agent SDK

Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.

Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with --write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.

Hostinger MCP Config for Claude Agent SDK

Use a narrow integration list so the agent does not load unrelated tools.

{
  "mcpServers": {
    "kosmokrator-hostinger": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=hostinger",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=hostinger --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Hostinger instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Hostinger Tools Visible to Claude Agent SDK

Claude Agent SDK sees stable MCP tool names generated from the Hostinger integration catalog.

MCP toolSource functionTypeDescription
integration__hostinger__hostinger_list_servers hostinger.hostinger_list_servers Read List all VPS servers in the Hostinger account. Returns server IDs, names, status, plan, and IP addresses.
integration__hostinger__hostinger_get_server hostinger.hostinger_get_server Read Get details for a specific Hostinger VPS server by ID. Returns full server information including IP addresses, plan, and status.
integration__hostinger__hostinger_list_domains hostinger.hostinger_list_domains Read List all domains in the Hostinger account. Returns domain IDs, names, and status.
integration__hostinger__hostinger_get_domain hostinger.hostinger_get_domain Read Get details for a specific domain in Hostinger by domain ID. Returns full domain information.
integration__hostinger__hostinger_list_dns_records hostinger.hostinger_list_dns_records Read List DNS records for a specific domain in Hostinger. Returns all record types (A, AAAA, CNAME, MX, TXT, etc.).
integration__hostinger__hostinger_list_ssl hostinger.hostinger_list_ssl Read List all SSL certificates in the Hostinger account. Returns certificate details including domain, status, and expiry.
integration__hostinger__hostinger_get_current_user hostinger.hostinger_get_current_user Read Get information about the current authenticated Hostinger account, including email and user details.

Related Hostinger Pages