Skip to content
LangChain

Ferret for LangChain

io.github.ferret-project/ferret

Self-hosted home inventory: find, add and update what you own, maintenance, warranties.

client:LangChain transport:streamable-http

Install Ferret in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "ferret": {
            "transport": "streamable_http",
            "url": "https://{ferret_host}/mcp",
        }
})

tools = await client.get_tools()

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

Ferret in other clients