SparkLayer MCP by usefulapi for LangChain
io.usefulapi/sparklayer
Read customers, prices, stock and orders, and update customers and stock in SparkLayer.
client:LangChain
transport:streamable-http
tools:25
Install SparkLayer MCP by usefulapi in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"sparklayer": {
"transport": "streamable_http",
"url": "https://sparklayer.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
- sparklayer_list_customer_roles
- sparklayer_get_customer
- sparklayer_upsert_customer
- sparklayer_list_customer_addresses
- sparklayer_list_shopping_lists
- sparklayer_list_companies
- sparklayer_get_company
- sparklayer_list_company_sections
- sparklayer_list_customer_groups
- sparklayer_list_discounts
- sparklayer_get_discount
- sparklayer_list_global_settings
- sparklayer_get_cart
- sparklayer_list_shipping_methods
- sparklayer_list_price_lists
- sparklayer_get_price_list
- sparklayer_list_price_list_prices
- sparklayer_get_sku_prices
- sparklayer_list_purchases
- sparklayer_get_purchase
- sparklayer_get_store_currency
- sparklayer_get_stock_levels
- sparklayer_list_stock_locations
- sparklayer_update_stock_levels