payments
Zoho Bills MCP Integration for LangChain
Connect Zoho Bills to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Zoho Bills 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 Bills MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"mcpServers": {
"kosmokrator-zoho_bills": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=zoho_bills",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=zoho_bills --write=deny Why Use KosmoKrator Here
Expose only Zoho Bills instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Zoho Bills Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the Zoho Bills integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__zoho_bills__zoho_bills_list_invoices | zoho_bills.zoho_bills_list_invoices | Read | List invoices from Zoho Bills. Optionally filter by status (draft, sent, overdue, paid, voided, partially_paid) or customer ID. |
integration__zoho_bills__zoho_bills_get_invoice | zoho_bills.zoho_bills_get_invoice | Read | Retrieve a single invoice from Zoho Bills by its ID. Returns full invoice details including line items, totals, and status. |
integration__zoho_bills__zoho_bills_create_invoice | zoho_bills.zoho_bills_create_invoice | Write | Create a new invoice in Zoho Bills. Provide a customer ID, line items, and optional date/due date. Each line item should include item_id or a name, plus rate and quantity. |
integration__zoho_bills__zoho_bills_list_customers | zoho_bills.zoho_bills_list_customers | Read | List customers (contacts) from Zoho Bills. Optionally filter by type (customer or vendor). Returns paginated results. |
integration__zoho_bills__zoho_bills_get_customer | zoho_bills.zoho_bills_get_customer | Read | Retrieve a single customer (contact) from Zoho Bills by ID. Returns full contact details including billing address and contact persons. |
integration__zoho_bills__zoho_bills_list_items | zoho_bills.zoho_bills_list_items | Read | List items (products and services) from Zoho Bills. Returns paginated results with item details like name, rate, and description. |
integration__zoho_bills__zoho_bills_get_current_user | zoho_bills.zoho_bills_get_current_user | Read | Get the currently authenticated Zoho Bills user profile. Useful for verifying connectivity and checking user permissions. |