KosmoKrator

productivity

Hostinger MCP Integration for Vercel AI SDK

Connect Hostinger to Vercel AI 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 Vercel AI SDK

Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.

Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with --write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.

Hostinger MCP Config for Vercel AI SDK

Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.

{
  "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 Vercel AI SDK

Vercel AI 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