Twice Commerce MCP by usefulapi for LangChain
io.usefulapi/twice-commerce
Read orders, customers, catalog, stock and availability; add order comments in Twice Commerce.
client:LangChain
transport:streamable-http
tools:20
Install Twice Commerce MCP by usefulapi in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"twice-commerce": {
"transport": "streamable_http",
"url": "https://twice-commerce.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
- twicecommerce_get_merchant
- twicecommerce_list_service_locations
- twicecommerce_list_taxes
- twicecommerce_list_tags
- twicecommerce_list_orders
- twicecommerce_get_order
- twicecommerce_get_order_payments
- twicecommerce_get_order_invoices
- twicecommerce_list_customers
- twicecommerce_get_customer
- twicecommerce_get_customer_orders
- twicecommerce_list_catalog_items
- twicecommerce_get_catalog_item
- twicecommerce_check_availability
- twicecommerce_list_discount_codes
- twicecommerce_list_stock_items
- twicecommerce_get_stock_item
- twicecommerce_list_skus
- twicecommerce_get_sku
- twicecommerce_add_order_comment