KosmoKrator

ecommerce

Zoho Inventory MCP Integration for LangChain

Connect Zoho Inventory to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write Manual OAuth token auth

Connect Zoho Inventory 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.

Zoho Inventory MCP Config for LangChain

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

Expose only Zoho Inventory 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.

Zoho Inventory Tools Visible to LangChain

LangChain sees stable MCP tool names generated from the Zoho Inventory integration catalog.

MCP toolSource functionTypeDescription
integration__zoho_inventory__zoho_inventory_list_items zoho_inventory.zoho_inventory_list_items Read List inventory items (products) from Zoho Inventory. Supports pagination and optional filtering by status (active, inactive, all).
integration__zoho_inventory__zoho_inventory_get_item zoho_inventory.zoho_inventory_get_item Read Get detailed information about a specific inventory item (product) by its Zoho Inventory ID.
integration__zoho_inventory__zoho_inventory_list_orders zoho_inventory.zoho_inventory_list_orders Read List sales orders from Zoho Inventory. Supports pagination and optional filtering by status (draft, confirmed, void, open, invoiced, partially_invoiced, all).
integration__zoho_inventory__zoho_inventory_get_order zoho_inventory.zoho_inventory_get_order Read Get detailed information about a specific sales order by its Zoho Inventory ID.
integration__zoho_inventory__zoho_inventory_list_shipments zoho_inventory.zoho_inventory_list_shipments Read List shipments from Zoho Inventory. Supports pagination to browse through shipment records.
integration__zoho_inventory__zoho_inventory_list_packages zoho_inventory.zoho_inventory_list_packages Read List packages from Zoho Inventory. Supports pagination to browse through package records.
integration__zoho_inventory__zoho_inventory_get_current_user zoho_inventory.zoho_inventory_get_current_user Read Get details of the currently authenticated Zoho Inventory user. Useful for verifying credentials and checking permissions.

Related Zoho Inventory Pages