Skip to content
LangChain

DianLeiDa 1688 Sourcing for LangChain

io.github.dianleida/dianleida

1688 sourcing by DianLeiDa: keyword/image search, rankings, product and shop monitoring.

client:LangChain transport:streamable-http

Install DianLeiDa 1688 Sourcing in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "dianleida": {
            "transport": "streamable_http",
            "url": "https://mcp.dianleida.net/mcp",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

DianLeiDa 1688 Sourcing in other clients