cin7 core for LangChain
io.usefulapi/cin7-core
Read Cin7 Core products, stock by location, sales, purchases, customers, suppliers and transfers.
client:LangChain
transport:streamable-http
tools:17
Install cin7 core in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"cin7-core": {
"transport": "streamable_http",
"url": "https://cin7-core.usefulapi.io/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs
What LangChain can do once it is connected
- cin7core_get_company
- cin7core_list_locations
- cin7core_list_products
- cin7core_get_product
- cin7core_get_stock_availability
- cin7core_list_customers
- cin7core_get_customer
- cin7core_list_suppliers
- cin7core_get_supplier
- cin7core_list_sales
- cin7core_get_sale
- cin7core_list_purchases
- cin7core_get_purchase
- cin7core_list_stock_adjustments
- cin7core_get_stock_adjustment
- cin7core_list_stock_transfers
- cin7core_get_stock_transfer