Spree Commerce: open-source B2B and marketplace ecommerce for LangChain
io.github.spree/ecommerce-b2b-marketplace
Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
client:LangChain
transport:streamable-http
Install Spree Commerce: open-source B2B and marketplace ecommerce in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"ecommerce-b2b-marketplace": {
"transport": "streamable_http",
"url": "https://{store_domain}/api/v3/admin/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs