KosmoKrator

productivity

Hostinger MCP Integration for LangGraph

Connect Hostinger to LangGraph 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 LangGraph

Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions.

Use a graph node that calls the KosmoKrator CLI for deterministic steps or an MCP client for dynamic tool selection. The gateway is local, scoped to this integration, and starts with --write=deny so LangGraph can inspect read-capable tools without receiving write access by default.

Hostinger MCP Config for LangGraph

Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.

{
  "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 LangGraph

LangGraph 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