Skip to content
LangChain

Croft for LangChain

net.oncroft/croft

Deploy and host the apps your AI assistant builds — a real server, database, and shareable URL.

client:LangChain transport:streamable-http

Install Croft in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "croft": {
            "transport": "streamable_http",
            "url": "https://mcp.oncroft.net",
        }
})

tools = await client.get_tools()

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

Croft in other clients