KosmoKrator

productivity

Hostinger MCP Integration for LangChain

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

Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.

Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with --write=deny so LangChain can inspect read-capable tools without receiving write access by default.

Hostinger MCP Config for LangChain

Keep the gateway scoped to the integration and operation class needed by the chain.

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

LangChain 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