Skip to content
LangChain

PINGWEI LI · kbs0830.com for LangChain

io.github.kbs0830/kbs0830

PINGWEI LI 個人網站的唯讀 MCP:作品、技術文章、現況、飛行紀錄統計,免金鑰

client:LangChain transport:streamable-http tools:9

Install PINGWEI LI · kbs0830.com in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "kbs0830": {
            "transport": "streamable_http",
            "url": "https://kbs0830.com/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

PINGWEI LI · kbs0830.com in other clients