AI Commerce Intelligence for LangChain
io.github.workhard1011/ai-commerce-intelligence
Shopify product discovery and x402-paid offer verification for AI agents.
client:LangChain
transport:streamable-http
Install AI Commerce Intelligence in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"ai-commerce-intelligence": {
"transport": "streamable_http",
"url": "https://mcp.agentcommerceexchange.com/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs