Skip to content
LangChain

Truffle for LangChain

page.truffle/mcp

Ask your AI what's worth buying and save it to Truffle: it finds the shops and watches the price.

client:LangChain transport:streamable-http

Install Truffle in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

Truffle in other clients