Skip to content
LangChain

Bettan for LangChain

io.github.gruntemannen/bettan

Search, buy and sell second-hand things across Europe. Free for private sellers.

client:LangChain transport:streamable-http

Install Bettan in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

Bettan in other clients