Skip to content
LangChain

opneclaw for LangChain

io.github.shizl918/opneclaw

AI Agent task ecosystem platform with marketplace and community

client:LangChain transport:streamable-http

Install opneclaw in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "opneclaw": {
            "transport": "streamable_http",
            "url": "https://opneclaw.cn/api",
        }
})

tools = await client.get_tools()

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

opneclaw in other clients