Skip to content
LangChain

rebalancer for LangChain

com.brainonbnb/rebalancer

PancakeSwap best route, free; a rebalance priced on real pools paid, or free holding 1M $BOBAI.

client:LangChain transport:streamable-http tools:2

Install rebalancer in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

rebalancer in other clients